Fixing vecmem::sycl::copy::memset and vecmem::sycl::async_copy::memset in the absence of ::sycl::queue::memset.
I came across this issue while making a mistake in #301. Apparently with old SYCL compilers the memset(...) functions would've never worked. :thinking:
In the end, checking for whether ::sycl::queue::memset exists is quite futile by now. With #301 we'll only be able to use compilers that implement the SYCL2020 standard. Which includes ::sycl::queue::memset. Nevertheless, this seemed like a simple fix to make.
Fixing
vecmem::sycl::copy::memset
andvecmem::sycl::async_copy::memset
in the absence of::sycl::queue::memset
.I came across this issue while making a mistake in #301. Apparently with old SYCL compilers the
memset(...)
functions would've never worked. :thinking:In the end, checking for whether
::sycl::queue::memset
exists is quite futile by now. With #301 we'll only be able to use compilers that implement the SYCL2020 standard. Which includes::sycl::queue::memset
. Nevertheless, this seemed like a simple fix to make.