File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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" }
You can’t perform that action at this time.
0 commit comments