Example: Memory Problem

In this example, Intel Inspector detects a host pointer that is used to pass data to device.

Click a problem to highlight problematic code lines.

To solve this problem, one of possible solution is to use shared memory allocation to share data across devices. For details, see sycl::malloc_shared.

See Also

Host Pointer Used on Device