DPC++ Runtime
Runtime libraries for oneAPI DPC++

Alignment type tags and related APIs for use with ESIMD memory access operations. The basic restrictions for memory location specified as parameters for memory access APIs supporting alignment control are as follows: More...

Collaboration diagram for Alignment control.:

Classes

struct  cl::sycl::ext::intel::esimd::element_aligned_tag
 element_aligned_tag type. More...
 
struct  cl::sycl::ext::intel::esimd::vector_aligned_tag
 vector_aligned_tag type. More...
 
struct  cl::sycl::ext::intel::esimd::overaligned_tag< N >
 overaligned_tag type. More...
 
struct  cl::sycl::ext::intel::esimd::is_simd_flag_type< T >
 Checks if type is a simd load/store flag. More...
 
struct  cl::sycl::ext::intel::esimd::is_simd_flag_type< element_aligned_tag >
 
struct  cl::sycl::ext::intel::esimd::is_simd_flag_type< vector_aligned_tag >
 
struct  cl::sycl::ext::intel::esimd::is_simd_flag_type< overaligned_tag< N > >
 

Variables

constexpr element_aligned_tag cl::sycl::ext::intel::esimd::element_aligned = {}
 
constexpr vector_aligned_tag cl::sycl::ext::intel::esimd::vector_aligned = {}
 
template<unsigned N>
constexpr overaligned_tag< N > cl::sycl::ext::intel::esimd::overaligned = {}
 
template<typename T >
static constexpr bool cl::sycl::ext::intel::esimd::is_simd_flag_type_v = is_simd_flag_type<T>::value
 Checks if given type is a simd load/store flag. More...
 

Detailed Description

Alignment type tags and related APIs for use with ESIMD memory access operations. The basic restrictions for memory location specified as parameters for memory access APIs supporting alignment control are as follows:

Program not meeting alignment requirements results in undefined behavior.

Variable Documentation

◆ element_aligned

constexpr element_aligned_tag cl::sycl::ext::intel::esimd::element_aligned = {}
inlineconstexpr

Definition at line 75 of file simd_obj_impl.hpp.

◆ is_simd_flag_type_v

template<typename T >
constexpr bool cl::sycl::ext::intel::esimd::is_simd_flag_type_v = is_simd_flag_type<T>::value
inlinestaticconstexpr

Checks if given type is a simd load/store flag.

Template Parameters
Tthe type to check

Definition at line 94 of file simd_obj_impl.hpp.

◆ overaligned

template<unsigned N>
constexpr overaligned_tag<N> cl::sycl::ext::intel::esimd::overaligned = {}
inlineconstexpr

Definition at line 79 of file simd_obj_impl.hpp.

◆ vector_aligned

constexpr vector_aligned_tag cl::sycl::ext::intel::esimd::vector_aligned = {}
inlineconstexpr

Definition at line 77 of file simd_obj_impl.hpp.