We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82b3106 commit b21bd9fCopy full SHA for b21bd9f
ext/cuda/fields.jl
@@ -54,7 +54,7 @@ function Base.minimum(fn, field::Field, dev::ClimaComms.CUDADevice)
54
return localmin[]
55
end
56
57
-function Base.minimum(field::Field, ::ClimaComms.CUDADevice)
+function Base.minimum(field::Field, dev::ClimaComms.CUDADevice)
58
context = ClimaComms.context(axes(field))
59
localmin = mapreduce_cuda(identity, min, field)
60
ClimaComms.allreduce!(context, parent(localmin), min)
0 commit comments