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
1 change: 1 addition & 0 deletions dependency-licenses.csv
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ cuda-intrinsics,0.1.0,Apache-2.0,Yes,local (workspace),1st Party (workspace),htt
cuda-intrinsics-gen,0.1.0,Apache-2.0,Yes,local (workspace),1st Party (workspace),https://github.com/NVlabs/cuda-oxide.git,Extractor and deterministic source generator for cuda-oxide intrinsics,
cuda-macros,0.2.1,Apache-2.0,Yes,local (workspace),1st Party (workspace),https://github.com/NVlabs/cuda-oxide.git,"Procedural macros for CUDA kernel development (#[kernel], #[device], etc.)",
cuda-oxide-codegen,0.1.0,Apache-2.0,Yes,local (workspace),1st Party (workspace),https://github.com/NVlabs/cuda-oxide.git,Experimental rustc-independent cuda-oxide PTX backend,
device-only-kernels,0.0.0,Apache-2.0,Yes,local (workspace),1st Party (workspace),https://github.com/NVlabs/cuda-oxide.git,"INTERNAL: fixture for scripts/check-device-only-build.sh, proving the macro expansion resolves with no cuda-host in the graph. Not published.",Declares its own [workspace] so it resolves independently of the root lock.
dialect-iket,0.1.0,Apache-2.0,Yes,local (workspace),1st Party (workspace),https://github.com/NVlabs/cuda-oxide.git,Semantic IKET dialect for in-kernel event tracing,
dialect-ptx,0.1.0,Apache-2.0,Yes,local (workspace),1st Party (workspace),https://github.com/NVlabs/cuda-oxide.git,Structured Pliron PTX dialect with lossless-source projection and emission,
futures,0.3.32,MIT OR Apache-2.0,Yes,registry+https://github.com/rust-lang/crates.io-index,3rd Party (crates.io),https://github.com/rust-lang/futures-rs,"An implementation of futures and streams featuring zero allocations, composability, and iterator-like interfaces.",Combinators for the cuda-async DeviceOperation pipeline.
Expand Down
28 changes: 22 additions & 6 deletions scripts/check-dependency-licenses.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,32 @@ print("\n".join(sorted(names)))
'
}

# Both first-party workspaces, not just the root one. crates/rustc-codegen-cuda
# carries its own `[workspace]` for the rustc-private dylibs, so `-p` from the
# root cannot reach it and the root `cargo metadata` above stops at that
# boundary -- which is how the backend crate itself, the largest first-party
# crate in the tree, sat unrecorded while every other member had a row. This is
# the second pass asked for in the #662 review.
# Every first-party workspace root, not just the root one. `cargo metadata`
# stops at a `[workspace]` boundary, so one pass per root is the only way to
# reach them all, and the tree has three under version control outside
# `examples/` (the second half below covers those):
#
# 1. Cargo.toml -- the root workspace.
# 2. crates/rustc-codegen-cuda/Cargo.toml -- its own `[workspace]` for the
# rustc-private dylibs, so `-p` from the root cannot reach it and the root
# `cargo metadata` stops at that boundary. That is how the backend crate
# itself, the largest first-party crate in the tree, sat unrecorded while
# every other member had a row. This is the second pass asked for in the
# #662 review.
# 3. crates/cuda-macros/tests/device-only/Cargo.toml -- the fixture for
# scripts/check-device-only-build.sh. It declares `[workspace]` on
# purpose: the point is a graph that does *not* contain `cuda-host`
# (#701/#702), so it must resolve independently rather than share the root
# lock. That same boundary put it outside both passes above, and its
# member `device-only-kernels` had no row. #1043 closed the identical gap
# for `cargo deny check` -- which judges the license *policy* -- and this
# guard covers the other half, that the human-readable inventory does not
# fall behind what a workspace declares. Both halves need all three roots.
required="$(
{
declared_crates Cargo.toml
declared_crates crates/rustc-codegen-cuda/Cargo.toml
declared_crates crates/cuda-macros/tests/device-only/Cargo.toml
} | LC_ALL=C sort -u
)"

Expand Down
Loading