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
* `const sycl::device& dev - the SYCL device to allocate on
265
+
* `const sycl::device& dev` - the SYCL device to allocate on
266
266
Return value:: Returns a pointer to the newly allocated `shared` memory on the specified `device` on success. Memory allocated by `sycl_malloc` must be deallocated with `sycl_free` to avoid memory leaks. On failure, returns `nullptr`.
0 commit comments