-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from Keluaa/compilation_on_demand
Compilation on demand
- Loading branch information
Showing
64 changed files
with
2,682 additions
and
1,103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,5 @@ LocalPreferences.toml | |
/docs/build/ | ||
/lib/kokkos_wrapper/.idea/ | ||
/lib/kokkos_wrapper/cmake-build-*/ | ||
.vscode | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,53 @@ | ||
name = "Kokkos" | ||
uuid = "3296cea9-b0de-4b57-aba0-ce554b517c3b" | ||
authors = ["Keluaa <[email protected]> and contributors"] | ||
version = "0.4.1" | ||
version = "0.5.3" | ||
|
||
[deps] | ||
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" | ||
CxxWrap = "1f15a43c-97ca-5a2a-ae31-89f07a497df4" | ||
FileWatching = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee" | ||
LibGit2 = "76f85450-5226-5b5a-8eaa-529ad045b433" | ||
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb" | ||
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195" | ||
Pidfile = "fa939f87-e72e-5be4-a000-7fc836dbe307" | ||
Preferences = "21216c6a-2e73-6563-6e65-726566657250" | ||
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" | ||
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca" | ||
Requires = "ae029012-a4dd-5104-9daa-d747884805df" | ||
Scratch = "6c6a2e73-6563-6170-7368-637461726353" | ||
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76" | ||
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" | ||
libcxxwrap_julia_jll = "3eaa8342-bff7-56a5-9981-c04077f7cee7" | ||
|
||
[compat] | ||
CxxWrap = "0.13" | ||
AMDGPU = "0.7" | ||
CUDA = "4.1, 5" | ||
CxxWrap = "0.14, 0.15" | ||
MPI = "0.20" | ||
CUDA = "4" | ||
Pidfile = "1.3.0" | ||
Preferences = "1" | ||
ProgressMeter = "1" | ||
Requires = "1" | ||
Scratch = "1" | ||
julia = "1.7" | ||
libcxxwrap_julia_jll = "0.9.7" | ||
julia = "1.9" | ||
libcxxwrap_julia_jll = "≥ 0.9.7" | ||
|
||
[extensions] | ||
CUDAExt = "CUDA" | ||
MPIExt = "MPI" | ||
KokkosAMDGPU = "AMDGPU" | ||
KokkosCUDA = "CUDA" | ||
KokkosMPI = "MPI" | ||
|
||
[extras] | ||
AMDGPU = "21141c5a-9bdb-4563-92ae-f87d6854732e" | ||
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" | ||
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568" | ||
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195" | ||
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" | ||
Preferences = "21216c6a-2e73-6563-6e65-726566657250" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
||
[targets] | ||
test = ["Test", "Preferences", "Logging", "MPI", "CUDA"] | ||
test = ["Test", "Preferences", "Logging", "MPI", "CUDA", "AMDGPU"] | ||
|
||
[weakdeps] | ||
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195" | ||
AMDGPU = "21141c5a-9bdb-4563-92ae-f87d6854732e" | ||
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" | ||
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
[deps] | ||
AMDGPU = "21141c5a-9bdb-4563-92ae-f87d6854732e" | ||
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
Kokkos = "3296cea9-b0de-4b57-aba0-ce554b517c3b" | ||
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195" | ||
MPIPreferences = "3da0fdf6-3ccc-4f1b-acd9-58baa6c99267" | ||
|
||
[compat] | ||
Documenter = "0.27" | ||
Documenter = "1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,14 +3,22 @@ push!(LOAD_PATH, joinpath(@__DIR__, "../")) | |
|
||
using Kokkos | ||
using Documenter | ||
using CUDA # For the extension documentation | ||
|
||
# For the extensions documentation | ||
using CUDA | ||
using AMDGPU | ||
using MPI | ||
|
||
KokkosAMDGPU = Base.get_extension(Kokkos, :KokkosAMDGPU) | ||
KokkosCUDA = Base.get_extension(Kokkos, :KokkosCUDA) | ||
KokkosMPI = Base.get_extension(Kokkos, :KokkosMPI) | ||
|
||
ci = get(ENV, "CI", "") == "true" | ||
|
||
DocMeta.setdocmeta!(Kokkos, :DocTestSetup, :(using Kokkos); recursive=true) | ||
|
||
makedocs(; | ||
modules=[Kokkos], | ||
modules=[Kokkos, KokkosAMDGPU, KokkosCUDA, KokkosMPI], | ||
authors="Keluaa <[email protected]> and contributors", | ||
repo="https://github.com/Keluaa/Kokkos.jl/blob/{commit}{path}#{line}", | ||
sitename="Kokkos.jl", | ||
|
@@ -24,15 +32,18 @@ makedocs(; | |
"Usage" => [ | ||
"Calling a Kokkos library" => "calling_c.md", | ||
"Using views in an inaccessible memory space" => "inaccessible_views.md", | ||
"Interoperability with CUDA.jl" => "interop.md", | ||
"Interoperability with CUDA.jl and AMDGPU.jl" => "interop.md", | ||
"MPI" => "MPI.md" | ||
], | ||
"Environment" => "environment.md", | ||
"Execution & Memory Spaces" => "spaces.md", | ||
"Views" => "views.md", | ||
"Compilation" => "compilation.md", | ||
"Library Management" => "library_management.md", | ||
"Configuration options" => "config_options.md" | ||
"Configuration options" => "config_options.md", | ||
"Internals" => [ | ||
"Dynamic Compilation" => "dynamic_compilation.md" | ||
] | ||
], | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.