From 4c7fd40921a2486f8164efc84e455b59138ae6d1 Mon Sep 17 00:00:00 2001 From: zy69guqi <richard.angersbach@fau.de> Date: Fri, 31 Jan 2025 14:56:08 +0100 Subject: [PATCH] Fix lint [skip ci] --- src/pystencils/backend/platforms/cuda.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pystencils/backend/platforms/cuda.py b/src/pystencils/backend/platforms/cuda.py index 3fe5be229..73c4b3b47 100644 --- a/src/pystencils/backend/platforms/cuda.py +++ b/src/pystencils/backend/platforms/cuda.py @@ -160,7 +160,8 @@ class CudaPlatform(GenericGpu): assert isinstance(ptr_expr, PsSymbolExpr) and isinstance(ptr_expr.dtype, PsPointerType) assert isinstance(symbol_expr, PsSymbolExpr) and isinstance(symbol_expr.dtype, PsScalarType) - call.function = CFunction(f"atomic{op.name}", [ptr_expr.dtype, symbol_expr.dtype], PsCustomType("void")) + call.function = CFunction(f"atomic{op.name}", [ptr_expr.dtype, symbol_expr.dtype], + PsCustomType("void")) call.args = (ptr_expr, symbol_expr) if not isinstance(symbol_expr.dtype, PsIeeeFloatType) or symbol_expr.dtype.width not in (32, 64): -- GitLab