context
MISSING
|
(1) |
|
(2) |
|
(3) |
|
(4) |
|
(5) |
|
(6) |
|
(7) |
|
(8) |
|
(9) |
|
(10) |
-
Constructs a context object by moving another device object.
Parameters:-
cl::sycl::context &&
rhs
-
-
Constructs a context object using a cl_context object.
Parameters:-
cl_context
context
: A cl_context object. -
cl::sycl::async_handler
asyncHandler
-
-
Constructs a context object from another device object and retains the cl_context object if the context is not in host mode.
Parameters:-
const cl::sycl::context &
rhs
-
-
Constructs a context object using a device object. The context is constructed with the device object provided.
Parameters:-
const cl::sycl::device &
dev
-
cl::sycl::async_handler
asyncHandler
: An optional parameter to specify the async_handler
-
-
(deprecated (Context constructor is deprecated))
Constructs a context object using a device_selector object. The context is constructed with a single device retrieved from the device_selector object provided.
Parameters:-
const cl::sycl::device_selector &
deviceSelector
: A reference to a device_selector object. -
info::gl_context_interop
interopFlag
: Specify whether to use the context for OpenGL interop. -
cl::sycl::async_handler
asyncHandler
: An optional parameter to specify the async_handler
-
-
Constructs a context object using a platform object. The context is constructed with all the devices available under the platform object provided.
Parameters:-
const cl::sycl::platform &
plt
-
cl::sycl::async_handler
asyncHandler
: An optional parameter to specify the async_handler
-
-
Constructs a context object using a vector_class of device objects. The context is constructed with the devices provided.
Parameters:-
vector_class<cl::sycl::device>
deviceList
: A vector_class of device objects. -
cl::sycl::async_handler
asyncHandler
: An optional parameter to specify the async_handler
-
-
Constructs a context object in host mode.
Parameters:-
cl::sycl::async_handler
asyncHandler
-
-
Parameters:-
cl::sycl::dcontext_shptr
detail
-
-
Parameters:-
cl::sycl::detail::context *
detail
-