Skip to content
Snippets Groups Projects
Commit 4c7fd409 authored by Richard Angersbach's avatar Richard Angersbach
Browse files

Fix lint [skip ci]

parent 616f609f
No related branches found
No related tags found
1 merge request!438Reduction Support
Pipeline #73206 skipped
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment