[llvm] [libsycl] Initial prefetch implementation for queue (PR #212104)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 28 07:24:38 PDT 2026


================
@@ -121,6 +121,9 @@ class MockLiboffload {
               (ol_queue_handle_t Queue, void *DstPtr,
                ol_device_handle_t DstDevice, const void *SrcPtr,
                ol_device_handle_t SrcDevice, size_t Size));
+  MOCK_METHOD(ol_result_t, olMemPrefetch,
----------------
Robertkq wrote:

fixed, covered cases specified in the Memory.td return values from offload API, otherwise returns OL_SUCCESS

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


More information about the llvm-commits mailing list