Skip to content

Commit b2ebb8a

Browse files
Marking *elem with __dpctl_keep per review
1 parent 0d3f4b0 commit b2ebb8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl-capi/include/dpctl_vector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ DPCTL_C_EXTERN_C_BEGIN
4242
\
4343
DPCTL_API \
4444
__dpctl_give DPCTL##EL##VectorRef DPCTL##EL##Vector_CreateFromArray( \
45-
size_t len, DPCTLSycl##EL##Ref *elems); \
45+
size_t len, __dpctl_keep DPCTLSycl##EL##Ref *elems); \
4646
\
4747
DPCTL_API \
4848
void DPCTL##EL##Vector_Delete(__dpctl_take DPCTL##EL##VectorRef Ref); \

0 commit comments

Comments
 (0)