Visible to Intel only — GUID: GUID-A67F5A5A-DEC4-4CFE-982F-7D836306B5E9
Visible to Intel only — GUID: GUID-A67F5A5A-DEC4-4CFE-982F-7D836306B5E9
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.