Visible to Intel only — GUID: GUID-7F79567D-9CFE-4029-AB35-6726259443BC
Visible to Intel only — GUID: GUID-7F79567D-9CFE-4029-AB35-6726259443BC
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) {
...
}