Visible to Intel only — GUID: GUID-D326A33F-BB5B-4F40-AF0D-31DEE424B36E
Visible to Intel only — GUID: GUID-D326A33F-BB5B-4F40-AF0D-31DEE424B36E
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) {
...
}