Intel® oneAPI Base Toolkit
Support for the core tools and libraries within the base toolkit that are used to build and deploy high-performance data-centric applications.
419 Discussions

how to save random engine state in DPC++(oneAPI)

jimbook
Beginner
431 Views

when I use CUDA to generate random at a number of threads, I can use `curandState` to save random engine state. And I want to note how to save oneDPL random engine state.

0 Kudos
3 Replies
SantoshY_Intel
Moderator
381 Views

Hi,

 

Thanks for posting in the Intel forums.

 

You can make use of Intel oneMKL to use random engine state.

Example:

oneapi::mkl::rng::device::philox4x32x10<4> *rngStates;

 

For more information, please refer to the Intel® oneAPI Math Kernel Library (oneMKL) - Data Parallel C++ Developer Reference.

 

 

Thanks & Regards,

Santosh

 

0 Kudos
SantoshY_Intel
Moderator
334 Views

Hi,


We haven't heard back from you. Could you please provide us with an update on your issue?


Thanks & Regards,

Santosh


0 Kudos
SantoshY_Intel
Moderator
295 Views

Hi,


I assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Thanks & Regards,

Santosh


0 Kudos
Reply