File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function Base.maximum(field::Field, dev::ClimaComms.CUDADevice)
42
42
context = ClimaComms. context (axes (field))
43
43
localmax = mapreduce_cuda (identity, max, field)
44
44
ClimaComms. allreduce! (context, parent (localmax), max)
45
- call_post_op_callback () && post_op_callback (localmax[], fn, field, dev)
45
+ call_post_op_callback () && post_op_callback (localmax[], field, dev)
46
46
return localmax[]
47
47
end
48
48
@@ -58,7 +58,7 @@ function Base.minimum(field::Field, ::ClimaComms.CUDADevice)
58
58
context = ClimaComms. context (axes (field))
59
59
localmin = mapreduce_cuda (identity, min, field)
60
60
ClimaComms. allreduce! (context, parent (localmin), min)
61
- call_post_op_callback () && post_op_callback (localmin[], fn, field, dev)
61
+ call_post_op_callback () && post_op_callback (localmin[], field, dev)
62
62
return localmin[]
63
63
end
64
64
You can’t perform that action at this time.
0 commit comments