Define adapt for contexts and devices

Passed in 4m 21s
:pipeline:buildkite-agent pipeline upload
Waited 57s
Ran in 5s
initializeecho "--- Instantiate project" && julia --project=test -e 'using Pkg; Pkg.develop(;path="."); Pkg.add("CUDA"); Pkg.add("MPI"); Pkg.instantiate(;verbose=true); Pkg.precompile(;strict=true)' && julia --project=test -e 'using CUDA; CUDA.precompile_runtime()' && julia --project=test -e 'using Pkg; Pkg.status()'
Waited 31s
Ran in 2m 55s
馃捇 testsjulia --project=test test/runtests.jl
Waited 2s
Ran in 6s
馃捇 tests MPIsrun julia --project=test test/runtests.jl
Waited 2s
Ran in 20s
馃捇 threaded testsjulia --threads 4 --project=test test/runtests.jl
Waited 2s
Ran in 6s
馃捇 threaded tests MPIsrun julia --threads 4 --project=test test/runtests.jl
Waited 2s
Ran in 20s
馃幋 testsjulia --project=test test/runtests.jl
Waited 2s
Ran in 34s
馃幋 tests MPIsrun julia --project=test test/runtests.jl
Waited 2s
Ran in 48s
Total Job Run Time: 5m 14s