We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adapt
Reproducer (GPU resources are required, and @show ClimaComms.device(cspace) should show CUDADevice):
@show ClimaComms.device(cspace)
CUDADevice
#= git clone https://github.com/CliMA/ClimaCore.jl cd ClimaCore.jl/ julia --project=test using Revise; include("../perf/cuda_adapt_inference.jl") =# using Revise using Cthulhu,BenchmarkTools,CUDA,Adapt, Test,JET import ClimaCore; import ClimaComms; import ClimaCore: Fields, Geometry, Spaces import Base.Broadcast: broadcasted FT = Float64; context = ClimaComms.SingletonCommsContext() cspace = Spaces.PointSpace(context, Geometry.XPoint(FT(π))) @show ClimaComms.device(cspace) ρ = Fields.Field(FT, cspace); bc = broadcasted(*, 1, broadcasted(+, ρ, 1)); Adapt.adapt(CUDA.KernelAdaptor(), bc.args); @test_opt ignored_modules = (CUDA,) Adapt.adapt(CUDA.KernelAdaptor(), bc.args);
You may need to have JET/CUDA/Test in your local environment for this reproducer to work.
JET
CUDA
Test
The text was updated successfully, but these errors were encountered:
Reopened by #80.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Reproducer (GPU resources are required, and
@show ClimaComms.device(cspace)
should showCUDADevice
):You may need to have
JET
/CUDA
/Test
in your local environment for this reproducer to work.The text was updated successfully, but these errors were encountered: