- Construction of oneDNN objects based on existing OpenCL objects
- Accessing OpenCL objects for existing oneDNN objects
Unified Shared Memory (USM) pointer
API to construct oneDNN object
API to access OpenCL object(s)
OpenCL Buffers and USM Interfaces for Memory Objects
- Constructs a buffer-based memory object. The call is equivalent to calling the function above with withkindequal to dnnl::ocl_interop::memory_kind::buffer.
- Constructs a buffer-based memory object based on a user-provided OpenCL buffer.