Closed ali-ramadhan closed 3 years ago
@glwagner For context I think compute!(buoyancy)
was complaining that some non-isbits argument made its way into a CUDA kernel, but wasn't sure what could have caused that in v0.44.{1,2}.
I think it was specifically when we were working with 0.44.1 that the error was thrown.
Didn't one of those versions get rid of adapt_structure
for OffsetArray
?
I think the problem is here:
I think we just need to call adapt
on data
. I'm not sure why the tests don't fail.
Wait, I'm confused. We are calling adapt
on that line.
Not sure if this is it, but I raised anyways: https://github.com/CliMA/Oceananigans.jl/issues/1233
It's not a compat-related issue in Oceananigans.jl. But I have noticed that here https://github.com/CliMA/LESbrary.jl/blob/6cfe60cf44031f9357936058f08eed0f1bb5f9fc/Manifest.toml#L720-L723 OffsetArrays v1.3.1 is installed..
OffsetArrays v1.3.1 is installed..
Isn't this because Oceananigans does not enforce OffsetArrays >1.4?
@adelinehillier and I were having issues running the three-layer constant flux example as Oceananigans was set to
#master
in theManifest.toml
.