DPC++ Runtime
Runtime libraries for oneAPI DPC++
__spv::complex_half Struct Reference

#include <CL/__spirv/spirv_types.hpp>

Collaboration diagram for __spv::complex_half:

Public Member Functions

 complex_half ()=default
 
 complex_half (std::complex< sycl::half > x)
 
 operator std::complex< sycl::half > ()
 

Public Attributes

sycl::half real
 
sycl::half imag
 

Detailed Description

Definition at line 149 of file spirv_types.hpp.

Constructor & Destructor Documentation

◆ complex_half() [1/2]

__spv::complex_half::complex_half ( )
default

◆ complex_half() [2/2]

__spv::complex_half::complex_half ( std::complex< sycl::half >  x)
inline

Definition at line 151 of file spirv_types.hpp.

Member Function Documentation

◆ operator std::complex< sycl::half >()

__spv::complex_half::operator std::complex< sycl::half > ( )
inline

Definition at line 152 of file spirv_types.hpp.

References imag, and real.

Member Data Documentation

◆ imag

sycl::half __spv::complex_half::imag

Definition at line 153 of file spirv_types.hpp.

Referenced by operator std::complex< sycl::half >().

◆ real

sycl::half __spv::complex_half::real

Definition at line 153 of file spirv_types.hpp.

Referenced by operator std::complex< sycl::half >().


The documentation for this struct was generated from the following file: