[llvm] [libsycl] Implement USM fill & memset queue API (PR #217933)

Kseniya Tikhomirova via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 06:55:58 PDT 2026


================
@@ -0,0 +1,38 @@
+#include <sycl/sycl.hpp>
+
+#include <cassert>
+
+constexpr std::size_t DataSize = 1024;
+
+template <typename DataT> bool verify(DataT *Ptr, int Pattern) {
+  for (std::size_t I = 0; I < DataSize; ++I)
----------------
KseniyaTikhomirova wrote:

DataSize sounds like iteration in bytes. ElementsCount?

https://github.com/llvm/llvm-project/pull/217933


More information about the llvm-commits mailing list