Skip to content

Commit eb7782f

Browse files
Merge pull request #241 from CliMA/ck/rm_cuda_dep
Remove direct CUDA dependency
2 parents 06a5654 + f45b46e commit eb7782f

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ authors = ["Climate Modeling Alliance"]
44
version = "0.7.15"
55

66
[deps]
7-
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
87
ClimaComms = "3a4d1b5c-c61d-41fd-a00a-5873ba7a1b0d"
98
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
109
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
@@ -19,7 +18,6 @@ SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1918
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2019

2120
[compat]
22-
CUDA = "3, 4, 5"
2321
ClimaComms = "0.4, 0.5"
2422
Colors = "0.12"
2523
DataStructures = "0.18"

perf/Manifest.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
julia_version = "1.9.3"
44
manifest_format = "2.0"
5-
project_hash = "0993a67de8f6f7ee789e0a0747a61a451485840b"
5+
project_hash = "d917eab60935304f7739c0cfa846ca1eefc6e754"
66

77
[[deps.ADTypes]]
88
git-tree-sha1 = "5d2e21d7b0d8c22f67483ef95ebdc39c0e6b6003"

perf/Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[deps]
22
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"
33
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
4-
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
54
ClimaComms = "3a4d1b5c-c61d-41fd-a00a-5873ba7a1b0d"
65
ClimaCore = "d414da3d-4745-48bb-8d80-42e94e092884"
76
ClimaTimeSteppers = "595c0a79-7f3d-439a-bc5a-b232dc3bde79"
@@ -28,7 +27,6 @@ URIs = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4"
2827
[compat]
2928
ArgParse = "1"
3029
BenchmarkTools = "1"
31-
CUDA = "3, 4, 5"
3230
ClimaCore = "0.10"
3331
ClimaTimeSteppers = "0.7"
3432
DataStructures = "0.18"

src/ClimaTimeSteppers.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,14 @@ using KernelAbstractions
4848
using LinearAlgebra
4949
using LinearOperators
5050
using StaticArrays
51-
using CUDA
5251
import ClimaComms
5352
using Colors
5453
using NVTX
5554

5655
export AbstractAlgorithmName, AbstractAlgorithmConstraint, Unconstrained, SSP
5756

5857
array_device(::Union{Array, SArray, MArray}) = CPU()
59-
array_device(::CuArray) = CUDADevice()
58+
array_device(x) = CUDADevice() # assume CUDA
6059

6160
import DiffEqBase, SciMLBase, LinearAlgebra, DiffEqCallbacks, Krylov
6261

0 commit comments

Comments
 (0)