@@ -631,34 +631,28 @@ cdef class SyclQueue(_SyclQueue):
631
631
for idx, arg in enumerate (args):
632
632
if isinstance (arg, ctypes.c_char):
633
633
kargs[idx] = < void * >< size_t> (ctypes.addressof(arg))
634
- kargty[idx] = _arg_data_type._CHAR
635
- elif isinstance (arg, ctypes.c_int ):
634
+ kargty[idx] = _arg_data_type._INT8_T
635
+ elif isinstance (arg, ctypes.c_uint8 ):
636
636
kargs[idx] = < void * >< size_t> (ctypes.addressof(arg))
637
- kargty[idx] = _arg_data_type._INT
638
- elif isinstance (arg, ctypes.c_uint ):
637
+ kargty[idx] = _arg_data_type._UINT8_T
638
+ elif isinstance (arg, ctypes.c_short ):
639
639
kargs[idx] = < void * >< size_t> (ctypes.addressof(arg))
640
- kargty[idx] = _arg_data_type._UNSIGNED_INT
641
- elif isinstance (arg, ctypes.c_uint8 ):
640
+ kargty[idx] = _arg_data_type._INT16_T
641
+ elif isinstance (arg, ctypes.c_ushort ):
642
642
kargs[idx] = < void * >< size_t> (ctypes.addressof(arg))
643
- kargty[idx] = _arg_data_type._UNSIGNED_INT8
644
- elif isinstance (arg, ctypes.c_long ):
643
+ kargty[idx] = _arg_data_type._UINT16_T
644
+ elif isinstance (arg, ctypes.c_int ):
645
645
kargs[idx] = < void * >< size_t> (ctypes.addressof(arg))
646
- kargty[idx] = _arg_data_type._LONG
647
- elif isinstance (arg, ctypes.c_ulong ):
646
+ kargty[idx] = _arg_data_type._INT32_T
647
+ elif isinstance (arg, ctypes.c_uint ):
648
648
kargs[idx] = < void * >< size_t> (ctypes.addressof(arg))
649
- kargty[idx] = _arg_data_type._UNSIGNED_LONG
649
+ kargty[idx] = _arg_data_type._UINT32_T
650
650
elif isinstance (arg, ctypes.c_longlong):
651
651
kargs[idx] = < void * >< size_t> (ctypes.addressof(arg))
652
- kargty[idx] = _arg_data_type._LONG_LONG
652
+ kargty[idx] = _arg_data_type._INT64_T
653
653
elif isinstance (arg, ctypes.c_ulonglong):
654
654
kargs[idx] = < void * >< size_t> (ctypes.addressof(arg))
655
- kargty[idx] = _arg_data_type._UNSIGNED_LONG_LONG
656
- elif isinstance (arg, ctypes.c_short):
657
- kargs[idx] = < void * >< size_t> (ctypes.addressof(arg))
658
- kargty[idx] = _arg_data_type._SHORT
659
- elif isinstance (arg, ctypes.c_size_t):
660
- kargs[idx] = < void * >< size_t> (ctypes.addressof(arg))
661
- kargty[idx] = _arg_data_type._SIZE_T
655
+ kargty[idx] = _arg_data_type._UINT64_T
662
656
elif isinstance (arg, ctypes.c_float):
663
657
kargs[idx] = < void * >< size_t> (ctypes.addressof(arg))
664
658
kargty[idx] = _arg_data_type._FLOAT
0 commit comments