cl::sycl::info_convert< cl_device_id *, device > Struct Template Reference
This function converts a cl device object to a sycl device object it is used to allow get_info<cl::sycl::device::parent_device> to return a sycl device object. More...
#include <device.h>
Static Public Member Functions | |
static device | cl_to_sycl (cl_device_id *clValue, size_t, cl_uint) |
Convert the pointer to the OpenCL type to the corresponding SYCL type. More... | |
Detailed Description
template<>
struct cl::sycl::info_convert< cl_device_id *, device >
This function converts a cl device object to a sycl device object it is used to allow get_info<cl::sycl::device::parent_device> to return a sycl device object.
Member Function Documentation
◆ cl_to_sycl()
The documentation for this struct was generated from the following file: