DPCT1032#
Message#
A different random number generator is used. You may need to adjust the code.
Detailed Help#
IntelĀ® oneAPI Math Kernel Library (oneMKL) RNG currently does not support the following engine types:
XORWOW generator
Sobol generator of 64-bit sequences
Scrambled Sobol generator
The engine types are migrated to the following supported generators, respectively:
MCG59 generator
Basic Sobol generator
Basic Sobol generator
Suggestions to Fix#
You may need to adjust the code.
For example, this original CUDA* code:
1 __global__ void kernel(curandStateXORWOW_t rng) {
2 ...
3 }
results in the following migrated SYCL* code:
1 /*
2 DPCT1032:0: A different random number generator is used. You may need to adjust
3 the code.
4 */
5 void kernel(
6 dpct::rng::device::rng_generator<oneapi::mkl::rng::device::mcg59<1>> rng) {
7 ...
8 }
which is rewritten to:
1 void kernel(
2 dpct::rng::device::rng_generator<oneapi::mkl::rng::device::mcg59<1>> rng) {
3 ...
4 }