Skip to content

Commit 8b5fae4

Browse files
committed
Only use CUDACABIArgPacker in CUDACABICallConv
1 parent b9cf7b3 commit 8b5fae4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

numba_cuda/numba/cuda/target.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,6 @@ def optimize_function(self, func):
292292
def get_ufunc_info(self, ufunc_key):
293293
return ufuncs.get_ufunc_info(ufunc_key)
294294

295-
def get_arg_packer(self, fe_args):
296-
return CUDACABIArgPacker(self.data_model_manager, fe_args)
297-
298295

299296
class CUDACallConv(MinimalCallConv):
300297
pass
@@ -366,3 +363,6 @@ def call_function(self, builder, callee, resty, argtys, args):
366363

367364
def get_return_type(self, ty):
368365
return self.context.data_model_manager[ty].get_return_type()
366+
367+
def _get_arg_packer(self, fe_args):
368+
return CUDACABIArgPacker(self.data_model_manager, fe_args)

0 commit comments

Comments
 (0)