Visible to Intel only — GUID: GUID-B8AE4AF4-5664-4CE6-B564-8F4078ADDB72
Visible to Intel only — GUID: GUID-B8AE4AF4-5664-4CE6-B564-8F4078ADDB72
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:
__global__ void kernel(curandStateXORWOW_t rng) {
...
}
results in the following migrated SYCL* code:
/*
DPCT1032:0: A different random number generator is used. You may need to adjust
the code.
*/
void kernel(
dpct::rng::device::rng_generator<oneapi::mkl::rng::device::mcg59<1>> rng) {
...
}
which is rewritten to:
void kernel(
dpct::rng::device::rng_generator<oneapi::mkl::rng::device::mcg59<1>> rng) {
...
}