Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/status-guard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ jobs:
uses: actions/checkout@v4

# Reads sources only: no rustup, no cargo, no CUDA toolkit.
- name: Verify every shared-crate pin agrees with the root workspace
- name: Verify the host crates are path dependencies at tip of tree and the scaffold matches the root version
run: bash cuda-oxide/scripts/check-shared-crate-pin.sh

# cuda-oxide/crates/oxide-artifacts is only the publish source now; the
Expand Down
20 changes: 11 additions & 9 deletions cuda-oxide/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,17 @@ cuda-host = { path = "crates/cuda-host" }
# `cuda-host` names `features = ["host"]`, so anything that loads or launches a
# module still gets it.
cuda-macros = { path = "crates/cuda-macros", default-features = false }
# Git-root host crates. `=` is an exact pin, same as cutile-rs, so a 0.4.1
# package version does not match until this line is updated with it.
# Examples path-depend on the same directories so the graph has one
# cuda_core (and one cuda-async / cuda-bindings). `cargo oxide new` still
# pins the crates.io version of this line for out-of-tree projects; keep
# SHARED_HOST_CRATES_VERSION in lockstep (the pin check ignores the `=`).
cuda-bindings = { path = "../cuda-bindings", version = "=0.4.0" }
cuda-core = { path = "../cuda-core", version = "=0.4.0" }
cuda-async = { path = "../cuda-async", version = "=0.4.0" }
# Git-root host crates, consumed by path at tip of tree. No version
# requirement on purpose: a release of the host crates needs no edit here, and
# the crates that depend on them in this tree are not published, so nothing
# needs one (#1459). Examples path-depend on the same directories so the graph
# has one cuda_core (and one cuda-async / cuda-bindings). `cargo oxide new`
# scaffolds out-of-tree projects on the crates.io release instead; its
# SHARED_HOST_CRATES_VERSION is checked against the root manifests by
# scripts/check-shared-crate-pin.sh.
cuda-bindings = { path = "../cuda-bindings" }
cuda-core = { path = "../cuda-core" }
cuda-async = { path = "../cuda-async" }
libnvvm-sys = { path = "crates/libnvvm-sys" }
nvjitlink-sys = { path = "crates/nvjitlink-sys" }
reserved-oxide-symbols = { path = "crates/reserved-oxide-symbols" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }

# Host-side CUDA runtime
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }

# Host-side CUDA runtime
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host", features = ["async"] }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-async = { path = "../../../../../cuda-async", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
cuda-async = { path = "../../../../../cuda-async" }
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] }
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host", features = ["async"] }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-async = { path = "../../../../../cuda-async", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
cuda-async = { path = "../../../../../cuda-async" }
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] }
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
# Primitive `f16` is nightly-only, so the shared crate gates its `DeviceCopy`
# impl behind this feature; `half::f16` needs nothing extra.
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0", features = ["f16"] }
cuda-core = { path = "../../../../../cuda-core", features = ["f16"] }
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }

# Host-side CUDA runtime
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }

# Host-side CUDA runtime
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ license = "Apache-2.0"
[workspace]

[dependencies]
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ license = "Apache-2.0"
[workspace]

[dependencies]
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }

# Host-side CUDA runtime
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "Apache-2.0"
[workspace]

[dependencies]
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
cuda-macros = { path = "../../../../crates/cuda-macros" }
cuda-device = { path = "../../../../crates/cuda-device" }
cuda-host = { path = "../../../../crates/cuda-host" }
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "Apache-2.0"
[workspace]

[dependencies]
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
cuda-macros = { path = "../../../../crates/cuda-macros" }
cuda-device = { path = "../../../../crates/cuda-device" }
cuda-host = { path = "../../../../crates/cuda-host" }
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "Apache-2.0"
[workspace]

[dependencies]
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
cuda-macros = { path = "../../../../crates/cuda-macros" }
cuda-device = { path = "../../../../crates/cuda-device" }
cuda-host = { path = "../../../../crates/cuda-host" }
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
ptx-parse = { path = "../../../ptx-parse" }
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }

# Host-side CUDA runtime
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ license = "Apache-2.0"
[workspace]

[dependencies]
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }

# Host-side CUDA runtime
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ license = "Apache-2.0"
[workspace]

[dependencies]
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ license = "Apache-2.0"
[workspace]

[dependencies]
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ license = "Apache-2.0"
[workspace]

[dependencies]
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ members = ["embedded-kernel-lib"]
embedded-kernel-lib = { path = "embedded-kernel-lib" }
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ authors = ["Nihal Pasham <nihalp@nvidia.com>"]
license = "Apache-2.0"

[dependencies]
cuda-core = { path = "../../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../../cuda-core" }
cuda-device = { path = "../../../../cuda-device" }
cuda-host = { path = "../../../../cuda-host" }
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ kernel-lib = { path = "kernel-lib" }

cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
ptx-parse = { path = "../../../ptx-parse" }
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ authors = ["Nihal Pasham <nihalp@nvidia.com>"]
license = "Apache-2.0"

[dependencies]
cuda-core = { path = "../../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../../cuda-core" }
cuda-device = { path = "../../../../cuda-device" }
cuda-host = { path = "../../../../cuda-host" }
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ members = ["merged-symbols-lib"]
merged-symbols-lib = { path = "merged-symbols-lib" }
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ edition = "2024"
license = "Apache-2.0"

[dependencies]
cuda-core = { path = "../../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../../cuda-core" }
cuda-device = { path = "../../../../cuda-device" }
cuda-host = { path = "../../../../cuda-host" }
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ members = ["reprolib"]
reprolib = { path = "reprolib" }
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ license = "Apache-2.0"
[dependencies]
cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
ptx-parse = { path = "../../../ptx-parse" }
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ module-kernels = { path = "kernel-lib" }

cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ authors = ["Nihal Pasham <nihalp@nvidia.com>"]
license = "Apache-2.0"

[dependencies]
cuda-core = { path = "../../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../../cuda-core" }
cuda-device = { path = "../../../../cuda-device" }
cuda-host = { path = "../../../../cuda-host" }
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" }
cuda-host = { path = "../../../cuda-host" }

# Host-side CUDA runtime
cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" }
cuda-core = { path = "../../../../../cuda-core" }
Loading
Loading