#include "device_aspect_macros.hpp"
#include <sycl/aspects.hpp>
#include <type_traits>
#include <sycl/info/aspects.def>
#include <sycl/info/aspects_deprecated.def>
Go to the source code of this file.
◆ __SYCL_ASPECT [1/2]
#define __SYCL_ASPECT |
( |
|
ASPECT, |
|
|
|
ASPECT_VAL |
|
) |
| |
Value: template <> \
struct all_devices_have<aspect::ASPECT> \
: std::bool_constant<__SYCL_ALL_DEVICES_HAVE_##ASPECT##__> {};
Definition at line 53 of file device_aspect_traits.hpp.
◆ __SYCL_ASPECT [2/2]
#define __SYCL_ASPECT |
( |
|
ASPECT, |
|
|
|
ASPECT_VAL |
|
) |
| |
Value: template <> \
struct any_device_has<aspect::ASPECT> \
: std::bool_constant<__SYCL_ANY_DEVICE_HAS_##ASPECT##__> {};
Definition at line 53 of file device_aspect_traits.hpp.
◆ __SYCL_ASPECT_DEPRECATED [1/2]
#define __SYCL_ASPECT_DEPRECATED |
( |
|
ASPECT, |
|
|
|
ASPECT_VAL, |
|
|
|
MSG |
|
) |
| |
Value: template <> \
struct all_devices_have<aspect::ASPECT> \
: std::bool_constant<__SYCL_ALL_DEVICES_HAVE_##ASPECT##__> {};
Definition at line 62 of file device_aspect_traits.hpp.
◆ __SYCL_ASPECT_DEPRECATED [2/2]
#define __SYCL_ASPECT_DEPRECATED |
( |
|
ASPECT, |
|
|
|
ASPECT_VAL, |
|
|
|
MSG |
|
) |
| |
Value: template <> \
struct any_device_has<aspect::ASPECT> \
: std::bool_constant<__SYCL_ANY_DEVICE_HAS_##ASPECT##__> {};
Definition at line 62 of file device_aspect_traits.hpp.
◆ __SYCL_ASPECT_DEPRECATED_ALIAS
#define __SYCL_ASPECT_DEPRECATED_ALIAS |
( |
|
ASPECT, |
|
|
|
ID, |
|
|
|
MESSAGE |
|
) |
| |