#include <cstdint>
#include <optional>
#include <utility>
#include <sycl/ext/oneapi/experimental/architectures.def>
Go to the source code of this file.
Namespaces | |
sycl | |
sycl::_V1 | |
sycl::_V1::ext | |
sycl::_V1::ext::oneapi | |
sycl::_V1::ext::oneapi::experimental | |
sycl::_V1::detail | |
sycl::_V1::ext::oneapi::experimental::detail | |
Functions | |
constexpr static std::optional< ext::oneapi::experimental::architecture > | sycl::_V1::detail::get_current_architecture_aot () |
constexpr static bool | sycl::_V1::detail::is_aot_for_architecture (ext::oneapi::experimental::architecture arch) |
template<ext::oneapi::experimental::architecture... Archs> | |
constexpr static bool | sycl::_V1::detail::allowable_aot_mode () |
template<ext::oneapi::experimental::architecture... Archs> | |
constexpr static bool | sycl::_V1::detail::device_architecture_is () |
static constexpr std::optional< ext::oneapi::experimental::architecture > | sycl::_V1::detail::get_category_min_architecture (ext::oneapi::experimental::arch_category Category) |
static constexpr std::optional< ext::oneapi::experimental::architecture > | sycl::_V1::detail::get_category_max_architecture (ext::oneapi::experimental::arch_category Category) |
template<ext::oneapi::experimental::arch_category Category> | |
constexpr static bool | sycl::_V1::detail::device_architecture_is_in_category_aot () |
template<ext::oneapi::experimental::arch_category... Categories> | |
constexpr static bool | sycl::_V1::detail::device_architecture_is_in_categories () |
constexpr static std::optional< ext::oneapi::experimental::arch_category > | sycl::_V1::detail::get_device_architecture_category (ext::oneapi::experimental::architecture arch) |
template<ext::oneapi::experimental::architecture Arch, typename Compare > | |
constexpr static bool | sycl::_V1::detail::device_architecture_comparison_aot (Compare comp) |
template<typename T , typename... Condition> | |
void | sycl::_V1::ext::oneapi::experimental::detail::call_if_on_device_conditionally (T fn, Condition...) |
template<typename T , int... Is> | |
void | sycl::_V1::ext::oneapi::experimental::detail::call_if_on_device_conditionally_helper (T fn, std::integer_sequence< int, Is... >) |
template<architecture... Archs, typename T > | |
constexpr static auto | sycl::_V1::ext::oneapi::experimental::if_architecture_is (T fn) |
The condition is true only if the device which executes the if_architecture_is function has any one of the architectures listed in the. More... | |
template<architecture Arch, typename T > | |
constexpr static auto | sycl::_V1::ext::oneapi::experimental::if_architecture_is_lt (T fn) |
The condition is true only if the device which executes the if_architecture_is_lt function has an architecture that is in the same family as. More... | |
template<architecture Arch, typename T > | |
constexpr static auto | sycl::_V1::ext::oneapi::experimental::if_architecture_is_le (T fn) |
The condition is true only if the device which executes the if_architecture_is_le function has an architecture that is in the same family as. More... | |
template<architecture Arch, typename T > | |
constexpr static auto | sycl::_V1::ext::oneapi::experimental::if_architecture_is_gt (T fn) |
The condition is true only if the device which executes the if_architecture_is_gt function has an architecture that is in the same family as. More... | |
template<architecture Arch, typename T > | |
constexpr static auto | sycl::_V1::ext::oneapi::experimental::if_architecture_is_ge (T fn) |
The condition is true only if the device which executes the if_architecture_is_ge function has an architecture that is in the same family as. More... | |
template<architecture Arch1, architecture Arch2, typename T > | |
constexpr static auto | sycl::_V1::ext::oneapi::experimental::if_architecture_is_between (T fn) |
The condition is true only if the device which executes the if_architecture_is_between function has an architecture that is in the same family as. More... | |
#define __SYCL_ARCHITECTURE | ( | NAME, | |
VAL | |||
) | NAME = VAL, |
Definition at line 20 of file device_architecture.hpp.
#define __SYCL_ARCHITECTURE_ALIAS | ( | NAME, | |
VAL | |||
) | NAME = VAL, |
Definition at line 21 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1010__ 0 |
Definition at line 255 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1011__ 0 |
Definition at line 258 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1012__ 0 |
Definition at line 261 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1013__ 0 |
Definition at line 264 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1030__ 0 |
Definition at line 267 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1031__ 0 |
Definition at line 270 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1032__ 0 |
Definition at line 273 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1033__ 0 |
Definition at line 276 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1034__ 0 |
Definition at line 279 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1035__ 0 |
Definition at line 282 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1036__ 0 |
Definition at line 285 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1100__ 0 |
Definition at line 288 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1101__ 0 |
Definition at line 291 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1102__ 0 |
Definition at line 294 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1103__ 0 |
Definition at line 297 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1150__ 0 |
Definition at line 300 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1151__ 0 |
Definition at line 303 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1200__ 0 |
Definition at line 306 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX1201__ 0 |
Definition at line 309 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX700__ 0 |
Definition at line 198 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX701__ 0 |
Definition at line 201 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX702__ 0 |
Definition at line 204 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX801__ 0 |
Definition at line 207 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX802__ 0 |
Definition at line 210 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX803__ 0 |
Definition at line 213 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX805__ 0 |
Definition at line 216 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX810__ 0 |
Definition at line 219 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX900__ 0 |
Definition at line 222 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX902__ 0 |
Definition at line 225 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX904__ 0 |
Definition at line 228 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX906__ 0 |
Definition at line 231 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX908__ 0 |
Definition at line 234 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX909__ 0 |
Definition at line 237 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX90A__ 0 |
Definition at line 240 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX90C__ 0 |
Definition at line 243 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX940__ 0 |
Definition at line 246 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX941__ 0 |
Definition at line 249 of file device_architecture.hpp.
#define __SYCL_TARGET_AMD_GPU_GFX942__ 0 |
Definition at line 252 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_ACM_G10__ 0 |
Definition at line 126 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_ACM_G11__ 0 |
Definition at line 129 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_ACM_G12__ 0 |
Definition at line 132 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_ADL_N__ 0 |
Definition at line 120 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_ADL_P__ 0 |
Definition at line 117 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_ADL_S__ 0 |
Definition at line 114 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_AML__ 0 |
Definition at line 96 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_APL__ 0 |
Definition at line 87 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_ARL_H__ 0 |
Definition at line 147 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_BDW__ 0 |
Definition at line 75 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_BMG_G21__ 0 |
Definition at line 150 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_CFL__ 0 |
Definition at line 84 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_CML__ 0 |
Definition at line 99 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_DG1__ 0 |
Definition at line 123 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_EHL__ 0 |
Definition at line 105 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_GLK__ 0 |
Definition at line 90 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_ICLLP__ 0 |
Definition at line 102 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_KBL__ 0 |
Definition at line 81 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_LNL_M__ 0 |
Definition at line 153 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_MTL_H__ 0 |
Definition at line 144 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_MTL_U__ 0 |
Definition at line 141 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_PVC__ 0 |
Definition at line 135 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_PVC_VG__ 0 |
Definition at line 138 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_RKL__ 0 |
Definition at line 111 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_SKL__ 0 |
Definition at line 78 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_TGLLP__ 0 |
Definition at line 108 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_GPU_WHL__ 0 |
Definition at line 93 of file device_architecture.hpp.
#define __SYCL_TARGET_INTEL_X86_64__ 0 |
Definition at line 72 of file device_architecture.hpp.
#define __SYCL_TARGET_NVIDIA_GPU_SM50__ 0 |
Definition at line 156 of file device_architecture.hpp.
#define __SYCL_TARGET_NVIDIA_GPU_SM52__ 0 |
Definition at line 159 of file device_architecture.hpp.
#define __SYCL_TARGET_NVIDIA_GPU_SM53__ 0 |
Definition at line 162 of file device_architecture.hpp.
#define __SYCL_TARGET_NVIDIA_GPU_SM60__ 0 |
Definition at line 165 of file device_architecture.hpp.
#define __SYCL_TARGET_NVIDIA_GPU_SM61__ 0 |
Definition at line 168 of file device_architecture.hpp.
#define __SYCL_TARGET_NVIDIA_GPU_SM62__ 0 |
Definition at line 171 of file device_architecture.hpp.
#define __SYCL_TARGET_NVIDIA_GPU_SM70__ 0 |
Definition at line 174 of file device_architecture.hpp.
#define __SYCL_TARGET_NVIDIA_GPU_SM72__ 0 |
Definition at line 177 of file device_architecture.hpp.
#define __SYCL_TARGET_NVIDIA_GPU_SM75__ 0 |
Definition at line 180 of file device_architecture.hpp.
#define __SYCL_TARGET_NVIDIA_GPU_SM80__ 0 |
Definition at line 183 of file device_architecture.hpp.
#define __SYCL_TARGET_NVIDIA_GPU_SM86__ 0 |
Definition at line 186 of file device_architecture.hpp.
#define __SYCL_TARGET_NVIDIA_GPU_SM87__ 0 |
Definition at line 189 of file device_architecture.hpp.
#define __SYCL_TARGET_NVIDIA_GPU_SM89__ 0 |
Definition at line 192 of file device_architecture.hpp.
#define __SYCL_TARGET_NVIDIA_GPU_SM90__ 0 |
Definition at line 195 of file device_architecture.hpp.