A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-B80270A0-4A19-4A5E-8907-4B62CAFCDE72
Visible to Intel only — GUID: GUID-B80270A0-4A19-4A5E-8907-4B62CAFCDE72
oneapi::mkl::rng::device::engine_accessor
Host side helper to provide an abstraction over sycl::accessor to access engines’ which are held by engine_descriptor in kernels.
Description
engine_accessor provides an abstraction over sycl::accessor to access engines which are held by engine_descriptor in kernels by the load() and store() functions.
API
Syntax
template<Engine> class engine_descriptor { public: Engine load(size_t id) const; void store(Engine engine, size_t id) const; }
Include Files
oneapi/mkl/rng/device.hpp
Template Parameters
Type |
Description |
---|---|
Engine |
Specify an engine which state is hold by engine_accessor. |