context.h File Reference
This file contains the API for the cl::sycl::context class. More...
#include "SYCL/backend.h"
#include "SYCL/base.h"
#include "SYCL/cl_types.h"
#include "SYCL/device.h"
#include "SYCL/exception_list.h"
#include "SYCL/include_opencl.h"
#include "SYCL/info.h"
#include "SYCL/platform.h"
#include "SYCL/predefines.h"
#include "SYCL/property.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::context |
Interface for abstracting and interacting with an underlying cl_context object. More... | |
struct | cl::sycl::info_convert< cl_context *, context > |
This function converts a cl context object to a sycl context object it is used to allow get_info<cl::sycl::typename::context> to return a sycl context object. More... | |
struct | std::hash< cl::sycl::context > |
provides a specialization for std::hash for the context 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 | |
Typedefs | |
using | cl::sycl::info::gl_context_interop = bool |
Type of the value returned by calling context::get_info<info::context::gl_interop> More... | |
Enumerations | |
enum | cl::sycl::info::context : int { cl::sycl::info::context::reference_count, cl::sycl::info::context::platform, cl::sycl::info::context::devices, cl::sycl::info::context::atomic_memory_order_capabilities, cl::sycl::info::context::atomic_fence_order_capabilities, cl::sycl::info::context::atomic_memory_scope_capabilities, cl::sycl::info::context::atomic_fence_scope_capabilities } |
Enum representing values that can be queried using context::get_info. More... | |
Detailed Description
This file contains the API for the cl::sycl::context class.
Definition in file context.h.