mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-30 05:19:19 +00:00
deps: Add CUDA extension support to Project.toml
- [weakdeps] CUDA package for optional GPU support - [extensions] JuliaFEMCUDAExt loaded when 'using CUDA' - Zero overhead when CUDA not loaded - Enables GPU acceleration without mandatory dependency
This commit is contained in:
@@ -19,6 +19,12 @@ IterativeSolvers = "0.9.4"
|
||||
Tensors = "≥ 1.0.0"
|
||||
julia = "1.9"
|
||||
|
||||
[weakdeps]
|
||||
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
|
||||
|
||||
[extensions]
|
||||
JuliaFEMCUDAExt = ["CUDA"]
|
||||
|
||||
[extras]
|
||||
Calculus = "49dc2e85-a5d0-5ad3-a950-438e2897f1b9"
|
||||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
|
||||
|
||||
Reference in New Issue
Block a user