Skip to content

Commit 358fc5d

Browse files
Corrected declaration of DPCLTContext_Hash
1 parent 0787d13 commit 358fc5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsyclinterface/include/dpctl_sycl_context_interface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,6 @@ void DPCTLContext_Delete(__dpctl_take DPCTLSyclContextRef CtxRef);
159159
* @ingroup ContextInterface
160160
*/
161161
DPCTL_API
162-
size_t DPCTLContext_Hash(__dpctl_take DPCTLSyclContextRef CtxRef);
162+
size_t DPCTLContext_Hash(__dpctl_keep DPCTLSyclContextRef CtxRef);
163163

164164
DPCTL_C_EXTERN_C_END

0 commit comments

Comments
 (0)