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
Add dpctl::memory::usm_memory constructor from external allocation
usm_memory(
void *usm_ptr,
size_t nbytes,
sycl::queue &q,
std::shared_ptr<void> shptr)
usm_ptr: Pointer to USM allocation
nbytes: is the size of allocation in bytes
q : sycl::queue associated with this allocation in Python.
shptr: Smart pointer with custom deleter that deallocates
the USM allocation.
0 commit comments