diff --git a/hysop/backend/device/opencl/operator/custom.py b/hysop/backend/device/opencl/operator/custom.py
index 094bcaa9278a698205e7c990134ae044cc4730ac..eb4c7b1bd32dfb77e7670400149279017df8dfb0 100644
--- a/hysop/backend/device/opencl/operator/custom.py
+++ b/hysop/backend/device/opencl/operator/custom.py
@@ -67,6 +67,15 @@ class OpenClCustomOperator(CustomOperatorBase, OpenClOperator):
             self.func,
             f"__{self.name}_elementwise", preamble=str(cg))
 
+        # Build testing:
+        try:
+            self.__elementwise.get_kernel(False)
+        except cl.RuntimeError as e:
+            print("USED KERNEL")
+            print(",".join(kernel_args))
+            print(str(cg)+self.func)
+            raise e
+
     @op_apply
     def apply(self, **kwds):
         super().apply(**kwds)