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.
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
Description
engine_accessor
provides an abstraction oversycl::accessor
to access engines which are held byengine_descriptor
in kernels by theload()
andstore()
functions.Template Parameters
Type
Description
Engine
Specify an engine which state is hold by
engine_accessor
.