This commit is contained in:
qazal
2025-03-25 18:13:51 +08:00
parent 95331bf04c
commit 8360a5756e

View File

@@ -5,8 +5,7 @@ class NullRenderer(Renderer):
class NullProgram:
def __init__(self, name:str, lib:bytes): pass
def __call__(self, *bufs, global_size:tuple[int,int,int]=(1,1,1), local_size:tuple[int,int,int]=(1,1,1), vals:tuple[int, ...]=(), wait=False):
pass
def __call__(self, *bufs, global_size:tuple[int,int,int]=(1,1,1), local_size:tuple[int,int,int]=(1,1,1), vals:tuple[int, ...]=(), wait=False): pass
class NullAllocator(Allocator):
def _alloc(self, size, options): return "null"