Skip to content

Commit a37e302

Browse files
committed
not using anymore _libhip, calling implementations from pyhip new coverage
1 parent 5db2bee commit a37e302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_tuner/backends/hip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def copy_constant_memory_args(self, cmem_args):
287287
#Format arguments and perform memory copy
288288
dtype_str = str(v.dtype)
289289
v_c = v.ctypes.data_as(ctypes.POINTER(dtype_map[dtype_str]))
290-
hip.hipMemcpy_htod(symbol_ptr.contents, v_c, v.nbytes)
290+
hip.hipMemcpy_htod(symbol_ptr, v_c, v.nbytes)
291291

292292
def copy_shared_memory_args(self, smem_args):
293293
"""add shared memory arguments to the kernel"""

0 commit comments

Comments
 (0)