llvm
llvm copied to clipboard
[SYCL][COMPAT] Re-add buffer (USM_LEVEL_NONE) support
This PR enables (a subset of) the SYCLcompat memory APIs on devices which lack USM support.
Defining COMPAT_USM_LEVEL_NONE enables this mode, in which syclcompat memory APIs (malloc, memcpy, memset, free, etc) operate with virtual device pointers, backed by buffers.