backend.h File Reference
This file contains the interface for enumerating backends and backend-specific functionality. More...
Go to the source code of this file.
Classes | |
class | cl::sycl::backend_traits< Backend > |
Defines backend-specific type traits. More... | |
class | cl::sycl::backend_traits< backend::opencl > |
Specializes backend traits for the OpenCL backend. More... | |
Namespaces | |
cl | |
deduce_type_t takes an arbitrary type and attempts to map it to a cl::sycl::cl_type . | |
cl::sycl | |
Macros | |
#define | SYCL_BACKEND_OPENCL |
#define | SYCL_BACKEND_HOST |
Typedefs | |
template<backend Backend, typename SyclType > | |
using | cl::sycl::backend_input_t = typename backend_traits< Backend >::template input_type< SyclType > |
Shorthand for retrieving the input_type for a specific backend. More... | |
template<backend Backend, typename SyclType > | |
using | cl::sycl::backend_return_t = typename backend_traits< Backend >::template return_type< SyclType > |
Shorthand for retrieving the return_type for a specific backend. More... | |
Enumerations | |
enum | cl::sycl::backend { cl::sycl::backend::host, cl::sycl::backend::opencl } |
Defines backends available in ComputeCpp. More... | |
Detailed Description
This file contains the interface for enumerating backends and backend-specific functionality.
Definition in file backend.h.