platform.h File Reference
This file implements the cl::sycl::platform class as defined by the SYCL 1.2 specification. 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 <cstddef>
#include <memory>
#include <system_error>
#include <vector>
#include "computecpp_export.h"
Go to the source code of this file.
Classes | |
class | cl::sycl::platform |
Interface for abstracting and interacting with an underlying cl_platform_id object. More... | |
struct | cl::sycl::info_convert< cl_platform_id *, platform > |
This function converts a cl platform object to a sycl platform object it is used to allow get_info<cl::sycl::device::platform> to return a sycl platform object. More... | |
struct | std::hash< cl::sycl::platform > |
provides a specialization for std::hash for the platform class. 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::info | |
Enumerations | |
enum | cl::sycl::info::platform : unsigned int { cl::sycl::info::platform::profile, cl::sycl::info::platform::version, cl::sycl::info::platform::name, cl::sycl::info::platform::vendor, cl::sycl::info::platform::extensions } |
Platform descriptor to query information about a platform object. More... | |
Functions | |
template<> | |
info::param_traits< info::platform, info::platform::name >::return_type | cl::sycl::platform::get_info< info::platform::name > () const |
Get OpenCL information for the underlying cl_platform_id. More... | |
template<> | |
info::param_traits< info::platform, info::platform::vendor >::return_type | cl::sycl::platform::get_info< info::platform::vendor > () const |
Get OpenCL information for the underlying cl_platform_id. More... | |
Detailed Description
This file implements the cl::sycl::platform class as defined by the SYCL 1.2 specification.
Definition in file platform.h.