diff --git a/numba_cuda/numba/cuda/typing/templates.py b/numba_cuda/numba/cuda/typing/templates.py index d88075da0..fef4ef603 100644 --- a/numba_cuda/numba/cuda/typing/templates.py +++ b/numba_cuda/numba/cuda/typing/templates.py @@ -1359,18 +1359,10 @@ def __init__(self): self.globals = [] def register(self, item): - assert issubclass( - item, - (FunctionTemplate, numba.core.typing.templates.FunctionTemplate), - ) self.functions.append(item) return item def register_attr(self, item): - assert issubclass( - item, - (AttributeTemplate, numba.core.typing.templates.AttributeTemplate), - ) self.attributes.append(item) return item