type_traits.h File Reference
Provides type traits from future C++ versions in C++11, as well as some in-house type traits. More...
#include "SYCL/half_type.h"
#include <type_traits>
Go to the source code of this file.
Classes | |
class | cl::sycl::group< Dimensions > |
The cl::sycl::group object is a container for all information about a work group. More... | |
Namespaces | |
cl | |
deduce_type_t takes an arbitrary type and attempts to map it to a cl::sycl::cl_type . | |
cl::sycl | |
cl::sycl::experimental | |
Macros | |
#define | COMPUTECPP_IF_CONSTEXPR_HELPER(cond) if (cl::sycl::detail::bool_constant<(cond)>::value) |
#define | COMPUTECPP_IF_CONSTEXPR(cond) COMPUTECPP_IF_CONSTEXPR_HELPER(cond) |
if statement where the condition is evaluated at compile time More... | |
Detailed Description
Provides type traits from future C++ versions in C++11, as well as some in-house type traits.
- Note
- This header is part of the implementation of the SYCL library and cannot be used independently.
Definition in file type_traits.h.
Macro Definition Documentation
◆ COMPUTECPP_IF_CONSTEXPR
#define COMPUTECPP_IF_CONSTEXPR | ( | cond | ) | COMPUTECPP_IF_CONSTEXPR_HELPER(cond) |
if statement where the condition is evaluated at compile time
Definition at line 609 of file type_traits.h.
◆ COMPUTECPP_IF_CONSTEXPR_HELPER
#define COMPUTECPP_IF_CONSTEXPR_HELPER | ( | cond | ) | if (cl::sycl::detail::bool_constant<(cond)>::value) |
Definition at line 603 of file type_traits.h.