SYCL USM will work on discrete GPU if-and-only-if the GPU's hardware supports unified virtual address space.
What is case regarding integrated GPUs? Can we assume that any integrated GPU supports USM?
Thanks in advance. Ami
SYCL USM will work on discrete GPU if-and-only-if the GPU's hardware supports unified virtual address space.
What is case regarding integrated GPUs? Can we assume that any integrated GPU supports USM?
Thanks in advance. Ami
Yes, integrated GPUs support Unified shared memory. Unified Shared Memory (USM) is a feature that allows both the CPU and GPU to access the same memory space directly, simplifying data sharing between the two processing units.
For more information on Unified shared memory please refer to the following sources:
oneAPI GPU Optimization Guide - Unified Shared Memory Allocations
Intel oneAPI DPC++/C++ Compiler System Requirements
oneAPI GPU Optimization Guide - Host/Device Memory, Buffer and USM
A book on Data Parallel C++: Mastering DPC++ for Programming of Heterogeneous Systems using C++ and SYCL - James Reinders