Visible to Intel only — GUID: GUID-0D52B502-1BF6-4FBD-B50E-0EAB6AA84537
Visible to Intel only — GUID: GUID-0D52B502-1BF6-4FBD-B50E-0EAB6AA84537
DPCT1106
Message
<function name> was migrated with the Intel extensions for device information which may not be supported by all compilers or runtimes. You may need to adjust the code.
Detailed Help
The CUDA* function <function name> (for example cudaMemGetInfo or cuMemGetInfo) was migrated with the Intel extensions for device information, which may not be supported by all compilers or runtimes. You may need to adjust the code.
For example, this original CUDA code:
void foo() { size_t free_mem, total_mem; cudaMemGetInfo(&free_mem, &total_mem); }
results in the following migrated SYCL* code:
void foo() { size_t free_mem, total_mem; /* DPCT1106:0: 'cudaMemGetInfo' was migrated with the Intel extensions for device information which may not be supported by all compilers or runtimes. You may need to adjust the code. */ dpct::get_current_device().get_memory_info(free_mem, total_mem); }
which is rewritten to:
void foo() { size_t free_mem, total_mem; dpct::get_current_device().get_memory_info(free_mem, total_mem); // free_mem should be adjusted free_mem = /*implementation defined*/; }
Suggestions to Fix
You may need to adjust the code.