device.h File Reference
This file contains the API for the cl::sycl::device class. More...
#include "SYCL/aspect.h"
#include "SYCL/backend.h"
#include "SYCL/base.h"
#include "SYCL/common.h"
#include "SYCL/device_info.h"
#include "SYCL/include_opencl.h"
#include "SYCL/info.h"
#include "SYCL/predefines.h"
#include <cstddef>
#include <system_error>
#include <vector>
#include "computecpp_export.h"
Go to the source code of this file.
Classes | |
class | cl::sycl::device |
Interface for abstracting and interacting with an underlying cl_device_id object. More... | |
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. More... | |
struct | std::hash< cl::sycl::device > |
provides a specialization for std::hash for the buffer class. More... | |
Namespaces | |
cl | |
deduce_type_t takes an arbitrary type and attempts to map it to a cl::sycl::cl_type . | |
cl::sycl | |
Functions | |
cl::sycl::COMPUTECPP_GET_INFO_SPECIALIZATION_DECL (device, usm_restricted_shared_allocations) COMPUTECPP_GET_INFO_SPECIALIZATION_DECL(device | |
template<> | |
sub_group_independent_forward_progress info::param_traits< info::device, info::device::name >::return_type | cl::sycl::device::get_info< info::device::name > () const |
Gets OpenCL information for the underlying cl_device_id. More... | |
template<> | |
info::param_traits< info::device, info::device::vendor >::return_type | cl::sycl::device::get_info< info::device::vendor > () const |
Gets OpenCL information for the underlying cl_device_id. More... | |
template<> | |
info::param_traits< info::device, info::device::version >::return_type | cl::sycl::device::get_info< info::device::version > () const |
Gets OpenCL information for the underlying cl_device_id. More... | |
template<> | |
COMPUTECPP_EXPORT vector_class< device > | cl::sycl::device::create_sub_devices< info::partition_property::partition_equally > (size_t nbSubDev) const |
Template specialisation of create_sub_devices() for info::partition_property::partition_equally. More... | |
template<> | |
COMPUTECPP_EXPORT vector_class< device > | cl::sycl::device::create_sub_devices< info::partition_property::partition_by_counts > (const vector_class< size_t > &counts) const |
Template specialisation of create_sub_devices() for info::partition_property::partition_by_counts. More... | |
template<> | |
COMPUTECPP_EXPORT vector_class< device > | cl::sycl::device::create_sub_devices< info::partition_property::partition_by_affinity_domain > (info::partition_affinity_domain affinityDomain) const |
Template specialisation of create_sub_devices() for info::partition_property::partition_by_affinity_domain. More... | |
Detailed Description
This file contains the API for the cl::sycl::device class.
Definition in file device.h.