Developer Guide and Reference

  • 2021.4
  • 09/27/2021
  • Public Content

DPCT1070

Message

<pointer variable name>
is allocated by
dpct::dpct_malloc
. Use
dpct::get_host_ptr<type>(pointer variable name)
to access the pointer from the host code.

Detailed Help

The memory referenced by this pointer is allocated by
dpct::dpct_malloc
and cannot be directly accessed from the host code. You can access the memory from the host code by transforming the pointer using the
dpct::get_host_ptr
function.

Suggestions to Fix

Review the code and adjust it manually.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.