Developer Reference

Contents

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
.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.