Skip to content

Commit 2505db9

Browse files
committed
modified (not tested) memset, copy_constant_memory_args
1 parent f6cc000 commit 2505db9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel_tuner/backends/hip.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,13 +314,13 @@ def copy_constant_memory_args(self, cmem_args):
314314
hip.hipMemcpy_htod(symbol, ctypes.byref(v.ctypes), ctypes.sizeof(dtype_map[dtype_str]) * v.size)
315315

316316
def copy_shared_memory_args(self, smem_args):
317-
"""This method must implement the dynamic allocation of shared memory on the GPU."""
317+
"""add shared memory arguments to the kernel"""
318318
logging.debug("HipFunction copy_shared_memory_args called")
319319
self.smem_size = smem_args["size"]
320320

321321
def copy_texture_memory_args(self, texmem_args):
322322
"""This method must implement the allocation and copy of texture memory to the GPU."""
323323
logging.debug("HipFunction copy_texture_memory_args called")
324-
# NOT SUPPORTED?
324+
raise NotImplementedError("HIP backend does not support texture memory") # NOT SUPPORTED?
325325

326326
units = {"time": "ms"}

0 commit comments

Comments
 (0)