Skip to content

Commit f977746

Browse files
corrected __dppl_take -> __dppl_keep in Memcpy
1 parent f3d1899 commit f977746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/source/dppl_sycl_queue_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ DPPLQueue_Wait (__dppl_keep DPPLSyclQueueRef QRef)
290290
SyclQueue->wait();
291291
}
292292

293-
void DPPLQueue_Memcpy (__dppl_take const DPPLSyclQueueRef QRef,
293+
void DPPLQueue_Memcpy (__dppl_keep const DPPLSyclQueueRef QRef,
294294
void *Dest, const void *Src, size_t Count)
295295
{
296296
auto Q = unwrap(QRef);

0 commit comments

Comments
 (0)