mkl::rng::device::engine_accessor

Host side helper to provide an abstraction over sycl::accessor to access engines’ which are hold by engine_descriptor in kernels.

Syntax

template<Engine>

class engine_accessor {

public:

Engine load(size_t id) const

void store(Engine engine, size_t id) const;

};

Include Files

Description

engine_accessor provides an abstraction over sycl::accessor to access engines which are hold by engine_descriptor in kernels by load() and store() functions.

Template Parameters

Type Description
Engine

Specify an engine which state is hold by engine_accessor.