From d4d1ff0f4b66fe31d1c8d7f51ed562e8d840fee6 Mon Sep 17 00:00:00 2001 From: Yevhenii Havrylko Date: Tue, 24 Oct 2023 14:15:31 -0400 Subject: [PATCH] Fix dpctl sycl bindings signature --- numba_dpex/dpctl_iface/libsyclinterface_bindings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/numba_dpex/dpctl_iface/libsyclinterface_bindings.py b/numba_dpex/dpctl_iface/libsyclinterface_bindings.py index b8a00f31d6..c515d4a96f 100644 --- a/numba_dpex/dpctl_iface/libsyclinterface_bindings.py +++ b/numba_dpex/dpctl_iface/libsyclinterface_bindings.py @@ -71,7 +71,7 @@ def dpctl_event_wait(builder: llvmir.IRBuilder, *args): mod = builder.module fn = _build_dpctl_function( llvm_module=mod, - return_ty=cgutils.voidptr_t, + return_ty=llvmir.VoidType(), arg_list=[cgutils.voidptr_t], func_name="DPCTLEvent_Wait", ) @@ -85,7 +85,7 @@ def dpctl_event_delete(builder: llvmir.IRBuilder, *args): mod = builder.module fn = _build_dpctl_function( llvm_module=mod, - return_ty=cgutils.voidptr_t, + return_ty=llvmir.VoidType(), arg_list=[cgutils.voidptr_t], func_name="DPCTLEvent_Delete", ) @@ -99,7 +99,7 @@ def dpctl_queue_delete(builder: llvmir.IRBuilder, *args): mod = builder.module fn = _build_dpctl_function( llvm_module=mod, - return_ty=cgutils.voidptr_t, + return_ty=llvmir.VoidType(), arg_list=[cgutils.voidptr_t], func_name="DPCTLQueue_Delete", )