You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL][COMPAT] Re-add buffer (USM_LEVEL_NONE) support (#15683)
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.
---------
Co-authored-by: Alberto Cabrera Pérez <alberto.cabrera@intel.com>
Some of the functionalities provided by SYCLcompat rely on Unified Shared Memory (`aspect::usm_device_allocations`), though most of the USM-like memory APIs (malloc*, memcpy*, memset*) support hardware with only buffer/accessor support. See section [Buffer Support](#buffer-support) below.
65
+
62
66
## Usage
63
67
64
68
All functionality is available under the `syclcompat::` namespace, imported
@@ -606,14 +610,6 @@ namespace syclcompat {
606
610
namespace experimental {
607
611
// Forward declarations for types relating to unsupported memcpy_parameter API:
0 commit comments