diff --git a/.cargo/config.toml b/.cargo/config.toml deleted file mode 100644 index 5daeac4cde..0000000000 --- a/.cargo/config.toml +++ /dev/null @@ -1,5 +0,0 @@ -# Workspace-root Cargo aliases. SIMT-specific environment configuration lives -# in cuda-oxide/.cargo/config.toml. - -[alias] -oxide = "run --package cargo-oxide --" diff --git a/.devcontainer/README.md b/.devcontainer/README.md deleted file mode 100644 index 1f058e50e8..0000000000 --- a/.devcontainer/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# cuda-oxide Dev Container - -This dev container provides the toolchain expected by cuda-oxide: - -- Ubuntu 24.04 -- CUDA Toolkit 13.0 -- LLVM 21 with NVPTX support -- Clang 21 resource headers for `bindgen` -- Rust `nightly-2026-08-28` with `rust-src`, `rustc-dev`, `rust-analyzer`, - `rustfmt` and `clippy`. `llvm-tools` is not preinstalled in the image; - rustup adds it on your first cargo command in the checkout, because - `rust-toolchain.toml` names it. The image ships LLVM 21 and - `CUDA_OXIDE_LLC` already points at `llc-21`, so nothing waits on it. - -Open the repository in a devcontainer-aware editor and choose "Reopen in -Container". The container requests GPU access with `--gpus=all` and uses -`updateRemoteUserUID` so generated Cargo artifacts and exported PTX files stay -writable from the host checkout. - -Inside the container: - -```bash -cargo oxide doctor -cargo oxide run vecadd -``` - -The CUDA Toolkit is provided by the container image; it does not need to be -installed on the host. The host must provide an NVIDIA GPU, a driver compatible -with CUDA 13.0, and the NVIDIA Container Toolkit so Docker can expose the GPU -to the container. - -If the host driver is too old, GPU commands such as `nvidia-smi`, -`cargo oxide doctor`, or `cargo oxide run vecadd` will fail inside the -container. Update the host NVIDIA driver rather than installing a different -CUDA Toolkit in the container. - -The image does not set `LD_LIBRARY_PATH`; the NVIDIA Container Toolkit should -provide the host driver libraries at runtime. diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 57f6304ec3..0000000000 --- a/.dockerignore +++ /dev/null @@ -1,14 +0,0 @@ -# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: Apache-2.0 - -.git -.github -target -cuda-oxide/crates/rustc-codegen-cuda/target -cuda-oxide/crates/rustc-codegen-cuda/examples/*/target -cuda-oxide/crates/rustc-codegen-cuda/examples/**/*.ptx -cuda-oxide/crates/rustc-codegen-cuda/examples/**/*.ll -cuda-oxide/crates/rustc-codegen-cuda/examples/**/*.ltoir -cuda-oxide/crates/rustc-codegen-cuda/examples/**/*.cubin -cuda-oxide/cuda-oxide-book/_build -cuda-oxide/cuda-oxide-book/.venv diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index d0db379258..0000000000 --- a/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -cuda-oxide/intrinsics/probes/*.ll whitespace=-blank-at-eof diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7c7b589e30..fa69f6bed8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,3 +1,17 @@ -# The raw CUDA FFI crate (cuda-bindings) is shared with cutile-rs and lives in -# NVlabs/cutile-rs since the host-crate migration; review ownership for it is -# declared there. No path in this repository currently needs a code owner. +# Later matching patterns take precedence. +# Names from the CUDA Rust unification proposal: Nihal is SIMT DRI, +# Melih is Tile DRI, shared host crates are dual-reviewed, everything +# else falls to the maintainer set. + +# Remaining git-root files (Cargo.toml, CI, docs, etc.). +* @nihalpasham @binarybana @kkraus14 @elibol @rparolin @cryos @roivanov + +# Shared host crates: Tile DRI plus Keith / Rob / Nihal. +/cuda-bindings/ @elibol @kkraus14 @rparolin @nihalpasham +/cuda-core/ @elibol @kkraus14 @rparolin @nihalpasham +/cuda-core-derive/ @elibol @kkraus14 @rparolin @nihalpasham +/cuda-async/ @elibol @kkraus14 @rparolin @nihalpasham + +# Model trees. +/cutile-rs/ @elibol +/cuda-oxide/ @nihalpasham diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index 43cf928a5e..07ed82d8ec 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -1,14 +1,25 @@ name: Deploy cuda-oxide Book +# Path-filtered lane: only documentation sources can change what this builds. on: push: branches: [main] + paths: + - 'cuda-oxide/cuda-oxide-book/**' + - 'cutile-rs/cutile-book/**' + - 'cutile-rs/scripts/build_versioned_book.sh' + - '.github/workflows/book.yml' # Validate the book on PRs too. The build job alone runs there; `deploy` is # gated below, so a pull request never publishes. Without this the book was # only ever built after merge, so a PR that broke it could not be caught by # review or by CI. pull_request: branches: [main] + paths: + - 'cuda-oxide/cuda-oxide-book/**' + - 'cutile-rs/cutile-book/**' + - 'cutile-rs/scripts/build_versioned_book.sh' + - '.github/workflows/book.yml' workflow_dispatch: # Only checkout rights by default. The Pages deployment permissions live on diff --git a/.github/workflows/cargo-deny.yml b/.github/workflows/cargo-deny.yml index 0c21d8924c..73f426cc77 100644 --- a/.github/workflows/cargo-deny.yml +++ b/.github/workflows/cargo-deny.yml @@ -8,8 +8,9 @@ name: cargo-deny # Four parts of the same concern. `check` enforces the license *policy* over # the whole resolved graph from deny.toml, once per `[workspace]` root that # resolves third-party crates and is neither an example nor under cutile-rs: -# the root workspace, cuda-oxide/crates/rustc-codegen-cuda, and the cuda-macros -# device-only fixture. Each declares its own `[workspace]`, so each is a +# the stable host workspace, the SIMT workspace, +# cuda-oxide/crates/rustc-codegen-cuda, and the cuda-macros device-only +# fixture. Each declares its own `[workspace]`, so each is a # separate resolution the others cannot reach. `license-manifest` enforces that # the human-readable inventory in dependency-licenses.csv still lists what the # workspace declares, which nothing checked before: CONTRIBUTING asks @@ -44,10 +45,17 @@ jobs: # re-resolved on the way past. Without it this step rewrites the very # Cargo.lock it is judging -- verified: deleting a package block from the # lock still exits 0 here and leaves the file rewritten, while --locked - # stops with "cannot update the lock file". The other two runs below and + # stops with "cannot update the lock file". The other runs below and # in cuda-oxide/scripts/ already pass it. - # Find deny.toml through a SIMT member; --workspace checks all root members. - - name: Run cargo-deny + # Host-crate dev-dependencies are a separate resolution (cuda-async's loom + # is not in the SIMT graph). The git-root deny.toml is a copy of + # cuda-oxide/deny.toml, so this walks up to that policy and does not pass + # --config. + - name: Run cargo-deny over the stable host workspace + run: cargo deny --manifest-path Cargo.toml --workspace --locked check + + # Find deny.toml through a SIMT member; --workspace checks all SIMT members. + - name: Run cargo-deny over the CUDA Oxide workspace run: cargo deny --manifest-path cuda-oxide/crates/cargo-oxide/Cargo.toml --workspace --locked check # cuda-oxide/crates/rustc-codegen-cuda carries its own `[workspace]` for the @@ -59,11 +67,11 @@ jobs: - name: Run cargo-deny over the codegen backend workspace run: cargo deny --manifest-path cuda-oxide/crates/rustc-codegen-cuda/Cargo.toml --locked check - # The last `[workspace]` root this job runs. + # The last independent `[workspace]` root this job runs. # `cuda-oxide/crates/cuda-macros/tests/device-only` # declares its own `[workspace]` so that its graph provably excludes # cuda-host, which is the whole point of the fixture -- and that same - # boundary puts it outside the root run above, outside the backend run, + # boundary puts it outside the SIMT run above, outside the backend run, # and outside the example-policy script (which walks # cuda-oxide/crates/rustc-codegen-cuda/examples only). Its lock resolves # proc-macro2, quote and syn at versions that appear nowhere in the root diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9da68007d..60f0f88fad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,11 +1,32 @@ --- name: CI +# Path-filtered SIMT lane: skip when a change cannot affect cuda-oxide or the +# shared host crates. `cuda-oxide/**` is deliberately broad (prose as well as +# code) because guard scripts cross-check the book against the crates. on: push: branches: [main] + paths: + - 'cuda-oxide/**' + - 'cuda-bindings/**' + - 'cuda-core/**' + - 'cuda-core-derive/**' + - 'cuda-async/**' + - 'Cargo.toml' + - 'Cargo.lock' + - '.github/workflows/**' pull_request: branches: [main] + paths: + - 'cuda-oxide/**' + - 'cuda-bindings/**' + - 'cuda-core/**' + - 'cuda-core-derive/**' + - 'cuda-async/**' + - 'Cargo.toml' + - 'Cargo.lock' + - '.github/workflows/**' concurrency: group: ci-gate-${{ github.ref_name }} diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 3324ece0c7..018779dbb9 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -34,6 +34,7 @@ jobs: - name: Run clippy (workspace crates) env: CUDA_TOOLKIT_PATH: ${{ steps.cuda-toolkit.outputs.CUDA_PATH }} + working-directory: cuda-oxide run: cargo clippy --workspace --all-targets -- -D warnings # `rustc-codegen-cuda` and each example under examples/ are their own @@ -51,7 +52,7 @@ jobs: # same pinned nightly deduplicate on identical deps and compile each # one once. This is intentionally scoped *not* to cover the # `cargo clippy --workspace` step above, which already has a - # well-defined `target/` at the repo root. + # well-defined `target/` under cuda-oxide. - name: Run clippy (rustc-codegen-cuda) env: CUDA_TOOLKIT_PATH: ${{ steps.cuda-toolkit.outputs.CUDA_PATH }} diff --git a/.github/workflows/cutile-rs.yml b/.github/workflows/cutile-rs.yml index 8d199f1dee..2c3735f6d7 100644 --- a/.github/workflows/cutile-rs.yml +++ b/.github/workflows/cutile-rs.yml @@ -1,7 +1,8 @@ --- # Port of cutile-rs/.github/workflows/pr.yml for the monorepo. -# cutile-rs remains a nested Cargo workspace until workspace membership is -# reconciled, so cargo/script steps run under cutile-rs. +# Tile crates stay a nested Cargo workspace under cutile-rs/. Shared host +# crates (cuda-bindings, cuda-core, cuda-core-derive, cuda-async) are git-root +# workspace members; `-p` those from the repository root. # Checkout does not init submodules. cuda-tile-rs is outside default-members, # and these CUDA images have no git until the setup action, so # `submodules: recursive` makes actions/checkout reject the REST API fallback. @@ -13,9 +14,11 @@ on: # copy-pr-bot mirrors trusted PRs to pull-request/ and we trigger on that # push (config: .github/copy-pr-bot.yaml). # - # No paths: filter. GitHub applies one paths list to every branch in this - # push block, and copy-pr-bot creates pull-request/ at an existing SHA, - # which often has no path changes and would skip the workflow. + # No workflow-level paths: filter. copy-pr-bot creates pull-request/ at an + # existing SHA, and GitHub often treats that push as having no path changes, + # which would skip the workflow entirely. Tile vs SIMT separation is enforced + # by the `changes` job below instead (with a safe fallback when no files are + # detected). push: branches: - main @@ -35,9 +38,42 @@ defaults: working-directory: cutile-rs jobs: + # Tile lane gate: cutile-rs tree plus shared host crates. Skips when only + # cuda-oxide changes. When copy-pr-bot yields no detectable file diff, run + # anyway so the mirror push is never silently skipped. + changes: + runs-on: ubuntu-latest + outputs: + tile: ${{ steps.changes.outputs.tile }} + any_changed: ${{ steps.changes.outputs.any_changed }} + steps: + - uses: actions/checkout@v7 + with: + fetch-depth: 0 + - uses: dorny/paths-filter@v3 + id: changes + with: + filters: | + tile: + - 'cutile-rs/**' + - 'cuda-bindings/**' + - 'cuda-core/**' + - 'cuda-core-derive/**' + - 'cuda-async/**' + - 'Cargo.toml' + - 'Cargo.lock' + - 'rust-toolchain.toml' + - '.github/workflows/cutile-rs.yml' + - '.github/copy-pr-bot.yaml' + # Exercise the oldest Tile IR assembler, including its lack of # --list-versions. The separate 13.0 lane only checks shared host crates. tile-ir-cuda13-2: + needs: changes + if: >- + github.event_name == 'workflow_dispatch' || + needs.changes.outputs.tile == 'true' || + needs.changes.outputs.any_changed != 'true' runs-on: linux-amd64-cpu16 container: image: nvidia/cuda:13.2.0-devel-ubuntu24.04 @@ -63,6 +99,11 @@ jobs: # pass here and refuse correctly on the 13.2 lane above. The dev image may # ship the toolkit without the assembler package; install it when missing. tile-ir-cuda13-4: + needs: changes + if: >- + github.event_name == 'workflow_dispatch' || + needs.changes.outputs.tile == 'true' || + needs.changes.outputs.any_changed != 'true' runs-on: linux-amd64-cpu16 container: image: nvidia/cuda:13.4.1-devel-ubuntu24.04 @@ -83,6 +124,11 @@ jobs: run: ./scripts/run_cpu_tests.sh build: + needs: changes + if: >- + github.event_name == 'workflow_dispatch' || + needs.changes.outputs.tile == 'true' || + needs.changes.outputs.any_changed != 'true' runs-on: linux-amd64-cpu16 container: image: nvidia/cuda:13.3.0-devel-ubuntu24.04 @@ -111,6 +157,13 @@ jobs: # cuda-tile-rs is outside default-members (its build compiles LLVM); keep it out of clippy too. run: cargo clippy --workspace --exclude cuda-tile-rs --all-targets + - name: Clippy (host crates) + working-directory: ${{ github.workspace }} + # One line: a plain YAML scalar turns `\` into a literal backslash, so + # cargo saw ` --all-targets` as one argument. Skip --all-features here; + # cuda-core's f16 feature is nightly-only and reactor-verification covers it. + run: cargo clippy -p cuda-bindings -p cuda-core -p cuda-core-derive -p cuda-async --all-targets + - name: TileIR toolchain smoke test run: cargo test -p cutile-ir --test bytecode_validate simple_arithmetic -- --exact --nocapture @@ -127,6 +180,11 @@ jobs: # PR when a break arrives without one (the 0.3.0 -> 0.3.1 lesson). Same # CUDA container as `build` because rustdoc needs the crates to compile. semver-checks: + needs: changes + if: >- + github.event_name == 'workflow_dispatch' || + needs.changes.outputs.tile == 'true' || + needs.changes.outputs.any_changed != 'true' runs-on: linux-amd64-cpu16 container: image: nvidia/cuda:13.3.0-devel-ubuntu24.04 @@ -152,11 +210,20 @@ jobs: --exclude cutile-examples \ --exclude cutile-benchmarks + - name: Check host-crate API compatibility against crates.io + working-directory: ${{ github.workspace }} + run: cargo semver-checks -p cuda-bindings -p cuda-core -p cuda-async + # The shared host-side crates (cuda-bindings, cuda-core, cuda-async) # support CUDA 13.0+, while the Tile stack requires 13.2+. This lane keeps # the 13.0 floor honest: compile-only, no GPU, no TileIR toolchain (13.0 # images have no tileiras, which is exactly the point). shared-crates-cuda13: + needs: changes + if: >- + github.event_name == 'workflow_dispatch' || + needs.changes.outputs.tile == 'true' || + needs.changes.outputs.any_changed != 'true' runs-on: linux-amd64-cpu16 container: image: nvidia/cuda:13.0.0-devel-ubuntu24.04 @@ -170,16 +237,23 @@ jobs: - uses: ./cutile-rs/.github/actions/setup - name: Check shared crates against CUDA 13.0 + working-directory: ${{ github.workspace }} run: cargo check -p cuda-bindings -p cuda-core -p cuda-async --all-targets # Nightly also covers cuda-core's optional native f16 support. The remaining - # jobs use stable from rust-toolchain.toml. + # jobs use stable: cutile-rs/rust-toolchain.toml inside this tree, and the + # git-root rust-toolchain.toml for the host-crate steps. # Model-checks / sanitizers for the cuda-async completion reactor's lock-free # slot protocol. CPU-only, no GPU: loom explores the interleavings and weak- # memory outcomes, miri checks the UnsafeCell/pointer UB, ThreadSanitizer # samples races on the full-scale std-thread stress. All opt-in tooling — # never part of the default build. reactor-verification: + needs: changes + if: >- + github.event_name == 'workflow_dispatch' || + needs.changes.outputs.tile == 'true' || + needs.changes.outputs.any_changed != 'true' runs-on: linux-amd64-cpu16 container: image: nvidia/cuda:13.3.0-devel-ubuntu24.04 @@ -204,15 +278,19 @@ jobs: run: cargo clippy --workspace --exclude cuda-tile-rs --all-targets --all-features - name: Native f16 DeviceCopy + working-directory: ${{ github.workspace }} run: cargo test -p cuda-core --features f16 --test simt_device_copy_impls - name: loom model check (interleavings + weak memory) + working-directory: ${{ github.workspace }} run: RUSTFLAGS="--cfg loom" cargo test -p cuda-async --lib loom_ - name: miri (UnsafeCell / pointer UB) + working-directory: ${{ github.workspace }} run: cargo miri test -p cuda-async --lib slot_table - name: ThreadSanitizer (sampled data races, full-scale stress) + working-directory: ${{ github.workspace }} run: | # setarch -R pre-disables ASLR so TSan doesn't need to re-exec itself # (which the container blocks); this sidesteps the high mmap-entropy diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 1365bf2885..5fd315f684 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,11 +1,30 @@ --- name: docs +# Path-filtered SIMT lane (same roots as ci.yml). on: push: branches: [main] + paths: + - 'cuda-oxide/**' + - 'cuda-bindings/**' + - 'cuda-core/**' + - 'cuda-core-derive/**' + - 'cuda-async/**' + - 'Cargo.toml' + - 'Cargo.lock' + - '.github/workflows/**' pull_request: branches: [main] + paths: + - 'cuda-oxide/**' + - 'cuda-bindings/**' + - 'cuda-core/**' + - 'cuda-core-derive/**' + - 'cuda-async/**' + - 'Cargo.toml' + - 'Cargo.lock' + - '.github/workflows/**' concurrency: group: ${{ github.workflow }}-${{ github.ref_name }} @@ -38,6 +57,7 @@ jobs: non-cuda-sub-packages: '["libcurand-dev"]' - name: Build docs (warning-free) and run doctests + working-directory: cuda-oxide env: CUDA_TOOLKIT_PATH: ${{ steps.cuda-toolkit.outputs.CUDA_PATH }} RUSTDOCFLAGS: "-D warnings" @@ -49,8 +69,7 @@ jobs: # Docs must build warning-free (RUSTDOCFLAGS=-D warnings above). cargo doc --no-deps --workspace - # Run doctests. The shared cuda-bindings is not a workspace member, - # so nothing here reaches its bindgen-generated doc comments. + # Run doctests. cargo test --doc --workspace # `rustc-codegen-cuda` is its own [workspace] (it links against diff --git a/.github/workflows/examples-compile.yml b/.github/workflows/examples-compile.yml index 2b7d7c2ebc..86db9f489b 100644 --- a/.github/workflows/examples-compile.yml +++ b/.github/workflows/examples-compile.yml @@ -1,11 +1,30 @@ --- name: examples-compile +# Path-filtered SIMT lane (same roots as ci.yml). on: push: branches: [main] + paths: + - 'cuda-oxide/**' + - 'cuda-bindings/**' + - 'cuda-core/**' + - 'cuda-core-derive/**' + - 'cuda-async/**' + - 'Cargo.toml' + - 'Cargo.lock' + - '.github/workflows/**' pull_request: branches: [main] + paths: + - 'cuda-oxide/**' + - 'cuda-bindings/**' + - 'cuda-core/**' + - 'cuda-core-derive/**' + - 'cuda-async/**' + - 'Cargo.toml' + - 'Cargo.lock' + - '.github/workflows/**' concurrency: group: ${{ github.workflow }}-${{ github.ref_name }} @@ -28,14 +47,6 @@ jobs: - name: Clone repository uses: actions/checkout@v4 - # Oxide example compile never reads the imported cutile-rs tree, but the - # checkout shares the GitHub-hosted runner's ~14 GB disk with the CUDA - # toolkit, LLVM, cargo-oxide, and ~200 example workspaces. Leaving - # cutile-rs in place fills that disk mid-smoketest: later examples then - # fail rebuilding rustc-codegen-cuda with ENOSPC / ld bus errors. - - name: Drop cutile-rs from this job's workspace - run: rm -rf cutile-rs - # Every example workspace must pin the same dependency versions. The # shared CARGO_TARGET_DIR below keys build caches on the resolved # dependency subtree, so one drifted Cargo.lock silently costs a full @@ -103,8 +114,12 @@ jobs: # the backend .so at its fixed discovery path. CARGO_TARGET_DIR: ${{ runner.temp }}/examples-shared-target SMOKETEST_LOG_DIR: ${{ runner.temp }}/smoketest-logs - # rustc incremental dirs under rustc-codegen-cuda/target/ are what - # filled the runner once cutile-rs was in the checkout. + # The runner's ~14 GB disk also holds the CUDA toolkit, LLVM, + # cargo-oxide, and ~200 example workspaces; rustc incremental dirs + # under rustc-codegen-cuda/target/ are what used to fill it and fail + # later examples with ENOSPC / ld bus errors. The cutile-rs source + # tree itself is a few MB and must stay: cutile_inter_kernel + # path-depends on cutile-rs/cutile and cutile-rs/cutile-compiler. CARGO_INCREMENTAL: "0" run: | set -euo pipefail @@ -116,6 +131,7 @@ jobs: - name: Artifact modes keep shared Cargo dependencies fresh timeout-minutes: 10 + working-directory: cuda-oxide env: CUDA_TOOLKIT_PATH: ${{ steps.cuda-toolkit.outputs.CUDA_PATH }} CUDA_OXIDE_LLC: /usr/bin/llc-22 diff --git a/.github/workflows/fmt.yml b/.github/workflows/fmt.yml index 378444e5b5..4d8035a248 100644 --- a/.github/workflows/fmt.yml +++ b/.github/workflows/fmt.yml @@ -18,10 +18,15 @@ jobs: - name: Clone repository uses: actions/checkout@v4 - # rustfmt comes from rust-toolchain.toml's component list, like clippy, + # rustfmt comes from cuda-oxide/rust-toolchain.toml's component list, + # like clippy, # so `cargo fmt` resolves against the same nightly as the rest of CI. - - name: Check root workspace formatting + - name: Check stable host workspace formatting + run: cargo fmt --all -- --check + + - name: Check CUDA Oxide workspace formatting + working-directory: cuda-oxide run: cargo fmt --all -- --check - name: Check rustc-codegen-cuda formatting @@ -49,6 +54,8 @@ jobs: for manifest in "${manifests[@]}"; do example_dir="$(dirname "$manifest")" echo "::group::cargo fmt --check ($example_dir)" - cargo fmt --manifest-path "$manifest" -- --check + # Run inside the component so rustup discovers CUDA Oxide's + # directory-scoped nightly pin. + (cd "$example_dir" && cargo fmt -- --check) echo "::endgroup::" done diff --git a/.github/workflows/status-guard.yml b/.github/workflows/status-guard.yml index 7f605aa2bd..b56320c346 100644 --- a/.github/workflows/status-guard.yml +++ b/.github/workflows/status-guard.yml @@ -128,7 +128,7 @@ jobs: - name: Clone repository uses: actions/checkout@v4 - # rustfmt comes from rust-toolchain.toml's component list through the +# rustfmt comes from cuda-oxide/rust-toolchain.toml's component list through the # rustup proxy, as in fmt.yml, so the order checked is the pinned # nightly's. No cargo, no CUDA toolkit, no network beyond the toolchain. - name: Verify the book's Rust blocks use rustfmt's import order diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 924932dc3d..cf9a33179b 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -24,9 +24,6 @@ jobs: # `cuda-bindings` needs `cuda.h` to compile). `test_args` overrides # the default `--all-targets` where a crate needs a narrower set. # - # cuda-bindings, cuda-core, and cuda-async are the shared host-side - # crates from cutile-rs now; their unit tests run in cutile-rs CI. - # # Crates intentionally not in this matrix: # * `fuzzer` — differential-testing infra with no unit tests. # * `rustc-codegen-cuda` — its own [workspace] that links against @@ -126,6 +123,7 @@ jobs: - name: Run crate unit tests env: CUDA_TOOLKIT_PATH: ${{ steps.cuda-toolkit.outputs.CUDA_PATH }} + working-directory: cuda-oxide run: | sysroot="$(rustc --print sysroot)" export LIBRARY_PATH="${sysroot}/lib:${LIBRARY_PATH:-}" @@ -143,6 +141,7 @@ jobs: # exactly the diagnosis it exists to print). - name: cargo oxide doctor reaches its checks without the CUDA toolkit if: matrix.package == 'cargo-oxide' + working-directory: cuda-oxide run: | set -uo pipefail out="$(cargo run -p cargo-oxide -- doctor 2>&1)" || true @@ -183,9 +182,11 @@ jobs: # sources; it comes from rust-toolchain.toml's component list. - name: Check generated intrinsic outputs + working-directory: cuda-oxide run: cargo run -p cuda-intrinsics-gen -- check - name: Probe every declared LLVM-NVPTX target + working-directory: cuda-oxide run: | # Stock runners do not carry the recorded CUDA 13.3 ptxas binary. # Identity is llc version plus the rustc commit from upstream.lock; @@ -193,6 +194,7 @@ jobs: cargo run -p cuda-intrinsics-gen -- probe --all --skip-terminal --per-target - name: Check append-only intrinsic ABI ledger + working-directory: cuda-oxide run: | if [ "${{ github.event_name }}" = "pull_request" ]; then base_ref="${{ github.event.pull_request.base.sha }}" diff --git a/.gitignore b/.gitignore index e75b2c7567..dc77345d3c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,20 +1,9 @@ +# Cargo build output shared by the host and product workspaces. target/ -# `target/` above is for cargo build dirs; this source module is real code. -!cuda-oxide/crates/cuda-oxide-codegen/src/target/ -.smoketest-logs/ -.regress-gemm-sol/ -*.ptx -*.ltoir -*.target -*.options -.ltoir_arch -*.ll -*.bc +**/*.long-type-*.txt -# Generated intrinsic probes are checked-in fixtures. -!cuda-oxide/intrinsics/probes/*.ll +# Repository-wide editor and local tool state. .DS_Store -*.tar.gz .cursor/ .idea/ *.iml @@ -30,36 +19,10 @@ AGENTS.md # Internal design notes are maintained out-of-band (see cuda-oxide/cuda-oxide-book/ for the published book). /docs/ DESIGN.md -test.mlir /debug/ /tests/ -# Removed from codebase but may still exist locally -cuda-oxide/crates/ltoir-backend/ -cuda-oxide/crates/dialect-mir/src/passes/ - -# Rust compiler long type name files (generated for overly complex generic types) -**/*.long-type-*.txt - -# GPU compilation artifacts -.oxide-artifacts/ -**/.oxide-artifacts/ -*.cubin -*.identity -*.gpu -*.fatbin -vendor/ - -# Python virtual environments and caches +# Python environments and caches used by repository tooling. .venv/ -cuda-oxide/crates/rustc-codegen-cuda/examples/*/bench/venv/ __pycache__/ -**/__pycache__/ *.pyc - -# Locally-built bench helpers (compiled by bench/build.sh) -cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol/bench/cublaslt_bench -cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/bench/cublaslt_bench - -# cargo-oxide layered build cache (large, externally configured target dir) -/.layer-target/ diff --git a/.vscode/settings.json b/.vscode/settings.json index 9f11b326b9..f04c586f3e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -17,6 +17,8 @@ // rust-analyzer reports "Failed to load workspaces". "rust-analyzer.linkedProjects": [ "./Cargo.toml", + "./cuda-oxide/Cargo.toml", + "./cutile-rs/Cargo.toml", "./cuda-oxide/crates/rustc-codegen-cuda/Cargo.toml", "./cuda-oxide/crates/rustc-codegen-cuda/examples/debug_pointer_locals/Cargo.toml", "./cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/Cargo.toml", diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5cc33dfcba..e4a68ea5ba 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,9 +1,9 @@ -# Contributing to cuda-oxide +# Contributing to CUDA Rust -Thank you for your interest in contributing to cuda-oxide! This document +Thank you for your interest in contributing to CUDA Rust! This document explains the contribution process and requirements. -cuda-oxide is licensed under the [Apache License, Version 2.0](LICENSE). +CUDA Rust is licensed under the [Apache License, Version 2.0](LICENSE). ## Community @@ -23,7 +23,7 @@ If you are unsure whether something is worth a full issue or PR, the Discord ## Developer Certificate of Origin -cuda-oxide requires the Developer Certificate of Origin (DCO) process for all +CUDA Rust requires the Developer Certificate of Origin (DCO) process for all contributions. The DCO is a lightweight mechanism to certify that you wrote or otherwise have the right to submit the code you are contributing. @@ -113,16 +113,22 @@ sign-off will not be merged. ## Code Requirements -### Toolchain +### Toolchains + +The shared host crates at the repository root use the root stable pin. +Each product has its own workspace and toolchain under `cuda-oxide/` or +`cutile-rs/`. For Tile development, see [cutile-rs/CONTRIBUTING.md](cutile-rs/CONTRIBUTING.md). +The setup and validation commands below cover cuda-oxide. cuda-oxide requires the Rust nightly toolchain with `rustc_private` support. See the [README](README.md) for setup instructions. -The repository includes a `flake.nix` that provides a fully reproducible development -environment (CUDA 13, LLVM 22, Clang, pinned Rust nightly). If you have Nix with -flakes enabled, `nix develop` is the quickest way to get everything in place. +`cuda-oxide/flake.nix` provides the CUDA 13, LLVM 22, Clang, and pinned nightly +development environment. From the repository root, run `cd cuda-oxide` and +then `nix develop` with flakes enabled. Container setup is documented in +[cuda-oxide/.devcontainer/README.md](cuda-oxide/.devcontainer/README.md). -### Running the checks +### Running the cuda-oxide checks Most of CI is one command. The SIMT tree ships a `Justfile` that mirrors the workflows: @@ -146,13 +152,12 @@ hand even so. ### Formatting and Style -- Run `cargo oxide fmt` before submitting. All code must be formatted with - `rustfmt`. Use `cargo oxide fmt` rather than a bare `cargo fmt`: the codegen - backend, every example and the `cuda-macros` device-only test fixture are - each their own workspace, so `cargo fmt` at the repository root reaches none - of them, while the `fmt` CI job checks all four scopes and will fail on code - you never had a chance to format. `cargo oxide fmt` mirrors that job, nested - example workspaces included. +- Run `(cd cuda-oxide && cargo oxide fmt)` before submitting. All code must be + formatted with `rustfmt`. Use `cargo oxide fmt` rather than a bare + `cargo fmt`: the stable host workspace, SIMT workspace, codegen backend, + examples, and the `cuda-macros` device-only fixture are separate formatting + scopes. The command mirrors the `fmt` CI job, including the parent host + workspace in this merged repository and nested example workspaces. - Run clippy and address any warnings where reasonable. There is no single command covering its scopes, and it has more of them than `fmt`: the two workspaces below, plus one run per example, plus the nested example @@ -161,7 +166,7 @@ hand even so. running by hand are: ```bash - cargo clippy --workspace --all-targets -- -D warnings + (cd cuda-oxide && cargo clippy --workspace --all-targets -- -D warnings) (cd cuda-oxide/crates/rustc-codegen-cuda && cargo clippy --all-targets -- -D warnings) ``` - Follow existing code patterns and conventions in the crate you are @@ -189,7 +194,8 @@ HTML; `;` for LLVM IR), never the wording. Preserve existing copyright notices. Add a copyright notice only when you are the copyright holder or are authorized to name the holder. Vendored and other third-party files must keep their upstream license and copyright notices, and -must be attributed in `THIRD_PARTY_NOTICES` at the repository root. +must retain their attribution. Embedded cuda-oxide dependencies are recorded +in `cuda-oxide/THIRD_PARTY_NOTICES`. CI enforces this: `cuda-oxide/scripts/check-spdx-headers.sh` fails on any tracked source file missing the header (the `cargo-deny / every source file carries the SPDX @@ -243,7 +249,7 @@ error's `Display` names the library candidates the loader tried. ## IP Review Process -All contributions to cuda-oxide are subject to NVIDIA's IP review process. +All contributions to CUDA Rust are subject to NVIDIA's IP review process. Maintainers will ensure that contributions are reviewed in accordance with NVIDIA's open source policies before merging. diff --git a/Cargo.lock b/Cargo.lock index b3bdf7fc4b..427b364038 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11,149 +11,12 @@ dependencies = [ "memchr", ] -[[package]] -name = "allocator-api2" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" - -[[package]] -name = "anstream" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is_terminal_polyfill", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" - -[[package]] -name = "anstyle-parse" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" -dependencies = [ - "windows-sys 0.61.2", -] - -[[package]] -name = "anstyle-wincon" -version = "3.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" -dependencies = [ - "anstyle", - "once_cell_polyfill", - "windows-sys 0.61.2", -] - [[package]] name = "anyhow" version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3" -[[package]] -name = "arrayvec" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" - -[[package]] -name = "awint" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d48b7360a36d335663e8f20b7f439029debf52b5a0a749d6e936405f25045288" -dependencies = [ - "awint_core", - "awint_dag", - "awint_ext", - "awint_macro_internals", - "awint_macros", -] - -[[package]] -name = "awint_core" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8280079e78217ace721501f35dbf551dadf0ab63863504169316cea1bbac872" -dependencies = [ - "awint_internals", - "const_fn", -] - -[[package]] -name = "awint_dag" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73977ba1786a5e127272f08b865b60f5d548576a0925de1daa5703cc9ba78a8d" -dependencies = [ - "awint_ext", - "awint_macro_internals", - "awint_macros", - "smallvec", -] - -[[package]] -name = "awint_ext" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef1b30d3640d9f94dd9f55f655773c5238c11be6f95ab36d24308b7ae34c9bbc" -dependencies = [ - "awint_core", - "const_fn", -] - -[[package]] -name = "awint_internals" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "173937e3f4e233d93362fc1e28ab23808cb31671a1923033706cb44ed4e5d10c" -dependencies = [ - "const_fn", -] - -[[package]] -name = "awint_macro_internals" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2c6a23f64f14c3b566c2c04124015f78c5fb93e8275a6574e0118747ee60de6" -dependencies = [ - "awint_ext", - "proc-macro2", - "triple_arena", -] - -[[package]] -name = "awint_macros" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16e50a2862c6002a424fc9bb4982ec33ab679cb4ad04a174e2a52c2ecc3ea4c7" -dependencies = [ - "awint_internals", - "awint_macro_internals", -] - [[package]] name = "bindgen" version = "0.69.5" @@ -173,7 +36,7 @@ dependencies = [ "regex", "rustc-hash 1.1.0", "shlex", - "syn 2.0.117", + "syn", "which", ] @@ -184,41 +47,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3" [[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - -[[package]] -name = "bytemuck" -version = "1.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec" - -[[package]] -name = "bytes" -version = "1.11.1" +name = "cc" +version = "1.2.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" - -[[package]] -name = "cargo-oxide" -version = "0.2.1" +checksum = "43c5703da9466b66a946814e1adf53ea2c90f10063b86290cc9eb67ce3478a20" dependencies = [ - "clap", - "cuda-artifact-finalizer", - "libnvvm-sys", - "nvjitlink-sys", - "oxide-artifacts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "ptx-parse", - "ptx-schedule", - "reserved-oxide-symbols", - "serde_json", - "sha2", - "toml", + "find-msvc-tools", + "shlex", ] [[package]] @@ -247,86 +82,6 @@ dependencies = [ "libloading", ] -[[package]] -name = "clap" -version = "4.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ddb117e43bbf7dacf0a4190fef4d345b9bad68dfc649cb349e7d17d28428e51" -dependencies = [ - "clap_builder", - "clap_derive", -] - -[[package]] -name = "clap_builder" -version = "4.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", -] - -[[package]] -name = "clap_derive" -version = "4.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2ce8604710f6733aa641a2b3731eaa1e8b3d9973d5e3565da11800813f997a9" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn 2.0.117", -] - -[[package]] -name = "clap_lex" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" - -[[package]] -name = "colorchoice" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" - -[[package]] -name = "combine" -version = "4.6.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" -dependencies = [ - "bytes", - "memchr", -] - -[[package]] -name = "const_fn" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413d67b29ef1021b4d60f4aa1e925ca031751e213832b4b1d588fae623c05c60" - -[[package]] -name = "convert_case" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "affbf0190ed2caf063e3def54ff444b449371d55c58e513a95ab98eca50adb49" -dependencies = [ - "unicode-segmentation", -] - -[[package]] -name = "cpufeatures" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" -dependencies = [ - "libc", -] - [[package]] name = "crc32fast" version = "1.5.0" @@ -348,33 +103,9 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" -[[package]] -name = "crypto-common" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "cuda-artifact-finalizer" -version = "0.2.1" -dependencies = [ - "libnvvm-sys", - "nvjitlink-sys", - "serde", - "serde_json", - "sha2", - "thiserror 2.0.18", -] - [[package]] name = "cuda-async" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6d51fe2c9b1a89f4ac760d72a197761789f4e60db1d07d3f4d48de65a78adc9" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -382,131 +113,45 @@ dependencies = [ "dashmap", "futures", "half", + "loom", "once_cell", "rustc-hash 2.1.2", - "thiserror 1.0.69", + "thiserror", ] [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", "prettyplease", "proc-macro2", "quote", - "syn 2.0.117", + "syn", ] [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", "cuda-core-derive", "half", - "oxide-artifacts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.117", -] - -[[package]] -name = "cuda-device" -version = "0.2.1" -dependencies = [ - "cuda-macros", + "oxide-artifacts", "trybuild", ] [[package]] -name = "cuda-host" -version = "0.2.1" -dependencies = [ - "cuda-artifact-finalizer", - "cuda-async", - "cuda-core", - "cuda-device", - "cuda-macros", - "half", - "libc", - "libloading", - "oxide-artifacts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "ptx-parse", - "sha2", - "thiserror 2.0.18", -] - -[[package]] -name = "cuda-intrinsics" -version = "0.1.0" - -[[package]] -name = "cuda-intrinsics-gen" -version = "0.1.0" -dependencies = [ - "anyhow", - "cuda-target-spec", - "ptx-parse", - "serde", - "serde_json", - "sha2", - "toml", -] - -[[package]] -name = "cuda-macros" -version = "0.2.1" +name = "cuda-core-derive" +version = "0.4.0" dependencies = [ - "cuda-core", - "cuda-device", - "cuda-host", "proc-macro2", "quote", - "reserved-oxide-symbols", - "syn 2.0.117", - "trybuild", -] - -[[package]] -name = "cuda-oxide-codegen" -version = "0.1.0" -dependencies = [ - "cuda-target-spec", - "dialect-iket", - "dialect-mir", - "dialect-nvvm", - "iket-lower", - "libnvvm-sys", - "llvm-export", - "mir-lower", - "mir-transforms", - "nvvm-transforms", - "pliron", - "ptx-parse", - "rustc-demangle", - "tempfile", - "thiserror 2.0.18", + "syn", ] -[[package]] -name = "cuda-target-spec" -version = "0.1.0" - [[package]] name = "dashmap" version = "6.2.1" @@ -521,80 +166,6 @@ dependencies = [ "parking_lot_core", ] -[[package]] -name = "dialect-iket" -version = "0.1.0" -dependencies = [ - "combine", - "dyn-clone", - "linkme", - "pliron", - "pliron-derive", - "thiserror 2.0.18", -] - -[[package]] -name = "dialect-mir" -version = "0.2.1" -dependencies = [ - "combine", - "linkme", - "once_cell", - "pliron", - "pliron-derive", - "thiserror 2.0.18", -] - -[[package]] -name = "dialect-nvvm" -version = "0.2.1" -dependencies = [ - "combine", - "dialect-mir", - "dyn-clone", - "linkme", - "pliron", - "pliron-derive", - "thiserror 2.0.18", -] - -[[package]] -name = "dialect-ptx" -version = "0.1.0" -dependencies = [ - "pliron", - "pliron-derive", - "ptx-parse", -] - -[[package]] -name = "digest" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" -dependencies = [ - "block-buffer", - "crypto-common", -] - -[[package]] -name = "dissimilar" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeda16ab4059c5fd2a83f2b9c9e9c981327b18aa8e3b313f7e6563799d4f093e" - -[[package]] -name = "downcast-rs" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "117240f60069e65410b3ae1bb213295bd828f707b5bec6596a1afc8793ce0cbc" - -[[package]] -name = "dyn-clone" -version = "1.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" - [[package]] name = "either" version = "1.15.0" @@ -618,20 +189,10 @@ dependencies = [ ] [[package]] -name = "expect-test" -version = "1.5.1" +name = "find-msvc-tools" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63af43ff4431e848fb47472a920f14fa71c24de13255a5692e93d4e90302acb0" -dependencies = [ - "dissimilar", - "once_cell", -] - -[[package]] -name = "fastrand" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" +checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" [[package]] name = "foldhash" @@ -639,12 +200,6 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" -[[package]] -name = "foldhash" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" - [[package]] name = "futures" version = "0.3.32" @@ -701,7 +256,7 @@ checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.117", + "syn", ] [[package]] @@ -734,28 +289,18 @@ dependencies = [ ] [[package]] -name = "fuzzer" -version = "0.2.1" - -[[package]] -name = "generic-array" -version = "0.14.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "getrandom" -version = "0.4.3" +name = "generator" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +checksum = "b3b854b0e584ead1a33f18b2fcad7cf7be18b3875c78816b753639aa501513ae" dependencies = [ + "cc", "cfg-if", "libc", - "r-efi", + "log", + "rustversion", + "windows-link", + "windows-result", ] [[package]] @@ -787,7 +332,7 @@ version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" dependencies = [ - "foldhash 0.1.5", + "foldhash", ] [[package]] @@ -795,26 +340,6 @@ name = "hashbrown" version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" -dependencies = [ - "allocator-api2", - "equivalent", - "foldhash 0.2.0", -] - -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - -[[package]] -name = "hi_sparse_bitset" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad02fc3cac722c3c44c3ed708f6653e7d149b7912f7342fc1e8530455f84f0eb" -dependencies = [ - "wide", -] [[package]] name = "home" @@ -825,15 +350,6 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "iket-lower" -version = "0.1.0" -dependencies = [ - "dialect-iket", - "pliron", - "thiserror 2.0.18", -] - [[package]] name = "indexmap" version = "2.14.0" @@ -844,21 +360,6 @@ dependencies = [ "hashbrown 0.17.1", ] -[[package]] -name = "inventory" -version = "0.3.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4f0c30c76f2f4ccee3fe55a2435f691ca00c0e4bd87abe4f4a851b1d4dac39b" -dependencies = [ - "rustversion", -] - -[[package]] -name = "is_terminal_polyfill" -version = "1.70.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" - [[package]] name = "itertools" version = "0.12.1" @@ -902,66 +403,12 @@ dependencies = [ "windows-link", ] -[[package]] -name = "libnvvm-sys" -version = "0.2.1" -dependencies = [ - "cuda-target-spec", - "libloading", - "thiserror 2.0.18", -] - -[[package]] -name = "linkme" -version = "0.3.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e83272d46373fb8decca684579ac3e7c8f3d71d4cc3aa693df8759e260ae41cf" -dependencies = [ - "linkme-impl", -] - -[[package]] -name = "linkme-impl" -version = "0.3.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32d59e20403c7d08fe62b4376edfe5c7fb2ef1e6b1465379686d0f21c8df444b" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.117", -] - [[package]] name = "linux-raw-sys" version = "0.4.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" -[[package]] -name = "linux-raw-sys" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" - -[[package]] -name = "llvm-export" -version = "0.2.1" -dependencies = [ - "bitflags", - "combine", - "dyn-clone", - "expect-test", - "libnvvm-sys", - "linkme", - "log", - "pliron", - "pliron-derive", - "pliron-llvm", - "reserved-oxide-symbols", - "rustc-hash 2.1.2", - "thiserror 2.0.18", -] - [[package]] name = "lock_api" version = "0.4.14" @@ -978,65 +425,38 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" [[package]] -name = "memchr" -version = "2.8.0" +name = "loom" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" +checksum = "419e0dc8046cb947daa77eb95ae174acfbddb7673b4151f56d1eed8e93fbfaca" +dependencies = [ + "cfg-if", + "generator", + "scoped-tls", + "tracing", + "tracing-subscriber", +] [[package]] -name = "minimal-lexical" -version = "0.2.1" +name = "matchers" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - -[[package]] -name = "mir-importer" -version = "0.2.1" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" dependencies = [ - "combine", - "cuda-oxide-codegen", - "dialect-iket", - "dialect-mir", - "dialect-nvvm", - "linkme", - "llvm-export", - "mir-lower", - "once_cell", - "oxide-artifacts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "pliron", - "pliron-derive", - "reserved-oxide-symbols", - "rustc-hash 2.1.2", - "thiserror 2.0.18", + "regex-automata", ] [[package]] -name = "mir-lower" -version = "0.2.1" -dependencies = [ - "anyhow", - "combine", - "dialect-mir", - "dialect-nvvm", - "llvm-export", - "mir-transforms", - "pliron", - "pliron-derive", - "reserved-oxide-symbols", - "rustc-hash 2.1.2", - "thiserror 2.0.18", -] +name = "memchr" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" [[package]] -name = "mir-transforms" +name = "minimal-lexical" version = "0.2.1" -dependencies = [ - "dialect-mir", - "pliron", - "reserved-oxide-symbols", - "rustc-hash 2.1.2", - "thiserror 2.0.18", -] +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "nom" @@ -1049,19 +469,12 @@ dependencies = [ ] [[package]] -name = "nvjitlink-sys" -version = "0.2.1" -dependencies = [ - "libloading", - "thiserror 2.0.18", -] - -[[package]] -name = "nvvm-transforms" -version = "0.2.1" +name = "nu-ansi-term" +version = "0.50.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "llvm-export", - "pliron", + "windows-sys 0.61.2", ] [[package]] @@ -1082,25 +495,6 @@ version = "1.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" -[[package]] -name = "once_cell_polyfill" -version = "1.70.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" - -[[package]] -name = "once_vec" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a6298074a1742b584aaca148a6c61ecb27f0b55fdf237c235939c84924377a1" - -[[package]] -name = "oxide-artifacts" -version = "0.2.1" -dependencies = [ - "object", -] - [[package]] name = "oxide-artifacts" version = "0.2.1" @@ -1129,58 +523,6 @@ version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" -[[package]] -name = "pliron" -version = "0.18.0" -source = "git+https://github.com/pliron-org/pliron?rev=06d99a3df938394583715aacf5eadb65b4791c09#06d99a3df938394583715aacf5eadb65b4791c09" -dependencies = [ - "awint", - "combine", - "downcast-rs", - "dyn-clone", - "hashbrown 0.17.1", - "hi_sparse_bitset", - "indexmap", - "inventory", - "linkme", - "log", - "once_vec", - "pliron-derive", - "regex", - "rustc-hash 2.1.2", - "rustc_apfloat", - "slotmap", - "smallvec", - "spin", - "thiserror 2.0.18", - "utf8-chars", -] - -[[package]] -name = "pliron-derive" -version = "0.18.0" -source = "git+https://github.com/pliron-org/pliron?rev=06d99a3df938394583715aacf5eadb65b4791c09#06d99a3df938394583715aacf5eadb65b4791c09" -dependencies = [ - "combine", - "convert_case", - "indexmap", - "proc-macro2", - "quote", - "rustc-hash 2.1.2", - "syn 3.0.3", -] - -[[package]] -name = "pliron-llvm" -version = "0.18.0" -source = "git+https://github.com/pliron-org/pliron?rev=06d99a3df938394583715aacf5eadb65b4791c09#06d99a3df938394583715aacf5eadb65b4791c09" -dependencies = [ - "bitflags", - "log", - "pliron", - "thiserror 2.0.18", -] - [[package]] name = "prettyplease" version = "0.2.37" @@ -1188,7 +530,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" dependencies = [ "proc-macro2", - "syn 2.0.117", + "syn", ] [[package]] @@ -1200,23 +542,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "ptx-parse" -version = "0.1.0" - -[[package]] -name = "ptx-schedule" -version = "0.1.0" -dependencies = [ - "clap", - "dialect-ptx", - "oxide-artifacts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "ptx-parse", - "serde", - "serde_json", - "thiserror 2.0.18", -] - [[package]] name = "quote" version = "1.0.45" @@ -1226,18 +551,6 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "r-efi" -version = "6.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" - -[[package]] -name = "recasting" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70aeee1a07922bfe7c79e148553dee262248d2493d9778eee7551b9b5d7cc651" - [[package]] name = "redox_syscall" version = "0.5.18" @@ -1276,16 +589,6 @@ version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a" -[[package]] -name = "reserved-oxide-symbols" -version = "0.2.1" - -[[package]] -name = "rustc-demangle" -version = "0.1.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b74b56ffa8bb2830709a538c2cbcae9aa062db0d2a42563bfb09bdaae44020eb" - [[package]] name = "rustc-hash" version = "1.1.0" @@ -1298,16 +601,6 @@ version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe" -[[package]] -name = "rustc_apfloat" -version = "0.2.3+llvm-462a31f5a5ab" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "486c2179b4796f65bfe2ee33679acf0927ac83ecf583ad6c91c3b4570911b9ad" -dependencies = [ - "bitflags", - "smallvec", -] - [[package]] name = "rustix" version = "0.38.44" @@ -1317,23 +610,10 @@ dependencies = [ "bitflags", "errno", "libc", - "linux-raw-sys 0.4.15", + "linux-raw-sys", "windows-sys 0.59.0", ] -[[package]] -name = "rustix" -version = "1.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" -dependencies = [ - "bitflags", - "errno", - "libc", - "linux-raw-sys 0.12.1", - "windows-sys 0.61.2", -] - [[package]] name = "rustversion" version = "1.0.22" @@ -1341,13 +621,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] -name = "safe_arch" -version = "0.7.4" +name = "scoped-tls" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96b02de82ddbe1b636e6170c21be622223aea188ef2e139be0a5b219ec215323" -dependencies = [ - "bytemuck", -] +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" [[package]] name = "scopeguard" @@ -1362,7 +639,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" dependencies = [ "serde_core", - "serde_derive", ] [[package]] @@ -1382,7 +658,7 @@ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", - "syn 2.0.117", + "syn", ] [[package]] @@ -1408,14 +684,12 @@ dependencies = [ ] [[package]] -name = "sha2" -version = "0.10.9" +name = "sharded-slab" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" dependencies = [ - "cfg-if", - "cpufeatures", - "digest", + "lazy_static", ] [[package]] @@ -1430,36 +704,12 @@ version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" -[[package]] -name = "slotmap" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdd58c3c93c3d278ca835519292445cb4b0d4dc59ccfdf7ceadaab3f8aeb4038" -dependencies = [ - "version_check", -] - [[package]] name = "smallvec" version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" -[[package]] -name = "spin" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1527984ca054dfca79333baec451042863f485fbee01b7bf6d911de915cac865" -dependencies = [ - "lock_api", -] - -[[package]] -name = "strsim" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" - [[package]] name = "syn" version = "2.0.117" @@ -1471,36 +721,12 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "syn" -version = "3.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - [[package]] name = "target-triple" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "591ef38edfb78ca4771ee32cf494cb8771944bee237a9b91fc9c1424ac4b777b" -[[package]] -name = "tempfile" -version = "3.27.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" -dependencies = [ - "fastrand", - "getrandom", - "once_cell", - "rustix 1.1.4", - "windows-sys 0.61.2", -] - [[package]] name = "termcolor" version = "1.4.1" @@ -1516,16 +742,7 @@ version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" dependencies = [ - "thiserror-impl 1.0.69", -] - -[[package]] -name = "thiserror" -version = "2.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" -dependencies = [ - "thiserror-impl 2.0.18", + "thiserror-impl", ] [[package]] @@ -1536,18 +753,16 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.117", + "syn", ] [[package]] -name = "thiserror-impl" -version = "2.0.18" +name = "thread_local" +version = "1.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" +checksum = "1ad99c4c6d32803332c548b1af0540b357b3f5fc0be8f6c6bfe8b2e6ae784070" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.117", + "cfg-if", ] [[package]] @@ -1590,12 +805,52 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "756daf9b1013ebe47a8776667b466417e2d4c5679d441c26230efd9ef78692db" [[package]] -name = "triple_arena" -version = "0.14.0" +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "pin-project-lite", + "tracing-core", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", + "valuable", +] + +[[package]] +name = "tracing-log" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a99051ec05383f70bcab71884d39083a455257795e71cb780048a4bc890f3b8" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" dependencies = [ - "recasting", + "log", + "once_cell", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.3.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319" +dependencies = [ + "matchers", + "nu-ansi-term", + "once_cell", + "regex-automata", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", ] [[package]] @@ -1613,12 +868,6 @@ dependencies = [ "toml", ] -[[package]] -name = "typenum" -version = "1.20.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" - [[package]] name = "unicode-ident" version = "1.0.24" @@ -1626,31 +875,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] -name = "unicode-segmentation" -version = "1.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c" - -[[package]] -name = "utf8-chars" -version = "3.0.7" +name = "valuable" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92498c67ea3511b37eccff13b573ed871faf0ce9c4056ab032bd01a681f445a0" -dependencies = [ - "arrayvec", -] - -[[package]] -name = "utf8parse" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" - -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" +checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "which" @@ -1661,17 +889,7 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.44", -] - -[[package]] -name = "wide" -version = "0.7.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ce5da8ecb62bcd8ec8b7ea19f69a51275e91299be594ea5cc6ef7819e16cd03" -dependencies = [ - "bytemuck", - "safe_arch", + "rustix", ] [[package]] @@ -1689,6 +907,15 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link", +] + [[package]] name = "windows-sys" version = "0.59.0" @@ -1794,7 +1021,7 @@ checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.117", + "syn", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index d199d93db6..e27f86ecc4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,132 +1,18 @@ [workspace] resolver = "3" members = [ - # Core crates - "cuda-oxide/crates/cuda-target-spec", - "cuda-oxide/crates/cuda-intrinsics", - "cuda-oxide/crates/cuda-intrinsics-gen", - "cuda-oxide/crates/ptx-parse", - "cuda-oxide/crates/ptx-schedule", - "cuda-oxide/crates/dialect-ptx", - "cuda-oxide/crates/cuda-device", - "cuda-oxide/crates/cuda-artifact-finalizer", - "cuda-oxide/crates/cuda-host", - "cuda-oxide/crates/cuda-macros", - "cuda-oxide/crates/llvm-export", - "cuda-oxide/crates/dialect-mir", - "cuda-oxide/crates/dialect-iket", - "cuda-oxide/crates/dialect-nvvm", - "cuda-oxide/crates/mir-importer", - "cuda-oxide/crates/cuda-oxide-codegen", - "cuda-oxide/crates/mir-lower", - "cuda-oxide/crates/iket-lower", - "cuda-oxide/crates/mir-transforms", - "cuda-oxide/crates/nvvm-transforms", - "cuda-oxide/crates/cargo-oxide", - "cuda-oxide/crates/oxide-artifacts", - # FFI bindings - # cuda-bindings, cuda-core, and cuda-async are the host-side crates shared - # with cutile-rs and published from NVlabs/cutile-rs; the cuda-oxide SIMT - # surface lives under their `simt` modules. The local copies are gone. - "cuda-oxide/crates/libnvvm-sys", - "cuda-oxide/crates/nvjitlink-sys", - # Internal naming contract (workspace-private; publish = false) - "cuda-oxide/crates/reserved-oxide-symbols", - # Differential codegen fuzzer support - "cuda-oxide/crates/fuzzer", + # Stable host-side crates shared by the Tile and SIMT components. + # Package metadata and dependencies stay in each crate so this workspace + # does not impose CUDA Oxide's nightly toolchain or edition. + "cuda-bindings", + "cuda-core", + "cuda-core-derive", + "cuda-async", +] +# Nested workspaces. Without these, Cargo treats crates under them as part of +# this workspace and `edition.workspace = true` in cuda-device (etc.) looks at +# this manifest, which has no [workspace.package]. +exclude = [ + "cuda-oxide", + "cutile-rs", ] - -[workspace.package] -edition = "2024" -authors = ["Nihal Pasham "] -license = "Apache-2.0" -repository = "https://github.com/NVlabs/cuda-oxide.git" - -# Note: cuda-oxide/crates/rustc-codegen-cuda is NOT a workspace member because it requires -# special rustc nightly features and a different build process. -# Build and run examples with: cargo oxide run -# Examples are in: cuda-oxide/crates/rustc-codegen-cuda/examples/ - -[workspace.dependencies] -# Pliron MLIR framework, pinned to upstream struct-layout, GEP no-wrap, volatile, -# global-constant, inline-asm, and generic LLVM attribute semantics. -# pliron-llvm uses default-features = false to keep llvm-sys (LLVM 23) out: -# cuda-oxide consumes the dialect modeling only, not the FFI bridge. -# `cuda-oxide/crates/rustc-codegen-cuda/Cargo.toml` MUST stay on this same rev, or pliron -# resolves to two distinct crates and types stop unifying. -pliron = { git = "https://github.com/pliron-org/pliron", rev = "06d99a3df938394583715aacf5eadb65b4791c09" } -pliron-derive = { git = "https://github.com/pliron-org/pliron", rev = "06d99a3df938394583715aacf5eadb65b4791c09" } -pliron-llvm = { git = "https://github.com/pliron-org/pliron", rev = "06d99a3df938394583715aacf5eadb65b4791c09", default-features = false, features = [ - "std", -] } - -# Internal crates -cuda-target-spec = { path = "cuda-oxide/crates/cuda-target-spec" } -llvm-export = { path = "cuda-oxide/crates/llvm-export" } -dialect-mir = { path = "cuda-oxide/crates/dialect-mir" } -dialect-iket = { path = "cuda-oxide/crates/dialect-iket" } -dialect-ptx = { path = "cuda-oxide/crates/dialect-ptx" } -dialect-nvvm = { path = "cuda-oxide/crates/dialect-nvvm" } -mir-lower = { path = "cuda-oxide/crates/mir-lower" } -iket-lower = { path = "cuda-oxide/crates/iket-lower" } -mir-importer = { path = "cuda-oxide/crates/mir-importer" } -cuda-oxide-codegen = { path = "cuda-oxide/crates/cuda-oxide-codegen" } -mir-transforms = { path = "cuda-oxide/crates/mir-transforms" } -nvvm-transforms = { path = "cuda-oxide/crates/nvvm-transforms" } -cuda-device = { path = "cuda-oxide/crates/cuda-device" } -cuda-artifact-finalizer = { path = "cuda-oxide/crates/cuda-artifact-finalizer" } -cuda-host = { path = "cuda-oxide/crates/cuda-host" } -# No default features: `host` is opt-in per member, so that depending on -# cuda-device does not unify the host surface back on for kernel-only crates. -# `cuda-host` names `features = ["host"]`, so anything that loads or launches a -# module still gets it. -cuda-macros = { path = "cuda-oxide/crates/cuda-macros", default-features = false } -cuda-bindings = "0.3.1" -cuda-core = "0.3.1" -cuda-async = "0.3.1" -libnvvm-sys = { path = "cuda-oxide/crates/libnvvm-sys" } -nvjitlink-sys = { path = "cuda-oxide/crates/nvjitlink-sys" } -reserved-oxide-symbols = { path = "cuda-oxide/crates/reserved-oxide-symbols" } -fuzzer = { path = "cuda-oxide/crates/fuzzer" } -# The crates.io release, not the in-tree path: the shared cuda-core (cutile-rs) -# reads artifact bundles through crates.io oxide-artifacts, and a path copy of -# the same version is a second crate to rustc. cuda-oxide/crates/oxide-artifacts -# stays in the workspace as the source this release is published from; bump, -# publish, then move this line. -# cuda-oxide/scripts/check-oxide-artifacts-parity.sh keeps them equal. -oxide-artifacts = "0.2.1" -ptx-parse = { path = "cuda-oxide/crates/ptx-parse" } -ptx-schedule = { path = "cuda-oxide/crates/ptx-schedule" } - -# Common dependencies -futures = "0.3" -thiserror = "2" -linkme = "0.3" -anyhow = "1.0" -once_cell = "1.18" -combine = "4.6" -log = "0.4" -half = "2.7" -libloading = "0.8" -sha2 = "0.10" -serde = { version = "1", features = ["derive"] } -serde_json = "1" -toml = "1" -tempfile = "3.9" -rustc-demangle = "0.1" - -# llvm-export deps -rustc-hash = "2.0" -bitflags = "2.0" -dyn-clone = "1.0" - -# cuda-macros deps -quote = "1.0" -syn = { version = "2.0", features = ["full", "visit", "visit-mut"] } -proc-macro2 = { version = "1.0", features = ["span-locations"] } - -# `cargo oxide` runs through the workspace's dev-profile Cargo alias. Its -# backend fingerprint hashes a large debug shared object on every invocation; -# optimize only SHA-256 so exact content fingerprinting remains inexpensive. -[profile.dev.package.sha2] -opt-level = 3 diff --git a/README.md b/README.md index aebff28322..7557776b1f 100644 --- a/README.md +++ b/README.md @@ -169,11 +169,15 @@ On first run, `cargo-oxide` will automatically fetch and build the codegen backe #### Nix (alternative) -If you have Nix with flakes enabled, `nix develop` in the repo gives you a reproducible shell with CUDA 13, LLVM 22, Clang, and the pinned Rust nightly — no manual apt installs. The shellHook auto-discovers host NVIDIA drivers on NixOS and non-NixOS systems. +If you have Nix with flakes enabled, `nix develop` from `cuda-oxide/` gives you a reproducible shell with CUDA 13, LLVM 22, Clang, and the pinned Rust nightly — no manual apt installs. The shellHook auto-discovers host NVIDIA drivers on NixOS and non-NixOS systems. ```bash -nix develop # full dev shell in this repo -nix run github:NVlabs/cuda-oxide#new my-project # bootstrap a project +# From the repository root: +cd cuda-oxide +nix develop + +# Or bootstrap a project without cloning: +nix run 'github:NVIDIA/cuda-rust?dir=cuda-oxide#new' -- my-project ``` #### Rust @@ -233,7 +237,7 @@ sudo apt install clang-21 # or libclang-common-21-dev #### Dev Container -The repository includes a standard devcontainer setup in `.devcontainer/` for a +The repository includes a devcontainer setup in `cuda-oxide/.devcontainer/` for a reproducible CUDA, LLVM, Clang, and Rust environment. See the [installation chapter](cuda-oxide/cuda-oxide-book/getting-started/installation.md#dev-container) for editor and CLI usage. diff --git a/cuda-async/Cargo.toml b/cuda-async/Cargo.toml new file mode 100644 index 0000000000..29a2eef8cf --- /dev/null +++ b/cuda-async/Cargo.toml @@ -0,0 +1,39 @@ +[package] +name = "cuda-async" +version = "0.4.0" +edition = "2021" +rust-version = "1.89" +license = "Apache-2.0" +authors = ["Melih Elibol"] +repository = "https://github.com/nvlabs/cutile-rs" +readme = "README.md" +description = "Safe Async CUDA support via Async Rust." + +[dependencies] +# Sibling paths, not the root workspace entries; see cuda-core/Cargo.toml. +cuda-core = { version = "=0.4.0", path = "../cuda-core" } +rustc-hash = "2.0" +cuda-bindings = { version = "=0.4.0", path = "../cuda-bindings" } +half = { version = "2" } +futures = "0.3" +anyhow = "1" +thiserror = "1" +dashmap = "6" +once_cell = "1.19" + +# `loom` model-checks the slot_table completion protocol; test-only, pulled in +# solely under `--cfg loom` (e.g. `RUSTFLAGS="--cfg loom" cargo test`). +[target.'cfg(loom)'.dev-dependencies] +loom = "0.7" + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } + +[lints.clippy] +all = { level = "deny", priority = -1 } +missing_safety_doc = "allow" +type_complexity = "allow" +too_many_arguments = "allow" +needless_range_loop = "allow" +large_enum_variant = "allow" +single_range_in_vec_init = "allow" diff --git a/cutile-rs/cuda-async/REACTOR_AB_REPORT.md b/cuda-async/REACTOR_AB_REPORT.md similarity index 100% rename from cutile-rs/cuda-async/REACTOR_AB_REPORT.md rename to cuda-async/REACTOR_AB_REPORT.md diff --git a/cutile-rs/cuda-async/README.md b/cuda-async/README.md similarity index 100% rename from cutile-rs/cuda-async/README.md rename to cuda-async/README.md diff --git a/cutile-rs/cuda-async/src/cuda_graph.rs b/cuda-async/src/cuda_graph.rs similarity index 100% rename from cutile-rs/cuda-async/src/cuda_graph.rs rename to cuda-async/src/cuda_graph.rs diff --git a/cutile-rs/cuda-async/src/device_buffer.rs b/cuda-async/src/device_buffer.rs similarity index 100% rename from cutile-rs/cuda-async/src/device_buffer.rs rename to cuda-async/src/device_buffer.rs diff --git a/cutile-rs/cuda-async/src/device_context.rs b/cuda-async/src/device_context.rs similarity index 100% rename from cutile-rs/cuda-async/src/device_context.rs rename to cuda-async/src/device_context.rs diff --git a/cutile-rs/cuda-async/src/device_future.rs b/cuda-async/src/device_future.rs similarity index 100% rename from cutile-rs/cuda-async/src/device_future.rs rename to cuda-async/src/device_future.rs diff --git a/cutile-rs/cuda-async/src/device_operation.rs b/cuda-async/src/device_operation.rs similarity index 100% rename from cutile-rs/cuda-async/src/device_operation.rs rename to cuda-async/src/device_operation.rs diff --git a/cutile-rs/cuda-async/src/error.rs b/cuda-async/src/error.rs similarity index 100% rename from cutile-rs/cuda-async/src/error.rs rename to cuda-async/src/error.rs diff --git a/cutile-rs/cuda-async/src/launch.rs b/cuda-async/src/launch.rs similarity index 100% rename from cutile-rs/cuda-async/src/launch.rs rename to cuda-async/src/launch.rs diff --git a/cutile-rs/cuda-async/src/leak.rs b/cuda-async/src/leak.rs similarity index 100% rename from cutile-rs/cuda-async/src/leak.rs rename to cuda-async/src/leak.rs diff --git a/cutile-rs/cuda-async/src/lib.rs b/cuda-async/src/lib.rs similarity index 100% rename from cutile-rs/cuda-async/src/lib.rs rename to cuda-async/src/lib.rs diff --git a/cutile-rs/cuda-async/src/loom_compat.rs b/cuda-async/src/loom_compat.rs similarity index 100% rename from cutile-rs/cuda-async/src/loom_compat.rs rename to cuda-async/src/loom_compat.rs diff --git a/cutile-rs/cuda-async/src/predicate.rs b/cuda-async/src/predicate.rs similarity index 100% rename from cutile-rs/cuda-async/src/predicate.rs rename to cuda-async/src/predicate.rs diff --git a/cutile-rs/cuda-async/src/prelude.rs b/cuda-async/src/prelude.rs similarity index 100% rename from cutile-rs/cuda-async/src/prelude.rs rename to cuda-async/src/prelude.rs diff --git a/cutile-rs/cuda-async/src/reactor.rs b/cuda-async/src/reactor.rs similarity index 100% rename from cutile-rs/cuda-async/src/reactor.rs rename to cuda-async/src/reactor.rs diff --git a/cutile-rs/cuda-async/src/scheduling_policies.rs b/cuda-async/src/scheduling_policies.rs similarity index 100% rename from cutile-rs/cuda-async/src/scheduling_policies.rs rename to cuda-async/src/scheduling_policies.rs diff --git a/cutile-rs/cuda-async/src/simt/device_box.rs b/cuda-async/src/simt/device_box.rs similarity index 100% rename from cutile-rs/cuda-async/src/simt/device_box.rs rename to cuda-async/src/simt/device_box.rs diff --git a/cutile-rs/cuda-async/src/simt/device_context.rs b/cuda-async/src/simt/device_context.rs similarity index 100% rename from cutile-rs/cuda-async/src/simt/device_context.rs rename to cuda-async/src/simt/device_context.rs diff --git a/cutile-rs/cuda-async/src/simt/device_future.rs b/cuda-async/src/simt/device_future.rs similarity index 100% rename from cutile-rs/cuda-async/src/simt/device_future.rs rename to cuda-async/src/simt/device_future.rs diff --git a/cutile-rs/cuda-async/src/simt/device_operation.rs b/cuda-async/src/simt/device_operation.rs similarity index 100% rename from cutile-rs/cuda-async/src/simt/device_operation.rs rename to cuda-async/src/simt/device_operation.rs diff --git a/cutile-rs/cuda-async/src/simt/error.rs b/cuda-async/src/simt/error.rs similarity index 100% rename from cutile-rs/cuda-async/src/simt/error.rs rename to cuda-async/src/simt/error.rs diff --git a/cutile-rs/cuda-async/src/simt/launch.rs b/cuda-async/src/simt/launch.rs similarity index 100% rename from cutile-rs/cuda-async/src/simt/launch.rs rename to cuda-async/src/simt/launch.rs diff --git a/cutile-rs/cuda-async/src/simt/mod.rs b/cuda-async/src/simt/mod.rs similarity index 100% rename from cutile-rs/cuda-async/src/simt/mod.rs rename to cuda-async/src/simt/mod.rs diff --git a/cutile-rs/cuda-async/src/simt/reclaim.rs b/cuda-async/src/simt/reclaim.rs similarity index 100% rename from cutile-rs/cuda-async/src/simt/reclaim.rs rename to cuda-async/src/simt/reclaim.rs diff --git a/cutile-rs/cuda-async/src/simt/scheduling_policies.rs b/cuda-async/src/simt/scheduling_policies.rs similarity index 100% rename from cutile-rs/cuda-async/src/simt/scheduling_policies.rs rename to cuda-async/src/simt/scheduling_policies.rs diff --git a/cutile-rs/cuda-async/src/slot_table.rs b/cuda-async/src/slot_table.rs similarity index 100% rename from cutile-rs/cuda-async/src/slot_table.rs rename to cuda-async/src/slot_table.rs diff --git a/cutile-rs/cuda-async/src/submission.rs b/cuda-async/src/submission.rs similarity index 100% rename from cutile-rs/cuda-async/src/submission.rs rename to cuda-async/src/submission.rs diff --git a/cutile-rs/cuda-async/tests/concurrent_capture.rs b/cuda-async/tests/concurrent_capture.rs similarity index 100% rename from cutile-rs/cuda-async/tests/concurrent_capture.rs rename to cuda-async/tests/concurrent_capture.rs diff --git a/cutile-rs/cuda-async/tests/cuda_graph.rs b/cuda-async/tests/cuda_graph.rs similarity index 100% rename from cutile-rs/cuda-async/tests/cuda_graph.rs rename to cuda-async/tests/cuda_graph.rs diff --git a/cutile-rs/cuda-async/tests/device_fault.rs b/cuda-async/tests/device_fault.rs similarity index 100% rename from cutile-rs/cuda-async/tests/device_fault.rs rename to cuda-async/tests/device_fault.rs diff --git a/cutile-rs/cuda-async/tests/drop_in_flight.rs b/cuda-async/tests/drop_in_flight.rs similarity index 100% rename from cutile-rs/cuda-async/tests/drop_in_flight.rs rename to cuda-async/tests/drop_in_flight.rs diff --git a/cutile-rs/cuda-async/tests/error_handling.rs b/cuda-async/tests/error_handling.rs similarity index 100% rename from cutile-rs/cuda-async/tests/error_handling.rs rename to cuda-async/tests/error_handling.rs diff --git a/cutile-rs/cuda-async/tests/execute_once.rs b/cuda-async/tests/execute_once.rs similarity index 100% rename from cutile-rs/cuda-async/tests/execute_once.rs rename to cuda-async/tests/execute_once.rs diff --git a/cutile-rs/cuda-async/tests/execution_lock.rs b/cuda-async/tests/execution_lock.rs similarity index 100% rename from cutile-rs/cuda-async/tests/execution_lock.rs rename to cuda-async/tests/execution_lock.rs diff --git a/cutile-rs/cuda-async/tests/pool_allocation.rs b/cuda-async/tests/pool_allocation.rs similarity index 100% rename from cutile-rs/cuda-async/tests/pool_allocation.rs rename to cuda-async/tests/pool_allocation.rs diff --git a/cutile-rs/cuda-async/tests/reactor_correctness.rs b/cuda-async/tests/reactor_correctness.rs similarity index 100% rename from cutile-rs/cuda-async/tests/reactor_correctness.rs rename to cuda-async/tests/reactor_correctness.rs diff --git a/cuda-bindings/Cargo.toml b/cuda-bindings/Cargo.toml new file mode 100644 index 0000000000..473e1fae67 --- /dev/null +++ b/cuda-bindings/Cargo.toml @@ -0,0 +1,35 @@ +[package] +name = "cuda-bindings" +version = "0.4.0" +authors = ["Melih Elibol"] +edition = "2021" +rust-version = "1.89" +description = "NVIDIA CUDA bindings." +readme = "README.md" +license = "Apache-2.0" +repository = "https://github.com/nvlabs/cutile-rs" + +[lib] +doctest = false + +[dependencies] +libloading = "0.8" + +[build-dependencies] +bindgen = "0.69.4" +prettyplease = "0.2.35" +proc-macro2 = { version = "1", features = ["span-locations"] } +quote = "1.0.35" +syn = { version = "2.0", features = ["full", "extra-traits", "visit", "visit-mut", "fold"] } + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } + +[lints.clippy] +all = { level = "deny", priority = -1 } +missing_safety_doc = "allow" +type_complexity = "allow" +too_many_arguments = "allow" +needless_range_loop = "allow" +large_enum_variant = "allow" +single_range_in_vec_init = "allow" diff --git a/cutile-rs/cuda-bindings/README.md b/cuda-bindings/README.md similarity index 100% rename from cutile-rs/cuda-bindings/README.md rename to cuda-bindings/README.md diff --git a/cutile-rs/cuda-bindings/build.rs b/cuda-bindings/build.rs similarity index 100% rename from cutile-rs/cuda-bindings/build.rs rename to cuda-bindings/build.rs diff --git a/cutile-rs/cuda-bindings/src/dyn_load.rs b/cuda-bindings/src/dyn_load.rs similarity index 100% rename from cutile-rs/cuda-bindings/src/dyn_load.rs rename to cuda-bindings/src/dyn_load.rs diff --git a/cutile-rs/cuda-bindings/src/lib.rs b/cuda-bindings/src/lib.rs similarity index 100% rename from cutile-rs/cuda-bindings/src/lib.rs rename to cuda-bindings/src/lib.rs diff --git a/cutile-rs/cuda-bindings/tests/fn_ptr_coercion.rs b/cuda-bindings/tests/fn_ptr_coercion.rs similarity index 100% rename from cutile-rs/cuda-bindings/tests/fn_ptr_coercion.rs rename to cuda-bindings/tests/fn_ptr_coercion.rs diff --git a/cutile-rs/cuda-bindings/tests/toolkit_target.rs b/cuda-bindings/tests/toolkit_target.rs similarity index 100% rename from cutile-rs/cuda-bindings/tests/toolkit_target.rs rename to cuda-bindings/tests/toolkit_target.rs diff --git a/cutile-rs/cuda-bindings/toolkit_target.rs b/cuda-bindings/toolkit_target.rs similarity index 100% rename from cutile-rs/cuda-bindings/toolkit_target.rs rename to cuda-bindings/toolkit_target.rs diff --git a/cutile-rs/cuda-bindings/wrapper.h b/cuda-bindings/wrapper.h similarity index 100% rename from cutile-rs/cuda-bindings/wrapper.h rename to cuda-bindings/wrapper.h diff --git a/cuda-core-derive/Cargo.toml b/cuda-core-derive/Cargo.toml new file mode 100644 index 0000000000..7bebcc7c3d --- /dev/null +++ b/cuda-core-derive/Cargo.toml @@ -0,0 +1,29 @@ +[package] +name = "cuda-core-derive" +description = "Derive macro for cuda-core's DeviceCopy trait." +version = "0.4.0" +edition = "2021" +rust-version = "1.89" +license = "Apache-2.0" +authors = ["Melih Elibol"] +repository = "https://github.com/nvlabs/cutile-rs" + +[lib] +proc-macro = true + +[dependencies] +proc-macro2 = { version = "1", features = ["span-locations"] } +quote = "1.0.35" +syn = { version = "2.0", features = ["full", "extra-traits", "visit", "visit-mut", "fold"] } + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } + +[lints.clippy] +all = { level = "deny", priority = -1 } +missing_safety_doc = "allow" +type_complexity = "allow" +too_many_arguments = "allow" +needless_range_loop = "allow" +large_enum_variant = "allow" +single_range_in_vec_init = "allow" diff --git a/cutile-rs/cuda-core-derive/src/device_copy.rs b/cuda-core-derive/src/device_copy.rs similarity index 100% rename from cutile-rs/cuda-core-derive/src/device_copy.rs rename to cuda-core-derive/src/device_copy.rs diff --git a/cutile-rs/cuda-core-derive/src/lib.rs b/cuda-core-derive/src/lib.rs similarity index 100% rename from cutile-rs/cuda-core-derive/src/lib.rs rename to cuda-core-derive/src/lib.rs diff --git a/cuda-core/Cargo.toml b/cuda-core/Cargo.toml new file mode 100644 index 0000000000..2ef3b79c76 --- /dev/null +++ b/cuda-core/Cargo.toml @@ -0,0 +1,39 @@ +[package] +name = "cuda-core" +description = "Idiomatic CUDA API." +version = "0.4.0" +edition = "2021" +rust-version = "1.89" +license = "Apache-2.0" +authors = ["Melih Elibol"] +repository = "https://github.com/nvlabs/cutile-rs" +readme = "README.md" + +[dependencies] +# Sibling paths, not the root workspace entries: those name the published +# release that cuda-oxide consumes, and inheriting them here would make this +# copy depend on a crates.io cuda-bindings instead of the one beside it. +cuda-bindings = { version = "=0.4.0", path = "../cuda-bindings" } +cuda-core-derive = { version = "=0.4.0", path = "../cuda-core-derive" } +anyhow = "1" +half = { version = "2" } +oxide-artifacts = { version = "0.2.1", features = ["object-read"] } + +[dev-dependencies] +trybuild = "1" + +[features] +# Nightly-only: DeviceCopy for the unstable f16 primitive. +f16 = [] + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } + +[lints.clippy] +all = { level = "deny", priority = -1 } +missing_safety_doc = "allow" +type_complexity = "allow" +too_many_arguments = "allow" +needless_range_loop = "allow" +large_enum_variant = "allow" +single_range_in_vec_init = "allow" diff --git a/cutile-rs/cuda-core/README.md b/cuda-core/README.md similarity index 100% rename from cutile-rs/cuda-core/README.md rename to cuda-core/README.md diff --git a/cutile-rs/cuda-core/build.rs b/cuda-core/build.rs similarity index 100% rename from cutile-rs/cuda-core/build.rs rename to cuda-core/build.rs diff --git a/cutile-rs/cuda-core/src/api.rs b/cuda-core/src/api.rs similarity index 100% rename from cutile-rs/cuda-core/src/api.rs rename to cuda-core/src/api.rs diff --git a/cutile-rs/cuda-core/src/cudarc_shim.rs b/cuda-core/src/cudarc_shim.rs similarity index 100% rename from cutile-rs/cuda-core/src/cudarc_shim.rs rename to cuda-core/src/cudarc_shim.rs diff --git a/cutile-rs/cuda-core/src/dtype.rs b/cuda-core/src/dtype.rs similarity index 100% rename from cutile-rs/cuda-core/src/dtype.rs rename to cuda-core/src/dtype.rs diff --git a/cutile-rs/cuda-core/src/error.rs b/cuda-core/src/error.rs similarity index 100% rename from cutile-rs/cuda-core/src/error.rs rename to cuda-core/src/error.rs diff --git a/cutile-rs/cuda-core/src/lib.rs b/cuda-core/src/lib.rs similarity index 100% rename from cutile-rs/cuda-core/src/lib.rs rename to cuda-core/src/lib.rs diff --git a/cutile-rs/cuda-core/src/runtime.rs b/cuda-core/src/runtime.rs similarity index 100% rename from cutile-rs/cuda-core/src/runtime.rs rename to cuda-core/src/runtime.rs diff --git a/cutile-rs/cuda-core/src/simt/context.rs b/cuda-core/src/simt/context.rs similarity index 100% rename from cutile-rs/cuda-core/src/simt/context.rs rename to cuda-core/src/simt/context.rs diff --git a/cutile-rs/cuda-core/src/simt/device_buffer.rs b/cuda-core/src/simt/device_buffer.rs similarity index 100% rename from cutile-rs/cuda-core/src/simt/device_buffer.rs rename to cuda-core/src/simt/device_buffer.rs diff --git a/cutile-rs/cuda-core/src/simt/embedded.rs b/cuda-core/src/simt/embedded.rs similarity index 100% rename from cutile-rs/cuda-core/src/simt/embedded.rs rename to cuda-core/src/simt/embedded.rs diff --git a/cutile-rs/cuda-core/src/simt/event.rs b/cuda-core/src/simt/event.rs similarity index 100% rename from cutile-rs/cuda-core/src/simt/event.rs rename to cuda-core/src/simt/event.rs diff --git a/cutile-rs/cuda-core/src/simt/launch.rs b/cuda-core/src/simt/launch.rs similarity index 100% rename from cutile-rs/cuda-core/src/simt/launch.rs rename to cuda-core/src/simt/launch.rs diff --git a/cutile-rs/cuda-core/src/simt/memory.rs b/cuda-core/src/simt/memory.rs similarity index 100% rename from cutile-rs/cuda-core/src/simt/memory.rs rename to cuda-core/src/simt/memory.rs diff --git a/cutile-rs/cuda-core/src/simt/mod.rs b/cuda-core/src/simt/mod.rs similarity index 100% rename from cutile-rs/cuda-core/src/simt/mod.rs rename to cuda-core/src/simt/mod.rs diff --git a/cutile-rs/cuda-core/src/simt/module.rs b/cuda-core/src/simt/module.rs similarity index 100% rename from cutile-rs/cuda-core/src/simt/module.rs rename to cuda-core/src/simt/module.rs diff --git a/cutile-rs/cuda-core/src/simt/peer.rs b/cuda-core/src/simt/peer.rs similarity index 100% rename from cutile-rs/cuda-core/src/simt/peer.rs rename to cuda-core/src/simt/peer.rs diff --git a/cutile-rs/cuda-core/src/simt/pinned_host_buffer.rs b/cuda-core/src/simt/pinned_host_buffer.rs similarity index 100% rename from cutile-rs/cuda-core/src/simt/pinned_host_buffer.rs rename to cuda-core/src/simt/pinned_host_buffer.rs diff --git a/cutile-rs/cuda-core/src/simt/stream.rs b/cuda-core/src/simt/stream.rs similarity index 100% rename from cutile-rs/cuda-core/src/simt/stream.rs rename to cuda-core/src/simt/stream.rs diff --git a/cutile-rs/cuda-core/src/simt/vmm.rs b/cuda-core/src/simt/vmm.rs similarity index 100% rename from cutile-rs/cuda-core/src/simt/vmm.rs rename to cuda-core/src/simt/vmm.rs diff --git a/cutile-rs/cuda-core/src/vmm.rs b/cuda-core/src/vmm.rs similarity index 100% rename from cutile-rs/cuda-core/src/vmm.rs rename to cuda-core/src/vmm.rs diff --git a/cutile-rs/cuda-core/tests/borrow_raw.rs b/cuda-core/tests/borrow_raw.rs similarity index 100% rename from cutile-rs/cuda-core/tests/borrow_raw.rs rename to cuda-core/tests/borrow_raw.rs diff --git a/cutile-rs/cuda-core/tests/derive_device_copy/fail_enum.rs b/cuda-core/tests/derive_device_copy/fail_enum.rs similarity index 100% rename from cutile-rs/cuda-core/tests/derive_device_copy/fail_enum.rs rename to cuda-core/tests/derive_device_copy/fail_enum.rs diff --git a/cutile-rs/cuda-core/tests/derive_device_copy/fail_enum.stderr b/cuda-core/tests/derive_device_copy/fail_enum.stderr similarity index 100% rename from cutile-rs/cuda-core/tests/derive_device_copy/fail_enum.stderr rename to cuda-core/tests/derive_device_copy/fail_enum.stderr diff --git a/cutile-rs/cuda-core/tests/derive_device_copy/fail_non_device_copy_field.rs b/cuda-core/tests/derive_device_copy/fail_non_device_copy_field.rs similarity index 100% rename from cutile-rs/cuda-core/tests/derive_device_copy/fail_non_device_copy_field.rs rename to cuda-core/tests/derive_device_copy/fail_non_device_copy_field.rs diff --git a/cutile-rs/cuda-core/tests/derive_device_copy/fail_non_device_copy_field.stderr b/cuda-core/tests/derive_device_copy/fail_non_device_copy_field.stderr similarity index 100% rename from cutile-rs/cuda-core/tests/derive_device_copy/fail_non_device_copy_field.stderr rename to cuda-core/tests/derive_device_copy/fail_non_device_copy_field.stderr diff --git a/cutile-rs/cuda-core/tests/derive_device_copy/pass_structs.rs b/cuda-core/tests/derive_device_copy/pass_structs.rs similarity index 100% rename from cutile-rs/cuda-core/tests/derive_device_copy/pass_structs.rs rename to cuda-core/tests/derive_device_copy/pass_structs.rs diff --git a/cutile-rs/cuda-core/tests/derive_device_copy/pass_union.rs b/cuda-core/tests/derive_device_copy/pass_union.rs similarity index 100% rename from cutile-rs/cuda-core/tests/derive_device_copy/pass_union.rs rename to cuda-core/tests/derive_device_copy/pass_union.rs diff --git a/cutile-rs/cuda-core/tests/launch_contract/fail_private_construction.rs b/cuda-core/tests/launch_contract/fail_private_construction.rs similarity index 100% rename from cutile-rs/cuda-core/tests/launch_contract/fail_private_construction.rs rename to cuda-core/tests/launch_contract/fail_private_construction.rs diff --git a/cutile-rs/cuda-core/tests/launch_contract/fail_private_construction.stderr b/cuda-core/tests/launch_contract/fail_private_construction.stderr similarity index 100% rename from cutile-rs/cuda-core/tests/launch_contract/fail_private_construction.stderr rename to cuda-core/tests/launch_contract/fail_private_construction.stderr diff --git a/cutile-rs/cuda-core/tests/launch_contract/fail_private_mutation.rs b/cuda-core/tests/launch_contract/fail_private_mutation.rs similarity index 100% rename from cutile-rs/cuda-core/tests/launch_contract/fail_private_mutation.rs rename to cuda-core/tests/launch_contract/fail_private_mutation.rs diff --git a/cutile-rs/cuda-core/tests/launch_contract/fail_private_mutation.stderr b/cuda-core/tests/launch_contract/fail_private_mutation.stderr similarity index 100% rename from cutile-rs/cuda-core/tests/launch_contract/fail_private_mutation.stderr rename to cuda-core/tests/launch_contract/fail_private_mutation.stderr diff --git a/cutile-rs/cuda-core/tests/launch_contract/fail_wrong_brand.rs b/cuda-core/tests/launch_contract/fail_wrong_brand.rs similarity index 100% rename from cutile-rs/cuda-core/tests/launch_contract/fail_wrong_brand.rs rename to cuda-core/tests/launch_contract/fail_wrong_brand.rs diff --git a/cutile-rs/cuda-core/tests/launch_contract/fail_wrong_brand.stderr b/cuda-core/tests/launch_contract/fail_wrong_brand.stderr similarity index 100% rename from cutile-rs/cuda-core/tests/launch_contract/fail_wrong_brand.stderr rename to cuda-core/tests/launch_contract/fail_wrong_brand.stderr diff --git a/cutile-rs/cuda-core/tests/launch_contract/fail_wrong_rank.rs b/cuda-core/tests/launch_contract/fail_wrong_rank.rs similarity index 100% rename from cutile-rs/cuda-core/tests/launch_contract/fail_wrong_rank.rs rename to cuda-core/tests/launch_contract/fail_wrong_rank.rs diff --git a/cutile-rs/cuda-core/tests/launch_contract/fail_wrong_rank.stderr b/cuda-core/tests/launch_contract/fail_wrong_rank.stderr similarity index 100% rename from cutile-rs/cuda-core/tests/launch_contract/fail_wrong_rank.stderr rename to cuda-core/tests/launch_contract/fail_wrong_rank.stderr diff --git a/cutile-rs/cuda-core/tests/simt_context_limits.rs b/cuda-core/tests/simt_context_limits.rs similarity index 100% rename from cutile-rs/cuda-core/tests/simt_context_limits.rs rename to cuda-core/tests/simt_context_limits.rs diff --git a/cutile-rs/cuda-core/tests/simt_context_sync_policy.rs b/cuda-core/tests/simt_context_sync_policy.rs similarity index 100% rename from cutile-rs/cuda-core/tests/simt_context_sync_policy.rs rename to cuda-core/tests/simt_context_sync_policy.rs diff --git a/cutile-rs/cuda-core/tests/simt_device_buffer.rs b/cuda-core/tests/simt_device_buffer.rs similarity index 100% rename from cutile-rs/cuda-core/tests/simt_device_buffer.rs rename to cuda-core/tests/simt_device_buffer.rs diff --git a/cutile-rs/cuda-core/tests/simt_device_buffer_leaks.rs b/cuda-core/tests/simt_device_buffer_leaks.rs similarity index 100% rename from cutile-rs/cuda-core/tests/simt_device_buffer_leaks.rs rename to cuda-core/tests/simt_device_buffer_leaks.rs diff --git a/cutile-rs/cuda-core/tests/simt_device_copy_derive.rs b/cuda-core/tests/simt_device_copy_derive.rs similarity index 100% rename from cutile-rs/cuda-core/tests/simt_device_copy_derive.rs rename to cuda-core/tests/simt_device_copy_derive.rs diff --git a/cutile-rs/cuda-core/tests/simt_device_copy_impls.rs b/cuda-core/tests/simt_device_copy_impls.rs similarity index 100% rename from cutile-rs/cuda-core/tests/simt_device_copy_impls.rs rename to cuda-core/tests/simt_device_copy_impls.rs diff --git a/cutile-rs/cuda-core/tests/simt_launch_contract_types.rs b/cuda-core/tests/simt_launch_contract_types.rs similarity index 100% rename from cutile-rs/cuda-core/tests/simt_launch_contract_types.rs rename to cuda-core/tests/simt_launch_contract_types.rs diff --git a/cutile-rs/cuda-core/tests/simt_pinned_host_buffer.rs b/cuda-core/tests/simt_pinned_host_buffer.rs similarity index 100% rename from cutile-rs/cuda-core/tests/simt_pinned_host_buffer.rs rename to cuda-core/tests/simt_pinned_host_buffer.rs diff --git a/cutile-rs/cuda-core/tests/simt_stream_priority.rs b/cuda-core/tests/simt_stream_priority.rs similarity index 100% rename from cutile-rs/cuda-core/tests/simt_stream_priority.rs rename to cuda-core/tests/simt_stream_priority.rs diff --git a/cutile-rs/cuda-core/tests/simt_stream_query.rs b/cuda-core/tests/simt_stream_query.rs similarity index 100% rename from cutile-rs/cuda-core/tests/simt_stream_query.rs rename to cuda-core/tests/simt_stream_query.rs diff --git a/cutile-rs/cuda-core/tests/simt_vmm_multicast.rs b/cuda-core/tests/simt_vmm_multicast.rs similarity index 100% rename from cutile-rs/cuda-core/tests/simt_vmm_multicast.rs rename to cuda-core/tests/simt_vmm_multicast.rs diff --git a/cutile-rs/cuda-core/tests/simt_vmm_p2p.rs b/cuda-core/tests/simt_vmm_p2p.rs similarity index 100% rename from cutile-rs/cuda-core/tests/simt_vmm_p2p.rs rename to cuda-core/tests/simt_vmm_p2p.rs diff --git a/cutile-rs/cuda-core/tests/vmm.rs b/cuda-core/tests/vmm.rs similarity index 100% rename from cutile-rs/cuda-core/tests/vmm.rs rename to cuda-core/tests/vmm.rs diff --git a/cutile-rs/cuda-core/tests/vmm_multicast.rs b/cuda-core/tests/vmm_multicast.rs similarity index 100% rename from cutile-rs/cuda-core/tests/vmm_multicast.rs rename to cuda-core/tests/vmm_multicast.rs diff --git a/cuda-oxide/.devcontainer/.dockerignore b/cuda-oxide/.devcontainer/.dockerignore new file mode 100644 index 0000000000..335d9a4a9f --- /dev/null +++ b/cuda-oxide/.devcontainer/.dockerignore @@ -0,0 +1,6 @@ +# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 + +# This image installs its tools without copying repository files. +# Source code is mounted at runtime; keep the build context empty. +* diff --git a/.devcontainer/Dockerfile b/cuda-oxide/.devcontainer/Dockerfile similarity index 97% rename from .devcontainer/Dockerfile rename to cuda-oxide/.devcontainer/Dockerfile index 979b511d4c..a92200f9ea 100644 --- a/.devcontainer/Dockerfile +++ b/cuda-oxide/.devcontainer/Dockerfile @@ -43,6 +43,6 @@ RUN apt-get update \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -WORKDIR /workspaces/cuda-oxide +WORKDIR /workspaces/cuda-rust/cuda-oxide CMD ["/bin/bash"] diff --git a/cuda-oxide/.devcontainer/README.md b/cuda-oxide/.devcontainer/README.md new file mode 100644 index 0000000000..26f3fbd4a5 --- /dev/null +++ b/cuda-oxide/.devcontainer/README.md @@ -0,0 +1,60 @@ +# cuda-oxide Dev Container + +This dev container provides the toolchain expected by cuda-oxide: + +- Ubuntu 24.04 +- CUDA Toolkit 13.0 +- LLVM 21 with NVPTX support +- Clang 21 resource headers for `bindgen` +- Rust `nightly-2026-08-28` with `rust-src`, `rustc-dev`, `rust-analyzer`, + `rustfmt` and `clippy`. `llvm-tools` is not preinstalled in the image; + rustup adds it on your first cargo command under `cuda-oxide/`, because + `cuda-oxide/rust-toolchain.toml` names it. The image ships LLVM 21 and + `CUDA_OXIDE_LLC` already points at `llc-21`, so nothing waits on it. + +Open the repository's `cuda-oxide/` folder in a devcontainer-aware editor and +choose "Reopen in Container". For example, run `code cuda-oxide` from the +repository root. The editor discovers `cuda-oxide/.devcontainer/devcontainer.json`. +The container requests GPU access with `--gpus=all` and uses +`updateRemoteUserUID` so generated Cargo artifacts and exported PTX files stay +writable from the host checkout. + +The whole repository is mounted at `/workspaces/cuda-rust`, including the shared +host crates next to `cuda-oxide/`. The editor and commands start in +`/workspaces/cuda-rust/cuda-oxide`. The checkout directory on the host can have +any name. The Docker build context is only `.devcontainer/`; repository files +are mounted when the container starts, rather than copied into the image. + +For CLI usage, run these commands from the repository root: + +```bash +npx -y @devcontainers/cli up \ + --workspace-folder ./cuda-oxide \ + --config ./cuda-oxide/.devcontainer/devcontainer.json +npx -y @devcontainers/cli exec \ + --workspace-folder ./cuda-oxide \ + --config ./cuda-oxide/.devcontainer/devcontainer.json cargo oxide doctor +npx -y @devcontainers/cli exec \ + --workspace-folder ./cuda-oxide \ + --config ./cuda-oxide/.devcontainer/devcontainer.json cargo oxide run vecadd +``` + +Inside an editor terminal in the container, run: + +```bash +cargo oxide doctor +cargo oxide run vecadd +``` + +The CUDA Toolkit is provided by the container image; it does not need to be +installed on the host. The host must provide an NVIDIA GPU, a driver compatible +with CUDA 13.0, and the NVIDIA Container Toolkit so Docker can expose the GPU +to the container. + +If the host driver is too old, GPU commands such as `nvidia-smi`, +`cargo oxide doctor`, or `cargo oxide run vecadd` will fail inside the +container. Update the host NVIDIA driver rather than installing a different +CUDA Toolkit in the container. + +The image does not set `LD_LIBRARY_PATH`; the NVIDIA Container Toolkit should +provide the host driver libraries at runtime. diff --git a/.devcontainer/devcontainer-lock.json b/cuda-oxide/.devcontainer/devcontainer-lock.json similarity index 100% rename from .devcontainer/devcontainer-lock.json rename to cuda-oxide/.devcontainer/devcontainer-lock.json diff --git a/.devcontainer/devcontainer.json b/cuda-oxide/.devcontainer/devcontainer.json similarity index 86% rename from .devcontainer/devcontainer.json rename to cuda-oxide/.devcontainer/devcontainer.json index 61ee7b1067..577857720e 100644 --- a/.devcontainer/devcontainer.json +++ b/cuda-oxide/.devcontainer/devcontainer.json @@ -2,8 +2,10 @@ "name": "cuda-oxide", "build": { "dockerfile": "Dockerfile", - "context": ".." + "context": "." }, + "workspaceMount": "source=${localWorkspaceFolder}/..,target=/workspaces/cuda-rust,type=bind", + "workspaceFolder": "/workspaces/cuda-rust/cuda-oxide", "features": { "ghcr.io/devcontainers/features/common-utils:2": { "username": "vscode", diff --git a/cuda-oxide/.gitattributes b/cuda-oxide/.gitattributes new file mode 100644 index 0000000000..b38cd1a8bd --- /dev/null +++ b/cuda-oxide/.gitattributes @@ -0,0 +1 @@ +intrinsics/probes/*.ll whitespace=-blank-at-eof diff --git a/cuda-oxide/.gitignore b/cuda-oxide/.gitignore new file mode 100644 index 0000000000..9f14ab24a8 --- /dev/null +++ b/cuda-oxide/.gitignore @@ -0,0 +1,39 @@ +# This source module is real code, despite the shared target/ ignore rule. +!crates/cuda-oxide-codegen/src/target/ + +# Local validation logs and build caches. +.smoketest-logs/ +.regress-gemm-sol/ +/.layer-target/ +*.tar.gz + +# GPU compilation artifacts. +*.ptx +*.ltoir +*.target +*.options +.ltoir_arch +*.ll +*.bc +*.cubin +*.identity +*.gpu +*.fatbin +.oxide-artifacts/ +vendor/ + +# Generated intrinsic probes are checked-in fixtures. +!intrinsics/probes/*.ll + +# Local experiments and removed compiler implementations. +/docs/ +/debug/ +/tests/ +test.mlir +crates/ltoir-backend/ +crates/dialect-mir/src/passes/ + +# Benchmark environments and locally built helpers. +crates/rustc-codegen-cuda/examples/*/bench/venv/ +crates/rustc-codegen-cuda/examples/gemm_sol/bench/cublaslt_bench +crates/rustc-codegen-cuda/examples/gemm_sol_final/bench/cublaslt_bench diff --git a/.markdownlint.json b/cuda-oxide/.markdownlint.json similarity index 100% rename from .markdownlint.json rename to cuda-oxide/.markdownlint.json diff --git a/cuda-oxide/Cargo.lock b/cuda-oxide/Cargo.lock new file mode 100644 index 0000000000..5bb9ee62fa --- /dev/null +++ b/cuda-oxide/Cargo.lock @@ -0,0 +1,1796 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aho-corasick" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" +dependencies = [ + "memchr", +] + +[[package]] +name = "allocator-api2" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" + +[[package]] +name = "anstream" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is_terminal_polyfill", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" + +[[package]] +name = "anstyle-parse" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" +dependencies = [ + "anstyle", + "once_cell_polyfill", + "windows-sys 0.61.2", +] + +[[package]] +name = "anyhow" +version = "1.0.103" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3" + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "awint" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d48b7360a36d335663e8f20b7f439029debf52b5a0a749d6e936405f25045288" +dependencies = [ + "awint_core", + "awint_dag", + "awint_ext", + "awint_macro_internals", + "awint_macros", +] + +[[package]] +name = "awint_core" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8280079e78217ace721501f35dbf551dadf0ab63863504169316cea1bbac872" +dependencies = [ + "awint_internals", + "const_fn", +] + +[[package]] +name = "awint_dag" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73977ba1786a5e127272f08b865b60f5d548576a0925de1daa5703cc9ba78a8d" +dependencies = [ + "awint_ext", + "awint_macro_internals", + "awint_macros", + "smallvec", +] + +[[package]] +name = "awint_ext" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef1b30d3640d9f94dd9f55f655773c5238c11be6f95ab36d24308b7ae34c9bbc" +dependencies = [ + "awint_core", + "const_fn", +] + +[[package]] +name = "awint_internals" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "173937e3f4e233d93362fc1e28ab23808cb31671a1923033706cb44ed4e5d10c" +dependencies = [ + "const_fn", +] + +[[package]] +name = "awint_macro_internals" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2c6a23f64f14c3b566c2c04124015f78c5fb93e8275a6574e0118747ee60de6" +dependencies = [ + "awint_ext", + "proc-macro2", + "triple_arena", +] + +[[package]] +name = "awint_macros" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16e50a2862c6002a424fc9bb4982ec33ab679cb4ad04a174e2a52c2ecc3ea4c7" +dependencies = [ + "awint_internals", + "awint_macro_internals", +] + +[[package]] +name = "bindgen" +version = "0.69.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088" +dependencies = [ + "bitflags", + "cexpr", + "clang-sys", + "itertools", + "lazy_static", + "lazycell", + "log", + "prettyplease", + "proc-macro2", + "quote", + "regex", + "rustc-hash 1.1.0", + "shlex", + "syn 2.0.117", + "which", +] + +[[package]] +name = "bitflags" +version = "2.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3" + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "bytemuck" +version = "1.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec" + +[[package]] +name = "bytes" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" + +[[package]] +name = "cargo-oxide" +version = "0.2.1" +dependencies = [ + "clap", + "cuda-artifact-finalizer", + "libnvvm-sys", + "nvjitlink-sys", + "oxide-artifacts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "ptx-parse", + "ptx-schedule", + "reserved-oxide-symbols", + "serde_json", + "sha2", + "toml", +] + +[[package]] +name = "cexpr" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" +dependencies = [ + "nom", +] + +[[package]] +name = "cfg-if" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" + +[[package]] +name = "clang-sys" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" +dependencies = [ + "glob", + "libc", + "libloading", +] + +[[package]] +name = "clap" +version = "4.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ddb117e43bbf7dacf0a4190fef4d345b9bad68dfc649cb349e7d17d28428e51" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap_builder" +version = "4.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f" +dependencies = [ + "anstream", + "anstyle", + "clap_lex", + "strsim", +] + +[[package]] +name = "clap_derive" +version = "4.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2ce8604710f6733aa641a2b3731eaa1e8b3d9973d5e3565da11800813f997a9" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "clap_lex" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" + +[[package]] +name = "colorchoice" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" + +[[package]] +name = "combine" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" +dependencies = [ + "bytes", + "memchr", +] + +[[package]] +name = "const_fn" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413d67b29ef1021b4d60f4aa1e925ca031751e213832b4b1d588fae623c05c60" + +[[package]] +name = "convert_case" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "affbf0190ed2caf063e3def54ff444b449371d55c58e513a95ab98eca50adb49" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "crc32fast" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17" + +[[package]] +name = "crunchy" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "cuda-artifact-finalizer" +version = "0.2.1" +dependencies = [ + "libnvvm-sys", + "nvjitlink-sys", + "serde", + "serde_json", + "sha2", + "thiserror 2.0.18", +] + +[[package]] +name = "cuda-async" +version = "0.4.0" +dependencies = [ + "anyhow", + "cuda-bindings", + "cuda-core", + "dashmap", + "futures", + "half", + "once_cell", + "rustc-hash 2.1.2", + "thiserror 1.0.69", +] + +[[package]] +name = "cuda-bindings" +version = "0.4.0" +dependencies = [ + "bindgen", + "libloading", + "prettyplease", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "cuda-core" +version = "0.4.0" +dependencies = [ + "anyhow", + "cuda-bindings", + "cuda-core-derive", + "half", + "oxide-artifacts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "cuda-core-derive" +version = "0.4.0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "cuda-device" +version = "0.2.1" +dependencies = [ + "cuda-macros", + "trybuild", +] + +[[package]] +name = "cuda-host" +version = "0.2.1" +dependencies = [ + "cuda-artifact-finalizer", + "cuda-async", + "cuda-core", + "cuda-device", + "cuda-macros", + "half", + "libc", + "libloading", + "oxide-artifacts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "ptx-parse", + "sha2", + "thiserror 2.0.18", +] + +[[package]] +name = "cuda-intrinsics" +version = "0.1.0" + +[[package]] +name = "cuda-intrinsics-gen" +version = "0.1.0" +dependencies = [ + "anyhow", + "cuda-target-spec", + "ptx-parse", + "serde", + "serde_json", + "sha2", + "toml", +] + +[[package]] +name = "cuda-macros" +version = "0.2.1" +dependencies = [ + "cuda-core", + "cuda-device", + "cuda-host", + "proc-macro2", + "quote", + "reserved-oxide-symbols", + "syn 2.0.117", + "trybuild", +] + +[[package]] +name = "cuda-oxide-codegen" +version = "0.1.0" +dependencies = [ + "cuda-target-spec", + "dialect-iket", + "dialect-mir", + "dialect-nvvm", + "iket-lower", + "libnvvm-sys", + "llvm-export", + "mir-lower", + "mir-transforms", + "nvvm-transforms", + "pliron", + "ptx-parse", + "rustc-demangle", + "tempfile", + "thiserror 2.0.18", +] + +[[package]] +name = "cuda-target-spec" +version = "0.1.0" + +[[package]] +name = "dashmap" +version = "6.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c" +dependencies = [ + "cfg-if", + "crossbeam-utils", + "hashbrown 0.14.5", + "lock_api", + "once_cell", + "parking_lot_core", +] + +[[package]] +name = "dialect-iket" +version = "0.1.0" +dependencies = [ + "combine", + "dyn-clone", + "linkme", + "pliron", + "pliron-derive", + "thiserror 2.0.18", +] + +[[package]] +name = "dialect-mir" +version = "0.2.1" +dependencies = [ + "combine", + "linkme", + "once_cell", + "pliron", + "pliron-derive", + "thiserror 2.0.18", +] + +[[package]] +name = "dialect-nvvm" +version = "0.2.1" +dependencies = [ + "combine", + "dialect-mir", + "dyn-clone", + "linkme", + "pliron", + "pliron-derive", + "thiserror 2.0.18", +] + +[[package]] +name = "dialect-ptx" +version = "0.1.0" +dependencies = [ + "pliron", + "pliron-derive", + "ptx-parse", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer", + "crypto-common", +] + +[[package]] +name = "dissimilar" +version = "1.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aeda16ab4059c5fd2a83f2b9c9e9c981327b18aa8e3b313f7e6563799d4f093e" + +[[package]] +name = "downcast-rs" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "117240f60069e65410b3ae1bb213295bd828f707b5bec6596a1afc8793ce0cbc" + +[[package]] +name = "dyn-clone" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" + +[[package]] +name = "either" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "expect-test" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63af43ff4431e848fb47472a920f14fa71c24de13255a5692e93d4e90302acb0" +dependencies = [ + "dissimilar", + "once_cell", +] + +[[package]] +name = "fastrand" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[package]] +name = "foldhash" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" + +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + +[[package]] +name = "futures" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d" + +[[package]] +name = "futures-executor" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718" + +[[package]] +name = "futures-macro" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "futures-sink" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893" + +[[package]] +name = "futures-task" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393" + +[[package]] +name = "futures-util" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[package]] +name = "fuzzer" +version = "0.2.1" + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "libc", + "r-efi", +] + +[[package]] +name = "glob" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" + +[[package]] +name = "half" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" +dependencies = [ + "cfg-if", + "crunchy", + "zerocopy", +] + +[[package]] +name = "hashbrown" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" + +[[package]] +name = "hashbrown" +version = "0.15.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" +dependencies = [ + "foldhash 0.1.5", +] + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash 0.2.0", +] + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hi_sparse_bitset" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad02fc3cac722c3c44c3ed708f6653e7d149b7912f7342fc1e8530455f84f0eb" +dependencies = [ + "wide", +] + +[[package]] +name = "home" +version = "0.5.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc627f471c528ff0c4a49e1d5e60450c8f6461dd6d10ba9dcd3a61d3dff7728d" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "iket-lower" +version = "0.1.0" +dependencies = [ + "dialect-iket", + "pliron", + "thiserror 2.0.18", +] + +[[package]] +name = "indexmap" +version = "2.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" +dependencies = [ + "equivalent", + "hashbrown 0.17.1", +] + +[[package]] +name = "inventory" +version = "0.3.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4f0c30c76f2f4ccee3fe55a2435f691ca00c0e4bd87abe4f4a851b1d4dac39b" +dependencies = [ + "rustversion", +] + +[[package]] +name = "is_terminal_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" + +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "lazy_static" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" + +[[package]] +name = "lazycell" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" + +[[package]] +name = "libc" +version = "0.2.186" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66" + +[[package]] +name = "libloading" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" +dependencies = [ + "cfg-if", + "windows-link", +] + +[[package]] +name = "libnvvm-sys" +version = "0.2.1" +dependencies = [ + "cuda-target-spec", + "libloading", + "thiserror 2.0.18", +] + +[[package]] +name = "linkme" +version = "0.3.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e83272d46373fb8decca684579ac3e7c8f3d71d4cc3aa693df8759e260ae41cf" +dependencies = [ + "linkme-impl", +] + +[[package]] +name = "linkme-impl" +version = "0.3.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32d59e20403c7d08fe62b4376edfe5c7fb2ef1e6b1465379686d0f21c8df444b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "linux-raw-sys" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" + +[[package]] +name = "linux-raw-sys" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" + +[[package]] +name = "llvm-export" +version = "0.2.1" +dependencies = [ + "bitflags", + "combine", + "dyn-clone", + "expect-test", + "libnvvm-sys", + "linkme", + "log", + "pliron", + "pliron-derive", + "pliron-llvm", + "reserved-oxide-symbols", + "rustc-hash 2.1.2", + "thiserror 2.0.18", +] + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" + +[[package]] +name = "memchr" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "mir-importer" +version = "0.2.1" +dependencies = [ + "combine", + "cuda-oxide-codegen", + "dialect-iket", + "dialect-mir", + "dialect-nvvm", + "linkme", + "llvm-export", + "mir-lower", + "once_cell", + "oxide-artifacts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "pliron", + "pliron-derive", + "reserved-oxide-symbols", + "rustc-hash 2.1.2", + "thiserror 2.0.18", +] + +[[package]] +name = "mir-lower" +version = "0.2.1" +dependencies = [ + "anyhow", + "combine", + "dialect-mir", + "dialect-nvvm", + "llvm-export", + "mir-transforms", + "pliron", + "pliron-derive", + "reserved-oxide-symbols", + "rustc-hash 2.1.2", + "thiserror 2.0.18", +] + +[[package]] +name = "mir-transforms" +version = "0.2.1" +dependencies = [ + "dialect-mir", + "pliron", + "reserved-oxide-symbols", + "rustc-hash 2.1.2", + "thiserror 2.0.18", +] + +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + +[[package]] +name = "nvjitlink-sys" +version = "0.2.1" +dependencies = [ + "libloading", + "thiserror 2.0.18", +] + +[[package]] +name = "nvvm-transforms" +version = "0.2.1" +dependencies = [ + "llvm-export", + "pliron", +] + +[[package]] +name = "object" +version = "0.36.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" +dependencies = [ + "crc32fast", + "hashbrown 0.15.5", + "indexmap", + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" + +[[package]] +name = "once_vec" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6298074a1742b584aaca148a6c61ecb27f0b55fdf237c235939c84924377a1" + +[[package]] +name = "oxide-artifacts" +version = "0.2.1" +dependencies = [ + "object", +] + +[[package]] +name = "oxide-artifacts" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74d9a941c0c43d2dceaf25f5c9ca4c9f9cceb28dfa5e4e3cfd14e476f003e7c9" +dependencies = [ + "object", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-link", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pliron" +version = "0.18.0" +source = "git+https://github.com/pliron-org/pliron?rev=06d99a3df938394583715aacf5eadb65b4791c09#06d99a3df938394583715aacf5eadb65b4791c09" +dependencies = [ + "awint", + "combine", + "downcast-rs", + "dyn-clone", + "hashbrown 0.17.1", + "hi_sparse_bitset", + "indexmap", + "inventory", + "linkme", + "log", + "once_vec", + "pliron-derive", + "regex", + "rustc-hash 2.1.2", + "rustc_apfloat", + "slotmap", + "smallvec", + "spin", + "thiserror 2.0.18", + "utf8-chars", +] + +[[package]] +name = "pliron-derive" +version = "0.18.0" +source = "git+https://github.com/pliron-org/pliron?rev=06d99a3df938394583715aacf5eadb65b4791c09#06d99a3df938394583715aacf5eadb65b4791c09" +dependencies = [ + "combine", + "convert_case", + "indexmap", + "proc-macro2", + "quote", + "rustc-hash 2.1.2", + "syn 3.0.3", +] + +[[package]] +name = "pliron-llvm" +version = "0.18.0" +source = "git+https://github.com/pliron-org/pliron?rev=06d99a3df938394583715aacf5eadb65b4791c09#06d99a3df938394583715aacf5eadb65b4791c09" +dependencies = [ + "bitflags", + "log", + "pliron", + "thiserror 2.0.18", +] + +[[package]] +name = "prettyplease" +version = "0.2.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" +dependencies = [ + "proc-macro2", + "syn 2.0.117", +] + +[[package]] +name = "proc-macro2" +version = "1.0.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "ptx-parse" +version = "0.1.0" + +[[package]] +name = "ptx-schedule" +version = "0.1.0" +dependencies = [ + "clap", + "dialect-ptx", + "oxide-artifacts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "ptx-parse", + "serde", + "serde_json", + "thiserror 2.0.18", +] + +[[package]] +name = "quote" +version = "1.0.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "recasting" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70aeee1a07922bfe7c79e148553dee262248d2493d9778eee7551b9b5d7cc651" + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags", +] + +[[package]] +name = "regex" +version = "1.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a" + +[[package]] +name = "reserved-oxide-symbols" +version = "0.2.1" + +[[package]] +name = "rustc-demangle" +version = "0.1.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b74b56ffa8bb2830709a538c2cbcae9aa062db0d2a42563bfb09bdaae44020eb" + +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + +[[package]] +name = "rustc-hash" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe" + +[[package]] +name = "rustc_apfloat" +version = "0.2.3+llvm-462a31f5a5ab" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "486c2179b4796f65bfe2ee33679acf0927ac83ecf583ad6c91c3b4570911b9ad" +dependencies = [ + "bitflags", + "smallvec", +] + +[[package]] +name = "rustix" +version = "0.38.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" +dependencies = [ + "bitflags", + "errno", + "libc", + "linux-raw-sys 0.4.15", + "windows-sys 0.59.0", +] + +[[package]] +name = "rustix" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" +dependencies = [ + "bitflags", + "errno", + "libc", + "linux-raw-sys 0.12.1", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustversion" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" + +[[package]] +name = "safe_arch" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96b02de82ddbe1b636e6170c21be622223aea188ef2e139be0a5b219ec215323" +dependencies = [ + "bytemuck", +] + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "serde" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "serde_json" +version = "1.0.149" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "serde_spanned" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6662b5879511e06e8999a8a235d848113e942c9124f211511b16466ee2995f26" +dependencies = [ + "serde_core", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "slotmap" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdd58c3c93c3d278ca835519292445cb4b0d4dc59ccfdf7ceadaab3f8aeb4038" +dependencies = [ + "version_check", +] + +[[package]] +name = "smallvec" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" + +[[package]] +name = "spin" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1527984ca054dfca79333baec451042863f485fbee01b7bf6d911de915cac865" +dependencies = [ + "lock_api", +] + +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "syn" +version = "2.0.117" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "target-triple" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "591ef38edfb78ca4771ee32cf494cb8771944bee237a9b91fc9c1424ac4b777b" + +[[package]] +name = "tempfile" +version = "3.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" +dependencies = [ + "fastrand", + "getrandom", + "once_cell", + "rustix 1.1.4", + "windows-sys 0.61.2", +] + +[[package]] +name = "termcolor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" +dependencies = [ + "thiserror-impl 2.0.18", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "toml" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81f3d15e84cbcd896376e6730314d59fb5a87f31e4b038454184435cd57defee" +dependencies = [ + "indexmap", + "serde_core", + "serde_spanned", + "toml_datetime", + "toml_parser", + "toml_writer", + "winnow", +] + +[[package]] +name = "toml_datetime" +version = "1.1.1+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_parser" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2abe9b86193656635d2411dc43050282ca48aa31c2451210f4202550afb7526" +dependencies = [ + "winnow", +] + +[[package]] +name = "toml_writer" +version = "1.1.1+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "756daf9b1013ebe47a8776667b466417e2d4c5679d441c26230efd9ef78692db" + +[[package]] +name = "triple_arena" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a99051ec05383f70bcab71884d39083a455257795e71cb780048a4bc890f3b8" +dependencies = [ + "recasting", +] + +[[package]] +name = "trybuild" +version = "1.0.116" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47c635f0191bd3a2941013e5062667100969f8c4e9cd787c14f977265d73616e" +dependencies = [ + "glob", + "serde", + "serde_derive", + "serde_json", + "target-triple", + "termcolor", + "toml", +] + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-ident" +version = "1.0.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" + +[[package]] +name = "unicode-segmentation" +version = "1.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c" + +[[package]] +name = "utf8-chars" +version = "3.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92498c67ea3511b37eccff13b573ed871faf0ce9c4056ab032bd01a681f445a0" +dependencies = [ + "arrayvec", +] + +[[package]] +name = "utf8parse" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "which" +version = "4.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" +dependencies = [ + "either", + "home", + "once_cell", + "rustix 0.38.44", +] + +[[package]] +name = "wide" +version = "0.7.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ce5da8ecb62bcd8ec8b7ea19f69a51275e91299be594ea5cc6ef7819e16cd03" +dependencies = [ + "bytemuck", + "safe_arch", +] + +[[package]] +name = "winapi-util" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_gnullvm", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "winnow" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ee1708bef14716a11bae175f579062d4554d95be2c6829f518df847b7b3fdd0" + +[[package]] +name = "zerocopy" +version = "0.8.48" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.48" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "zmij" +version = "1.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" diff --git a/cuda-oxide/Cargo.toml b/cuda-oxide/Cargo.toml new file mode 100644 index 0000000000..9f89792f94 --- /dev/null +++ b/cuda-oxide/Cargo.toml @@ -0,0 +1,135 @@ +[workspace] +resolver = "3" +members = [ + # Core crates + "crates/cuda-target-spec", + "crates/cuda-intrinsics", + "crates/cuda-intrinsics-gen", + "crates/ptx-parse", + "crates/ptx-schedule", + "crates/dialect-ptx", + "crates/cuda-device", + "crates/cuda-artifact-finalizer", + "crates/cuda-host", + "crates/cuda-macros", + "crates/llvm-export", + "crates/dialect-mir", + "crates/dialect-iket", + "crates/dialect-nvvm", + "crates/mir-importer", + "crates/cuda-oxide-codegen", + "crates/mir-lower", + "crates/iket-lower", + "crates/mir-transforms", + "crates/nvvm-transforms", + "crates/cargo-oxide", + "crates/oxide-artifacts", + # FFI bindings + "crates/libnvvm-sys", + "crates/nvjitlink-sys", + # Internal naming contract (workspace-private; publish = false) + "crates/reserved-oxide-symbols", + # Differential codegen fuzzer support + "crates/fuzzer", +] + +[workspace.package] +edition = "2024" +authors = ["Nihal Pasham "] +license = "Apache-2.0" +repository = "https://github.com/NVlabs/cuda-oxide.git" + +# Note: crates/rustc-codegen-cuda is NOT a workspace member because it requires +# special rustc nightly features and a different build process. +# Build and run examples with: cargo oxide run +# Examples are in: crates/rustc-codegen-cuda/examples/ + +[workspace.dependencies] +# Pliron MLIR framework, pinned to upstream struct-layout, GEP no-wrap, volatile, +# global-constant, inline-asm, and generic LLVM attribute semantics. +# pliron-llvm uses default-features = false to keep llvm-sys (LLVM 23) out: +# cuda-oxide consumes the dialect modeling only, not the FFI bridge. +# `crates/rustc-codegen-cuda/Cargo.toml` MUST stay on this same rev, or pliron +# resolves to two distinct crates and types stop unifying. +pliron = { git = "https://github.com/pliron-org/pliron", rev = "06d99a3df938394583715aacf5eadb65b4791c09" } +pliron-derive = { git = "https://github.com/pliron-org/pliron", rev = "06d99a3df938394583715aacf5eadb65b4791c09" } +pliron-llvm = { git = "https://github.com/pliron-org/pliron", rev = "06d99a3df938394583715aacf5eadb65b4791c09", default-features = false, features = [ + "std", +] } + +# Internal crates +cuda-target-spec = { path = "crates/cuda-target-spec" } +llvm-export = { path = "crates/llvm-export" } +dialect-mir = { path = "crates/dialect-mir" } +dialect-iket = { path = "crates/dialect-iket" } +dialect-ptx = { path = "crates/dialect-ptx" } +dialect-nvvm = { path = "crates/dialect-nvvm" } +mir-lower = { path = "crates/mir-lower" } +iket-lower = { path = "crates/iket-lower" } +mir-importer = { path = "crates/mir-importer" } +cuda-oxide-codegen = { path = "crates/cuda-oxide-codegen" } +mir-transforms = { path = "crates/mir-transforms" } +nvvm-transforms = { path = "crates/nvvm-transforms" } +cuda-device = { path = "crates/cuda-device" } +cuda-artifact-finalizer = { path = "crates/cuda-artifact-finalizer" } +cuda-host = { path = "crates/cuda-host" } +# No default features: `host` is opt-in per member, so that depending on +# cuda-device does not unify the host surface back on for kernel-only crates. +# `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" } +libnvvm-sys = { path = "crates/libnvvm-sys" } +nvjitlink-sys = { path = "crates/nvjitlink-sys" } +reserved-oxide-symbols = { path = "crates/reserved-oxide-symbols" } +fuzzer = { path = "crates/fuzzer" } +# The crates.io release, not the in-tree path: the shared cuda-core (cutile-rs) +# reads artifact bundles through crates.io oxide-artifacts, and a path copy of +# the same version is a second crate to rustc. crates/oxide-artifacts +# stays in the workspace as the source this release is published from; bump, +# publish, then move this line. +# scripts/check-oxide-artifacts-parity.sh keeps them equal. +oxide-artifacts = "0.2.1" +ptx-parse = { path = "crates/ptx-parse" } +ptx-schedule = { path = "crates/ptx-schedule" } + +# Common dependencies +futures = "0.3" +thiserror = "2" +linkme = "0.3" +anyhow = "1.0" +once_cell = "1.18" +combine = "4.6" +log = "0.4" +half = "2.7" +libloading = "0.8" +sha2 = "0.10" +serde = { version = "1", features = ["derive"] } +serde_json = "1" +toml = "1" +tempfile = "3.9" +rustc-demangle = "0.1" + +# llvm-export deps +rustc-hash = "2.0" +bitflags = "2.0" +dyn-clone = "1.0" + +# cuda-macros deps +quote = "1.0" +syn = { version = "2.0", features = ["full", "visit", "visit-mut"] } +proc-macro2 = { version = "1.0", features = ["span-locations"] } + +# `cargo oxide` runs through the workspace's dev-profile Cargo alias. Its +# backend fingerprint hashes a large debug shared object on every invocation; +# optimize only SHA-256 so exact content fingerprinting remains inexpensive. +[profile.dev.package.sha2] +opt-level = 3 diff --git a/cuda-oxide/Justfile b/cuda-oxide/Justfile index cd4ea9b904..36d083ba5c 100644 --- a/cuda-oxide/Justfile +++ b/cuda-oxide/Justfile @@ -7,7 +7,7 @@ set windows-shell := ["powershell.exe", "-NoLogo", "-Command"] # Use Bash on Unix set shell := ["bash", "-c"] -# Format all Rust code (root, codegen, examples) +# Format all Rust code (SIMT workspace, codegen, examples) fmt: cargo oxide fmt @@ -17,18 +17,18 @@ fmt-check: # Lint every scope CI's clippy job lints, minus the per-example pass. # -# CI runs clippy three times: over the root workspace, over +# CI runs clippy three times: over the SIMT workspace, over # crates/rustc-codegen-cuda (its own [workspace] for the rustc_private dylibs, -# which `--workspace` from the root cannot reach), and once per example. The -# first two are here, the root invocation spelled the way CI spells it. -# (Cargo's target-selection flags are additive and the virtual root workspace +# which `--workspace` cannot reach), and once per example. The first two are +# here, with the SIMT invocation spelled the way CI spells it. +# (Cargo's target-selection flags are additive and the virtual SIMT workspace # has no default-members, so the earlier `--all-targets --lib --tests` covered # the same members and targets; the spelling was the only difference.) # # The per-example pass stays CI-only: it is one clippy run per example across # 200-odd separate workspaces, which is a CI job rather than something to wait # on locally. -# Run clippy with warnings as errors (root + codegen workspaces) +# Run clippy with warnings as errors (SIMT + codegen workspaces) clippy: cargo clippy --workspace --all-targets -- -D warnings # Its own [workspace], so `--workspace` above stops at that boundary. @@ -36,12 +36,12 @@ clippy: # Fix mode for the recipe above, and it has to cover the same ground: a warning # the gate reports in the codegen backend had no `--fix` pass to answer it, -# because that crate's own [workspace] puts it outside every root invocation. +# because that crate's own [workspace] puts it outside every SIMT invocation. # -# The root line only changes spelling, to match `clippy` above: target flags are -# additive and the virtual root workspace has no default-members, so +# The SIMT line only changes spelling, to match `clippy` above: target flags are +# additive and the virtual workspace has no default-members, so # `--all-targets --lib --tests` already selected the same members and targets. -# Run clippy and auto-fix warnings (root + codegen workspaces) +# Run clippy and auto-fix warnings (SIMT + codegen workspaces) clippy-fix: cargo clippy --workspace --all-targets --fix --allow-dirty --allow-staged # Its own [workspace], so `--workspace` above stops at that boundary. @@ -69,7 +69,7 @@ test: # default set alone skips the eight ELF emit/extract tests. cargo test -p oxide-artifacts --all-targets --features object # Its own [workspace] (rustc-private dylibs), so a separate CI job covers - # it and `-p` from the root cannot reach it. + # it and `-p` from the SIMT workspace cannot reach it. cd crates/rustc-codegen-cuda && cargo test --lib # The packages CI's matrix marks `needs_cuda`, kept separate so `test` runs on @@ -117,7 +117,7 @@ doc-check: RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --workspace cargo test --doc --workspace # The docs gate builds this workspace's rustdoc separately too (#725); the - # root `--workspace` cannot reach it. + # SIMT `--workspace` cannot reach it. cd crates/rustc-codegen-cuda && RUSTDOCFLAGS="-D warnings" cargo doc --no-deps # Run all checks (fmt + clippy + tests + guards + docs). Includes `test-cuda`: @@ -193,10 +193,12 @@ check-errors: # test-matrix coverage), # the naming-guard's reserved-prefix search, and all four cargo-deny jobs: # `cargo deny check` enforces deny.toml over each non-example `[workspace]` -# root that resolves third-party crates -- the root workspace, -# crates/rustc-codegen-cuda, and the cuda-macros device-only fixture, each of +# root that resolves third-party crates -- the stable host workspace, the SIMT +# workspace, crates/rustc-codegen-cuda, and the cuda-macros device-only +# fixture, each of # which resolves its own graph because each declares its own `[workspace]`; -# the license inventory covers what the first two declare; deny.toml holds over the example workspaces; and every first-party +# the license inventory covers what those workspaces declare; deny.toml holds +# over the example workspaces; and every first-party # source file carries an SPDX header. These were only reachable by reading the # workflows, so `just check` could pass while status-guard or cargo-deny # failed. Keep this list in step when a guard is added to any of the three @@ -222,7 +224,10 @@ check-guards: bash scripts/check-host-api-paths.sh bash scripts/check-shared-crate-pin.sh bash scripts/check-oxide-artifacts-parity.sh - # Find deny.toml through a SIMT member; --workspace checks all root members. + # Host-crate dev-dependencies (cuda-async's loom) are outside the SIMT graph. + # The git-root deny.toml is a copy of cuda-oxide/deny.toml. + cd .. && cargo deny --manifest-path Cargo.toml --workspace --locked check + # Find deny.toml through a SIMT member; --workspace checks all SIMT members. cargo deny --manifest-path crates/cargo-oxide/Cargo.toml --workspace --locked check cargo deny --manifest-path crates/rustc-codegen-cuda/Cargo.toml --locked check cargo deny --manifest-path crates/cuda-macros/tests/device-only/Cargo.toml --locked check diff --git a/cuda-oxide/LICENSE b/cuda-oxide/LICENSE new file mode 100644 index 0000000000..f3fe76ecad --- /dev/null +++ b/cuda-oxide/LICENSE @@ -0,0 +1,203 @@ +Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/THIRD_PARTY_NOTICES b/cuda-oxide/THIRD_PARTY_NOTICES similarity index 77% rename from THIRD_PARTY_NOTICES rename to cuda-oxide/THIRD_PARTY_NOTICES index e2770685bf..82e2ed68c9 100644 --- a/THIRD_PARTY_NOTICES +++ b/cuda-oxide/THIRD_PARTY_NOTICES @@ -2,34 +2,34 @@ THIRD PARTY NOTICES =================== This file attributes third-party open source software whose source code is -embedded in this repository. +embedded in cuda-oxide. cuda-oxide's own code is licensed under Apache-2.0 (see LICENSE). Third-party crates that cuda-oxide merely depends on through Cargo are not redistributed here and are therefore not listed below; their licenses are recorded in -`cuda-oxide/dependency-licenses.csv` and enforced by `cuda-oxide/deny.toml`. +`dependency-licenses.csv` and enforced by `deny.toml`. -------------------------------------------------------------------------------- 1. Rustlantis -------------------------------------------------------------------------------- -Location in this repository: cuda-oxide/crates/fuzzer/rustlantis/ +Location in cuda-oxide: crates/fuzzer/rustlantis/ Upstream project: https://github.com/cbeuw/rustlantis Copyright: (c) ETH Zurich and contributors License: Apache-2.0 OR MIT (dual-licensed, at your option) Rustlantis is a fuzzer for the Rust compiler, authored by Qian (Andy) Wang and Ralf Jung (ETH Zurich). Its source is embedded in this repository under -`cuda-oxide/crates/fuzzer/rustlantis/` and is used to generate randomized MIR programs for +`crates/fuzzer/rustlantis/` and is used to generate randomized MIR programs for differential testing of the cuda-oxide codegen backend. The upstream license texts are retained in place at -`cuda-oxide/crates/fuzzer/rustlantis/LICENSE-APACHE` and -`cuda-oxide/crates/fuzzer/rustlantis/LICENSE-MIT`; the `rangemap` sub-crate +`crates/fuzzer/rustlantis/LICENSE-APACHE` and +`crates/fuzzer/rustlantis/LICENSE-MIT`; the `rangemap` sub-crate carries its own identical copies at -`cuda-oxide/crates/fuzzer/rustlantis/rangemap/LICENSE-APACHE` and -`cuda-oxide/crates/fuzzer/rustlantis/rangemap/LICENSE-MIT`. The Apache-2.0 text is -identical to the one at the root of this repository (LICENSE). The MIT text is +`crates/fuzzer/rustlantis/rangemap/LICENSE-APACHE` and +`crates/fuzzer/rustlantis/rangemap/LICENSE-MIT`. The Apache-2.0 text is +identical to the one in this directory (LICENSE). The MIT text is reproduced here: Permission is hereby granted, free of charge, to any diff --git a/clippy.toml b/cuda-oxide/clippy.toml similarity index 100% rename from clippy.toml rename to cuda-oxide/clippy.toml diff --git a/cuda-oxide/crates/cargo-oxide/README.md b/cuda-oxide/crates/cargo-oxide/README.md index cebe5ffc36..0149290f93 100644 --- a/cuda-oxide/crates/cargo-oxide/README.md +++ b/cuda-oxide/crates/cargo-oxide/README.md @@ -366,7 +366,9 @@ Removes project-local build outputs and the generated cuda-oxide artifacts besid ### `cargo oxide fmt [--check]` -Formats all crates in the workspace: root workspace, `rustc-codegen-cuda`, and all examples. With `--check`, reports files that need formatting without modifying them. +Formats the SIMT workspace, `rustc-codegen-cuda`, and all examples; in the +merged repository it also formats the parent shared-host workspace. With +`--check`, reports files that need formatting without modifying them. ### `cargo oxide doctor` diff --git a/cuda-oxide/crates/cargo-oxide/src/backend.rs b/cuda-oxide/crates/cargo-oxide/src/backend.rs index b7ddb4d860..321e0b5aaa 100644 --- a/cuda-oxide/crates/cargo-oxide/src/backend.rs +++ b/cuda-oxide/crates/cargo-oxide/src/backend.rs @@ -111,9 +111,10 @@ use crate::backend_source::{self, DependencySource}; /// Finds the workspace root by walking up from CWD. /// -/// Supports both the historical single-product layout and the combined -/// repository, where the root `Cargo.toml` owns members under -/// `cuda-oxide/crates/`. +/// Supports the component workspace (`crates/rustc-codegen-cuda`) and the +/// historical combined layout (`cuda-oxide/crates/rustc-codegen-cuda`). +/// Starting below `cuda-oxide/` finds the component root before the stable +/// parent workspace. pub fn find_workspace_root() -> Option { let mut dir = std::env::current_dir().ok()?; loop { @@ -2331,12 +2332,13 @@ mod tests { assert!(report.contains("CUDA_OXIDE_BACKEND"), "{report}"); } - // A moved dependency must still use the toolchain pin at the repository root. + // Both dependency resolution and the fallback main clone must use the + // backend's pin, even when the monorepo's host workspace uses stable. #[test] fn dependency_toolchain_guard_supports_flat_and_nested_checkouts() { let rev = "728539f652ba107800fa13d0c31675f6c11aab9c"; let git_source = format!("git+https://github.com/NVIDIA/cuda-rust.git#{rev}"); - for nested in [false, true] { + for (nested, component_workspace) in [(false, false), (true, false), (true, true)] { let root = tempdir(); std::fs::write(root.join("Cargo.toml"), "[workspace]\n").unwrap(); std::fs::write( @@ -2349,6 +2351,20 @@ mod tests { } else { root.clone() }; + if component_workspace { + std::fs::create_dir_all(&simt_root).unwrap(); + std::fs::write(simt_root.join("Cargo.toml"), "[workspace]\n").unwrap(); + std::fs::rename( + root.join("rust-toolchain.toml"), + simt_root.join("rust-toolchain.toml"), + ) + .unwrap(); + std::fs::write( + root.join("rust-toolchain.toml"), + "[toolchain]\nchannel = \"1.98.0\"\n", + ) + .unwrap(); + } let codegen = simt_root.join(CODEGEN_CRATE_SUBDIR); let device = simt_root.join("crates/cuda-device"); for (directory, name) in [(&codegen, "rustc_codegen_cuda"), (&device, "cuda-device")] { @@ -2359,10 +2375,32 @@ mod tests { ) .unwrap(); } - if nested { + if nested && !component_workspace { assert!(!simt_root.join("Cargo.toml").exists()); } + // auto_fetch_and_build passes the git root, without dependency + // metadata to identify the component workspace first. + let fallback_channel = backend_source::pinned_channel(&root); + assert_eq!(fallback_channel.as_deref(), Some("nightly-2026-08-28")); + assert_eq!( + unloadable_backend_report( + "the cuda-oxide main clone", + Some("nightly-2026-08-28-x86_64-unknown-linux-gnu"), + fallback_channel.as_deref(), + ), + None + ); + assert!( + unloadable_backend_report( + "the cuda-oxide main clone", + Some("1.98.0-x86_64-unknown-linux-gnu"), + fallback_channel.as_deref(), + ) + .expect("the stable host toolchain cannot load the nightly backend") + .contains("needs Rust `nightly-2026-08-28`") + ); + for (package_source, marker) in [ (None, None), (None, Some(".git")), @@ -2381,7 +2419,14 @@ mod tests { let resolved = backend_source::dependency_source_from_metadata(&metadata) .unwrap() .unwrap(); - assert_eq!(resolved.checkout(), root); + assert_eq!( + resolved.checkout(), + if component_workspace { + &simt_root + } else { + &root + } + ); assert_eq!(resolved.codegen_crate(), codegen); assert_eq!(resolved.rev(), package_source.map(|_| rev)); let channel = backend_source::pinned_channel(resolved.checkout()); diff --git a/cuda-oxide/crates/cargo-oxide/src/backend_source.rs b/cuda-oxide/crates/cargo-oxide/src/backend_source.rs index 72ca740bfe..b3a9286951 100644 --- a/cuda-oxide/crates/cargo-oxide/src/backend_source.rs +++ b/cuda-oxide/crates/cargo-oxide/src/backend_source.rs @@ -109,12 +109,28 @@ pub fn short_rev(rev: &str) -> &str { rev.get(..10).unwrap_or(rev) } -/// The nightly a checkout pins in its `rust-toolchain.toml`, when readable. +/// The nearest toolchain pin for the selected backend, within its checkout. +/// +/// A fallback clone names the git root, whose pin may belong to the stable +/// host workspace. Follow the same backend layout selection as the build, +/// then walk toward that root so the component's nightly takes precedence. pub fn pinned_channel(checkout: &Path) -> Option { - let contents = std::fs::read_to_string(checkout.join("rust-toolchain.toml")).ok()?; - crate::commands::parse_rust_toolchain_toml(&contents) - .ok() - .map(|pin| pin.channel) + let codegen_crate = codegen_crate_in_checkout(checkout); + for directory in codegen_crate.ancestors() { + match std::fs::read_to_string(directory.join("rust-toolchain.toml")) { + Ok(contents) => { + return crate::commands::parse_rust_toolchain_toml(&contents) + .ok() + .map(|pin| pin.channel); + } + Err(error) if error.kind() == std::io::ErrorKind::NotFound => {} + Err(_) => return None, + } + if directory == checkout { + break; + } + } + None } /// Resolves the cuda-oxide checkout the project in `project_dir` depends on. @@ -683,6 +699,60 @@ mod tests { Some("nightly-2026-08-28".to_string()) ); assert_eq!(pinned_channel(&checkout.join("absent")), None); + std::fs::remove_dir_all(checkout).unwrap(); + } + + #[test] + fn pinned_channel_follows_the_selected_backend_and_nearest_pin() { + let root = tempdir(); + checkout_with_backend(&root, "cuda-device"); + std::fs::write( + root.join("rust-toolchain.toml"), + "[toolchain]\nchannel = \"nightly-2026-04-03\"\n", + ) + .unwrap(); + let component = root.join("cuda-oxide"); + std::fs::create_dir_all(&component).unwrap(); + std::fs::write( + component.join("rust-toolchain.toml"), + "[toolchain]\nchannel = \"nightly-2026-08-28\"\n", + ) + .unwrap(); + // A similarly named directory without the selected backend cannot + // override the flat checkout's pin. + assert_eq!(pinned_channel(&root).as_deref(), Some("nightly-2026-04-03")); + + checkout_with_backend(&component, "cuda-device"); + assert_eq!(pinned_channel(&root).as_deref(), Some("nightly-2026-08-28")); + assert_eq!(pinned_channel(&component), pinned_channel(&root)); + + let backend_pin = codegen_crate_in_checkout(&root).join("rust-toolchain.toml"); + std::fs::write( + &backend_pin, + "[toolchain]\nchannel = \"nightly-2026-02-01\"\n", + ) + .unwrap(); + assert_eq!(pinned_channel(&root).as_deref(), Some("nightly-2026-02-01")); + + // An invalid nearer pin is not permission to choose a different + // compiler from the parent workspace. + std::fs::write(&backend_pin, "[toolchain]\nchannel = [").unwrap(); + assert_eq!(pinned_channel(&root), None); + std::fs::remove_dir_all(root).unwrap(); + } + + #[test] + fn pinned_channel_never_uses_a_pin_outside_the_checkout() { + let outer = tempdir(); + std::fs::write( + outer.join("rust-toolchain.toml"), + "[toolchain]\nchannel = \"nightly-2026-08-28\"\n", + ) + .unwrap(); + let checkout = outer.join("checkout"); + checkout_with_backend(&checkout, "cuda-device"); + assert_eq!(pinned_channel(&checkout), None); + std::fs::remove_dir_all(outer).unwrap(); } #[test] diff --git a/cuda-oxide/crates/cargo-oxide/src/commands/fmt.rs b/cuda-oxide/crates/cargo-oxide/src/commands/fmt.rs index aff220bc2b..c1a4273efb 100644 --- a/cuda-oxide/crates/cargo-oxide/src/commands/fmt.rs +++ b/cuda-oxide/crates/cargo-oxide/src/commands/fmt.rs @@ -16,19 +16,33 @@ use super::*; /// Format (or check formatting of) every scope the `fmt` CI gate checks. /// -/// `.github/workflows/fmt.yml` checks four: the root workspace, the codegen -/// backend crate, the cuda-macros device-only fixture, and every `Cargo.toml` -/// under `examples/`, nested ones included. This mirrors that set on purpose -- -/// the reason CONTRIBUTING tells contributors to prefer this command over a -/// bare `cargo fmt` is so the gate cannot fail on code they had no way to -/// format, which only holds while the two cover the same ground. +/// `.github/workflows/fmt.yml` checks five: the stable shared-host workspace, +/// the SIMT workspace, the codegen backend crate, the cuda-macros device-only +/// fixture, and every `Cargo.toml` under `examples/`, nested ones included. +/// This mirrors that set on purpose -- the reason CONTRIBUTING tells +/// contributors to prefer this command over a bare `cargo fmt` is so the gate +/// cannot fail on code they had no way to format, which only holds while the +/// two cover the same ground. /// /// In `check` mode, reports which files need formatting without modifying them. pub fn format_all(ctx: &Context, check: bool) { let mode = if check { "Checking" } else { "Formatting" }; let mut failed = false; - println!("📦 {} root workspace...", mode); + // In the merged repository, shared host crates live in the stable parent + // workspace. Standalone cuda-oxide checkouts have no such parent manifest. + if let Some(shared_root) = ctx + .workspace_root + .parent() + .filter(|root| root.join("Cargo.toml").is_file() && root.join("cuda-core").is_dir()) + { + println!("📦 {} shared host workspace...", mode); + if !run_cargo_fmt(shared_root, check) { + failed = true; + } + } + + println!("📦 {} CUDA Oxide workspace...", mode); if !run_cargo_fmt(&ctx.workspace_root, check) { failed = true; } @@ -107,13 +121,18 @@ fn run_cargo_fmt(dir: &Path, check: bool) -> bool { run_fmt_command(cmd) } -/// Run `cargo fmt` for one manifest. Returns `true` on success. +/// Run `cargo fmt` from beside one manifest. Returns `true` on success. /// /// No `--all`: the caller walks every manifest, so a workspace member is /// visited through its own manifest rather than through its parent's. fn run_cargo_fmt_manifest(manifest: &Path, check: bool) -> bool { let mut cmd = Command::new("cargo"); - cmd.arg("fmt").arg("--manifest-path").arg(manifest); + cmd.arg("fmt"); + if let Some(dir) = manifest.parent() { + // rustup selects from the working directory, not --manifest-path. + // This is required for examples using nightly-only Cargo features. + cmd.current_dir(dir); + } if check { cmd.arg("--check"); diff --git a/cuda-oxide/crates/cargo-oxide/src/commands/scaffold.rs b/cuda-oxide/crates/cargo-oxide/src/commands/scaffold.rs index f6434b52e8..702285da1c 100644 --- a/cuda-oxide/crates/cargo-oxide/src/commands/scaffold.rs +++ b/cuda-oxide/crates/cargo-oxide/src/commands/scaffold.rs @@ -13,11 +13,11 @@ use super::*; const GIT_REPO: &str = "https://github.com/NVlabs/cuda-oxide.git"; -/// crates.io release of the host-side runtime shared with cutile-rs -/// (`cuda-core`, `cuda-async`). The device and host glue crates above still -/// come from this repository; the runtime is published from NVlabs/cutile-rs -/// and the SIMT surface lives under its `simt` modules. -pub(super) const SHARED_HOST_CRATES_VERSION: &str = "0.3.1"; +/// crates.io release of the host-side runtime (`cuda-core`, `cuda-async`). +/// In-tree examples and `cuda-host` path-depend on the git-root copies; +/// `cargo oxide new` still uses this version because a standalone project +/// is not inside the monorepo. +pub(super) const SHARED_HOST_CRATES_VERSION: &str = "0.4.0"; const RUST_TOOLCHAIN_TOML: &str = r#"[toolchain] channel = "nightly-2026-08-28" diff --git a/cuda-oxide/crates/cargo-oxide/src/commands/tests.rs b/cuda-oxide/crates/cargo-oxide/src/commands/tests.rs index 5218427e58..1af0d71637 100644 --- a/cuda-oxide/crates/cargo-oxide/src/commands/tests.rs +++ b/cuda-oxide/crates/cargo-oxide/src/commands/tests.rs @@ -4768,9 +4768,9 @@ fn scaffold_sync_template_uses_launch_contract_and_docs() { assert!(files.main_rs.contains("prepare_vecadd")); assert!(files.main_rs.contains("LaunchConfig1D")); assert!(!files.main_rs.contains("LaunchConfig::for_num_elems")); - // The host runtime is the crates.io release shared with cutile-rs. A git - // pin at this repository would resolve to nothing (the local copies are - // retired) or, worse, to a stale copy on an old revision. + // The host runtime is the crates.io release of the git-root crates. + // In-tree examples path-depend on those crates; a freshly scaffolded + // project is not inside this monorepo, so it cannot use those paths. assert!( files .cargo_toml diff --git a/cuda-oxide/crates/cargo-oxide/src/main.rs b/cuda-oxide/crates/cargo-oxide/src/main.rs index c4be7a3775..292bed15cd 100644 --- a/cuda-oxide/crates/cargo-oxide/src/main.rs +++ b/cuda-oxide/crates/cargo-oxide/src/main.rs @@ -435,7 +435,7 @@ enum Commands { #[arg(long)] unchecked_indexing: bool, }, - /// Format all crates (root workspace, codegen backend, examples) + /// Format all crates (SIMT workspace, codegen backend, examples) Fmt { /// Check formatting without modifying files #[arg(long)] diff --git a/cuda-oxide/crates/cuda-macros/tests/compile_fail/index_1d_u32_marker_spoof_requires_unsafe.stderr b/cuda-oxide/crates/cuda-macros/tests/compile_fail/index_1d_u32_marker_spoof_requires_unsafe.stderr index d5317f8b3d..6d7da45f61 100644 --- a/cuda-oxide/crates/cuda-macros/tests/compile_fail/index_1d_u32_marker_spoof_requires_unsafe.stderr +++ b/cuda-oxide/crates/cuda-macros/tests/compile_fail/index_1d_u32_marker_spoof_requires_unsafe.stderr @@ -9,7 +9,7 @@ error[E0308]: mismatched types = note: expected reference `&LaunchContext<'_, cuda_device::__internal::Domain1, cuda_device::__internal::U32Coordinates>` found reference `&LaunchContext<'_, cuda_device::__internal::UnknownDomain, cuda_device::__internal::NativeCoordinates>` note: function defined here - --> $WORKSPACE/cuda-oxide/crates/cuda-device/src/thread.rs + --> $WORKSPACE/crates/cuda-device/src/thread.rs | | pub fn index_1d_u32<'kernel>( | ^^^^^^^^^^^^ diff --git a/cuda-oxide/crates/cuda-macros/tests/compile_fail/index_1d_u32_requires_1d_domain.stderr b/cuda-oxide/crates/cuda-macros/tests/compile_fail/index_1d_u32_requires_1d_domain.stderr index 30e5c27972..b058ecd7e3 100644 --- a/cuda-oxide/crates/cuda-macros/tests/compile_fail/index_1d_u32_requires_1d_domain.stderr +++ b/cuda-oxide/crates/cuda-macros/tests/compile_fail/index_1d_u32_requires_1d_domain.stderr @@ -9,7 +9,7 @@ error[E0308]: mismatched types = note: expected reference `&LaunchContext<'_, cuda_device::__internal::Domain1, U32Coordinates>` found reference `&LaunchContext<'_, cuda_device::__internal::Domain2, U32Coordinates>` note: function defined here - --> $WORKSPACE/cuda-oxide/crates/cuda-device/src/thread.rs + --> $WORKSPACE/crates/cuda-device/src/thread.rs | | pub fn index_1d_u32<'kernel>( | ^^^^^^^^^^^^ diff --git a/cuda-oxide/crates/cuda-macros/tests/compile_fail/index_1d_u32_requires_contract.stderr b/cuda-oxide/crates/cuda-macros/tests/compile_fail/index_1d_u32_requires_contract.stderr index cb0e3c5276..061aae93b8 100644 --- a/cuda-oxide/crates/cuda-macros/tests/compile_fail/index_1d_u32_requires_contract.stderr +++ b/cuda-oxide/crates/cuda-macros/tests/compile_fail/index_1d_u32_requires_contract.stderr @@ -9,7 +9,7 @@ error[E0308]: mismatched types = note: expected reference `&LaunchContext<'_, cuda_device::__internal::Domain1, cuda_device::__internal::U32Coordinates>` found reference `&LaunchContext<'_, cuda_device::__internal::UnknownDomain, cuda_device::__internal::NativeCoordinates>` note: function defined here - --> $WORKSPACE/cuda-oxide/crates/cuda-device/src/thread.rs + --> $WORKSPACE/crates/cuda-device/src/thread.rs | | pub fn index_1d_u32<'kernel>( | ^^^^^^^^^^^^ diff --git a/cuda-oxide/crates/cuda-macros/tests/compile_fail/index_1d_u32_requires_u32_coordinates.stderr b/cuda-oxide/crates/cuda-macros/tests/compile_fail/index_1d_u32_requires_u32_coordinates.stderr index ed0b1952f8..cd71092151 100644 --- a/cuda-oxide/crates/cuda-macros/tests/compile_fail/index_1d_u32_requires_u32_coordinates.stderr +++ b/cuda-oxide/crates/cuda-macros/tests/compile_fail/index_1d_u32_requires_u32_coordinates.stderr @@ -9,7 +9,7 @@ error[E0308]: mismatched types = note: expected reference `&LaunchContext<'_, Domain1, cuda_device::__internal::U32Coordinates>` found reference `&LaunchContext<'_, Domain1, cuda_device::__internal::NativeCoordinates>` note: function defined here - --> $WORKSPACE/cuda-oxide/crates/cuda-device/src/thread.rs + --> $WORKSPACE/crates/cuda-device/src/thread.rs | | pub fn index_1d_u32<'kernel>( | ^^^^^^^^^^^^ diff --git a/cuda-oxide/crates/cuda-macros/tests/compile_fail/launch_contract_fake_disjoint_slice.stderr b/cuda-oxide/crates/cuda-macros/tests/compile_fail/launch_contract_fake_disjoint_slice.stderr index 1aff345d55..530af8ce95 100644 --- a/cuda-oxide/crates/cuda-macros/tests/compile_fail/launch_contract_fake_disjoint_slice.stderr +++ b/cuda-oxide/crates/cuda-macros/tests/compile_fail/launch_contract_fake_disjoint_slice.stderr @@ -41,7 +41,7 @@ help: the trait `for<'__cuda_oxide_disjoint> cuda_device::disjoint::__LaunchCont 9 | pub struct DisjointSlice<'a, T, IndexSpace = Index1D> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `cuda_device::DisjointSlice<'a, T, IndexSpace>` implements trait `cuda_device::disjoint::__LaunchContractDisjointSliceAbi` - --> $WORKSPACE/cuda-oxide/crates/cuda-device/src/disjoint.rs + --> $WORKSPACE/crates/cuda-device/src/disjoint.rs | | / impl<'a, T, IndexSpace: SpaceLayout> __LaunchContractDisjointSliceAbi | | for DisjointSlice<'a, T, IndexSpace> diff --git a/cuda-oxide/crates/cuda-macros/tests/compile_fail/launch_contract_fake_uniform.stderr b/cuda-oxide/crates/cuda-macros/tests/compile_fail/launch_contract_fake_uniform.stderr index 1b6a260911..0c6d5056d5 100644 --- a/cuda-oxide/crates/cuda-macros/tests/compile_fail/launch_contract_fake_uniform.stderr +++ b/cuda-oxide/crates/cuda-macros/tests/compile_fail/launch_contract_fake_uniform.stderr @@ -10,7 +10,7 @@ help: the trait `cuda_device::uniform::__LaunchContractUniform` is not impl 12 | pub struct Uniform { | ^^^^^^^^^^^^^^^^^^^^^ help: the trait `cuda_device::uniform::__LaunchContractUniform` is implemented for `cuda_device::Uniform` - --> $WORKSPACE/cuda-oxide/crates/cuda-device/src/uniform.rs + --> $WORKSPACE/crates/cuda-device/src/uniform.rs | | impl __LaunchContractUniform for Uniform {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/cuda-oxide/crates/cuda-macros/tests/compile_fail/launch_contract_reordered_disjoint_alias.stderr b/cuda-oxide/crates/cuda-macros/tests/compile_fail/launch_contract_reordered_disjoint_alias.stderr index 5262a959fd..6509665d5d 100644 --- a/cuda-oxide/crates/cuda-macros/tests/compile_fail/launch_contract_reordered_disjoint_alias.stderr +++ b/cuda-oxide/crates/cuda-macros/tests/compile_fail/launch_contract_reordered_disjoint_alias.stderr @@ -33,7 +33,7 @@ error[E0277]: the trait bound `for<'__cuda_oxide_disjoint> cuda_device::Disjoint | = help: the trait `for<'__cuda_oxide_disjoint> cuda_device::disjoint::__LaunchContractDisjointSliceAbi` is not implemented for `cuda_device::DisjointSlice<'__cuda_oxide_disjoint, u64>` help: `cuda_device::DisjointSlice<'_, T, IndexSpace>` implements trait `cuda_device::disjoint::__LaunchContractDisjointSliceAbi` - --> $WORKSPACE/cuda-oxide/crates/cuda-device/src/disjoint.rs + --> $WORKSPACE/crates/cuda-device/src/disjoint.rs | | / impl<'a, T, IndexSpace: SpaceLayout> __LaunchContractDisjointSliceAbi | | for DisjointSlice<'a, T, IndexSpace> diff --git a/cuda-oxide/crates/cuda-macros/tests/compile_fail/policy_config_invalid_unroll.stderr b/cuda-oxide/crates/cuda-macros/tests/compile_fail/policy_config_invalid_unroll.stderr index ee5903987f..a5f714062b 100644 --- a/cuda-oxide/crates/cuda-macros/tests/compile_fail/policy_config_invalid_unroll.stderr +++ b/cuda-oxide/crates/cuda-macros/tests/compile_fail/policy_config_invalid_unroll.stderr @@ -1,5 +1,5 @@ error[E0080]: evaluation panicked: partial unroll factor must be in 2..=1024, or 0 for full unrolling - --> $WORKSPACE/cuda-oxide/crates/cuda-device/src/thread.rs + --> $WORKSPACE/crates/cuda-device/src/thread.rs | | const { validate_unroll_factor(FACTOR) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `cuda_device::__unroll_config::<1>::{constant#0}` failed inside this call @@ -10,7 +10,7 @@ note: inside `cuda_device::thread::validate_unroll_factor` | $crate::panicking::panic_fmt($crate::const_format_args!($($t)+)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the failure occurred here | - ::: $WORKSPACE/cuda-oxide/crates/cuda-device/src/thread.rs + ::: $WORKSPACE/crates/cuda-device/src/thread.rs | | / assert!( | | factor == 0 || (factor >= 2 && factor <= 1024), @@ -19,7 +19,7 @@ note: inside `cuda_device::thread::validate_unroll_factor` | |_____- in this macro invocation note: erroneous constant encountered - --> $WORKSPACE/cuda-oxide/crates/cuda-device/src/thread.rs + --> $WORKSPACE/crates/cuda-device/src/thread.rs | | const { validate_unroll_factor(FACTOR) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/cuda-oxide/crates/cuda-macros/tests/compile_fail/policy_config_zero_threads.stderr b/cuda-oxide/crates/cuda-macros/tests/compile_fail/policy_config_zero_threads.stderr index af99a248c8..9d71df7e96 100644 --- a/cuda-oxide/crates/cuda-macros/tests/compile_fail/policy_config_zero_threads.stderr +++ b/cuda-oxide/crates/cuda-macros/tests/compile_fail/policy_config_zero_threads.stderr @@ -1,5 +1,5 @@ error[E0080]: evaluation panicked: launch_bounds maximum threads must be greater than zero - --> $WORKSPACE/cuda-oxide/crates/cuda-device/src/thread.rs + --> $WORKSPACE/crates/cuda-device/src/thread.rs | | const { validate_launch_bounds(MAX_THREADS) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `cuda_device::__launch_bounds_config::<0, 0>::{constant#0}` failed inside this call @@ -10,7 +10,7 @@ note: inside `cuda_device::thread::validate_launch_bounds` | $crate::panicking::panic_fmt($crate::const_format_args!($($t)+)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the failure occurred here | - ::: $WORKSPACE/cuda-oxide/crates/cuda-device/src/thread.rs + ::: $WORKSPACE/crates/cuda-device/src/thread.rs | | / assert!( | | max_threads > 0, @@ -19,7 +19,7 @@ note: inside `cuda_device::thread::validate_launch_bounds` | |_____- in this macro invocation note: erroneous constant encountered - --> $WORKSPACE/cuda-oxide/crates/cuda-device/src/thread.rs + --> $WORKSPACE/crates/cuda-device/src/thread.rs | | const { validate_launch_bounds(MAX_THREADS) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/cuda-oxide/crates/cuda-macros/tests/compile_fail/ptx_asm_c_constraint_not_bytes.stderr b/cuda-oxide/crates/cuda-macros/tests/compile_fail/ptx_asm_c_constraint_not_bytes.stderr index 71e7dfd2df..05ac2fb3d8 100644 --- a/cuda-oxide/crates/cuda-macros/tests/compile_fail/ptx_asm_c_constraint_not_bytes.stderr +++ b/cuda-oxide/crates/cuda-macros/tests/compile_fail/ptx_asm_c_constraint_not_bytes.stderr @@ -11,7 +11,7 @@ error[E0308]: mismatched types | |_________- arguments to this function are incorrect | note: function defined here - --> $WORKSPACE/cuda-oxide/crates/cuda-device/src/ptx.rs + --> $WORKSPACE/crates/cuda-device/src/ptx.rs | | pub const fn __ptx_asm_c(value: &'static [u8; N]) -> &'static [u8; N] { | ^^^^^^^^^^^ diff --git a/cuda-oxide/crates/cuda-macros/tests/device-only/Cargo.toml b/cuda-oxide/crates/cuda-macros/tests/device-only/Cargo.toml index d1983d41ba..32e83d2bbb 100644 --- a/cuda-oxide/crates/cuda-macros/tests/device-only/Cargo.toml +++ b/cuda-oxide/crates/cuda-macros/tests/device-only/Cargo.toml @@ -3,7 +3,7 @@ # Fixture for scripts/check-device-only-build.sh. Not a workspace member: the # point is a graph that does NOT contain cuda-host, so it must resolve on its -# own rather than share the root workspace's lockfile and dependency set. +# own rather than share the SIMT workspace's lockfile and dependency set. [package] name = "device-only-kernels" version = "0.0.0" diff --git a/cuda-oxide/crates/cuda-oxide-codegen/src/ptx.rs b/cuda-oxide/crates/cuda-oxide-codegen/src/ptx.rs index ed9c5d745e..8494b51982 100644 --- a/cuda-oxide/crates/cuda-oxide-codegen/src/ptx.rs +++ b/cuda-oxide/crates/cuda-oxide-codegen/src/ptx.rs @@ -1409,8 +1409,12 @@ mod tests { /// on stderr that it discarded the module's debug metadata. #[cfg(unix)] fn write_debug_dropping_tool(path: &Path, artifact: &str) { + // Publish the executable only after its writable handle is closed. + // GitHub's Linux runners can otherwise race exec with the filesystem + // releasing that handle and return ETXTBSY ("Text file busy"). + let staging_path = path.with_extension("staging"); std::fs::write( - path, + &staging_path, format!( "#!/bin/sh\n\ if [ \"${{1:-}}\" = \"--version\" ]; then echo 'LLVM version 23.1.0'; exit 0; fi\n\ @@ -1423,9 +1427,10 @@ mod tests { ) .unwrap(); use std::os::unix::fs::PermissionsExt; - let mut permissions = std::fs::metadata(path).unwrap().permissions(); + let mut permissions = std::fs::metadata(&staging_path).unwrap().permissions(); permissions.set_mode(0o700); - std::fs::set_permissions(path, permissions).unwrap(); + std::fs::set_permissions(&staging_path, permissions).unwrap(); + std::fs::rename(staging_path, path).unwrap(); } /// llc exits 0 after LLVM's verifier strips a malformed debug graph, so diff --git a/cuda-oxide/crates/fuzzer/README.md b/cuda-oxide/crates/fuzzer/README.md index f6f4028f4c..4e6a429e1a 100644 --- a/cuda-oxide/crates/fuzzer/README.md +++ b/cuda-oxide/crates/fuzzer/README.md @@ -18,11 +18,11 @@ The schedule campaign is implemented in Rust and runs the existing examples. It builds one example, discovers its generated PTX and host executable, inserts deterministic `nanosleep.u32` delays at structural synchronization sites, patches a copy of the executable's embedded artifact, and runs each -variant behind a watchdog: +variant behind a watchdog. From the repository root: ```bash -nix develop --command cargo oxide fuzz-schedule mcast_barrier_test \ - --seeds 0..100 --confirm-runs 3 +(cd cuda-oxide && nix develop --command cargo oxide fuzz-schedule mcast_barrier_test \ + --seeds 0..100 --confirm-runs 3) ``` `0..100` is half-open, so this runs seeds 0 through 99. Useful controls are diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/abi_hmm/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/abi_hmm/Cargo.lock index 9461537672..1d51a50e54 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/abi_hmm/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/abi_hmm/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/abi_hmm/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/abi_hmm/Cargo.toml index 0dceffbc6f..4e2527e09f 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/abi_hmm/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/abi_hmm/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/addressof_sharedarray/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/addressof_sharedarray/Cargo.lock index 25817b78ad..b8e441c59e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/addressof_sharedarray/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/addressof_sharedarray/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/addressof_sharedarray/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/addressof_sharedarray/Cargo.toml index 8bccafd24d..062b38831e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/addressof_sharedarray/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/addressof_sharedarray/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/aligned_field_loads/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/aligned_field_loads/Cargo.lock index 2f039583c6..0b75539022 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/aligned_field_loads/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/aligned_field_loads/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/aligned_field_loads/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/aligned_field_loads/Cargo.toml index 2adf75c37d..bc68d54d7c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/aligned_field_loads/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/aligned_field_loads/Cargo.toml @@ -22,4 +22,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/aligned_field_stores/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/aligned_field_stores/Cargo.lock index fef3a581ef..502e06c899 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/aligned_field_stores/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/aligned_field_stores/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/aligned_field_stores/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/aligned_field_stores/Cargo.toml index 1e880e7a1e..b520ce072a 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/aligned_field_stores/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/aligned_field_stores/Cargo.toml @@ -22,4 +22,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/array_constants/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/array_constants/Cargo.lock index 05682c563a..708068528d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/array_constants/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/array_constants/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/array_constants/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/array_constants/Cargo.toml index eba762a1d4..f5515f5a8c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/array_constants/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/array_constants/Cargo.toml @@ -23,4 +23,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/array_for_loop/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/array_for_loop/Cargo.lock index b9284b62f2..0c024bb8a5 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/array_for_loop/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/array_for_loop/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/array_for_loop/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/array_for_loop/Cargo.toml index db24531787..930d5b99a7 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/array_for_loop/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/array_for_loop/Cargo.toml @@ -24,4 +24,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/array_index/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/array_index/Cargo.lock index e1f7a4e21f..e83e8a8704 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/array_index/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/array_index/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/array_index/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/array_index/Cargo.toml index 4619fb6b04..d29539a230 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/array_index/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/array_index/Cargo.toml @@ -21,4 +21,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/array_init/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/array_init/Cargo.lock index a7dba9ef07..b93c70c05f 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/array_init/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/array_init/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/array_init/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/array_init/Cargo.toml index f0123485da..14da9fa8f4 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/array_init/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/array_init/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/asin_acos_smoke/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/asin_acos_smoke/Cargo.lock index 88bcd5d473..0401eff7d5 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/asin_acos_smoke/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/asin_acos_smoke/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/asin_acos_smoke/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/asin_acos_smoke/Cargo.toml index 24a37cc247..5970b18e0e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/asin_acos_smoke/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/asin_acos_smoke/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/assume_init_uninhabited_trap/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/assume_init_uninhabited_trap/Cargo.lock index 9c9b67d2bc..248ff82b0f 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/assume_init_uninhabited_trap/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/assume_init_uninhabited_trap/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/assume_init_uninhabited_trap/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/assume_init_uninhabited_trap/Cargo.toml index ab3144cb67..8a7fc7adbb 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/assume_init_uninhabited_trap/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/assume_init_uninhabited_trap/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/async_mlp/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/async_mlp/Cargo.lock index 4745715f3e..22a8b4bc2c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/async_mlp/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/async_mlp/Cargo.lock @@ -145,9 +145,7 @@ dependencies = [ [[package]] name = "cuda-async" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6d51fe2c9b1a89f4ac760d72a197761789f4e60db1d07d3f4d48de65a78adc9" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -162,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -176,9 +172,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -189,9 +183,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/async_mlp/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/async_mlp/Cargo.toml index 038e3f1b17..b364484300 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/async_mlp/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/async_mlp/Cargo.toml @@ -15,6 +15,6 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host", features = ["async"] } -cuda-core = "0.3.1" -cuda-async = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } +cuda-async = { path = "../../../../../cuda-async", version = "0.4.0" } tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/async_vecadd/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/async_vecadd/Cargo.lock index bd31eaf12c..902af286c7 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/async_vecadd/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/async_vecadd/Cargo.lock @@ -145,9 +145,7 @@ dependencies = [ [[package]] name = "cuda-async" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6d51fe2c9b1a89f4ac760d72a197761789f4e60db1d07d3f4d48de65a78adc9" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -162,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -176,9 +172,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -189,9 +183,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/async_vecadd/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/async_vecadd/Cargo.toml index adc371fbc7..6fed35118f 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/async_vecadd/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/async_vecadd/Cargo.toml @@ -15,6 +15,6 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host", features = ["async"] } -cuda-core = "0.3.1" -cuda-async = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } +cuda-async = { path = "../../../../../cuda-async", version = "0.4.0" } tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/atomic_f16/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/atomic_f16/Cargo.lock index 8297803ec6..25e548ea3b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/atomic_f16/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/atomic_f16/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/atomic_f16/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/atomic_f16/Cargo.toml index 9c054ff008..23a4ad2699 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/atomic_f16/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/atomic_f16/Cargo.toml @@ -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 = { version = "0.3.1", features = ["f16"] } +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0", features = ["f16"] } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/atomics/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/atomics/Cargo.lock index 2e790372f5..011e726425 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/atomics/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/atomics/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/atomics/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/atomics/Cargo.toml index 34937b7fb3..7b389ad57e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/atomics/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/atomics/Cargo.toml @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/barrier/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/barrier/Cargo.lock index d522fbb17e..f17829532f 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/barrier/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/barrier/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/barrier/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/barrier/Cargo.toml index c5514d2c33..31e593b19d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/barrier/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/barrier/Cargo.toml @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/bf16x2_arith/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/bf16x2_arith/Cargo.lock index 421675603d..31c36820b6 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/bf16x2_arith/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/bf16x2_arith/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/bf16x2_arith/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/bf16x2_arith/Cargo.toml index 55ce77e9aa..71c2e075b9 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/bf16x2_arith/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/bf16x2_arith/Cargo.toml @@ -7,6 +7,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/bf16x2_fma/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/bf16x2_fma/Cargo.lock index aa23e0adaf..4edfd7f252 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/bf16x2_fma/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/bf16x2_fma/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/bf16x2_fma/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/bf16x2_fma/Cargo.toml index 081650d184..844f43828e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/bf16x2_fma/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/bf16x2_fma/Cargo.toml @@ -7,6 +7,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/bool_phi_cmp/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/bool_phi_cmp/Cargo.lock index 3dd701229d..876fb8c273 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/bool_phi_cmp/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/bool_phi_cmp/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/bool_phi_cmp/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/bool_phi_cmp/Cargo.toml index 9ae8624f02..04998f1938 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/bool_phi_cmp/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/bool_phi_cmp/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/carrying_mul_add/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/carrying_mul_add/Cargo.lock index 66ae2238d9..c41a3f5c30 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/carrying_mul_add/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/carrying_mul_add/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/carrying_mul_add/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/carrying_mul_add/Cargo.toml index 761652c300..26e380c743 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/carrying_mul_add/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/carrying_mul_add/Cargo.toml @@ -20,4 +20,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cast_chunks/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cast_chunks/Cargo.lock index 73f02f09d0..0476d620a1 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cast_chunks/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cast_chunks/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cast_chunks/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cast_chunks/Cargo.toml index 3cd2b36dc7..4e9d2be127 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cast_chunks/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cast_chunks/Cargo.toml @@ -21,4 +21,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cast_tests/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cast_tests/Cargo.lock index f6bf9a8c90..a885f34945 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cast_tests/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cast_tests/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cast_tests/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cast_tests/Cargo.toml index 63734d98a6..75faf1a877 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cast_tests/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cast_tests/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cbrt_smoke/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cbrt_smoke/Cargo.lock index 6d0981f8e1..6250c3b0b7 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cbrt_smoke/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cbrt_smoke/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cbrt_smoke/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cbrt_smoke/Cargo.toml index d86202b044..f12349e649 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cbrt_smoke/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cbrt_smoke/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/checked_arith/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/checked_arith/Cargo.lock index f2ef233ba5..22a605d5c9 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/checked_arith/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/checked_arith/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/checked_arith/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/checked_arith/Cargo.toml index 326f4e854f..2ca5d95cbe 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/checked_arith/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/checked_arith/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/clc/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/clc/Cargo.lock index 2392e70a74..6409d9f788 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/clc/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/clc/Cargo.lock @@ -138,9 +138,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -152,9 +150,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -165,9 +161,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/clc/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/clc/Cargo.toml index 649ccc9c78..e86891a1fc 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/clc/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/clc/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-macros = { path = "../../../../crates/cuda-macros" } cuda-device = { path = "../../../../crates/cuda-device" } cuda-host = { path = "../../../../crates/cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cluster/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cluster/Cargo.lock index 30d7d03df2..53a895695a 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cluster/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cluster/Cargo.lock @@ -138,9 +138,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -152,9 +150,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -165,9 +161,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cluster/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cluster/Cargo.toml index 7352625d09..0d94935130 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cluster/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cluster/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-macros = { path = "../../../../crates/cuda-macros" } cuda-device = { path = "../../../../crates/cuda-device" } cuda-host = { path = "../../../../crates/cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/compiler_features/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/compiler_features/Cargo.lock index 0b587243ce..70deb8c7c7 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/compiler_features/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/compiler_features/Cargo.lock @@ -138,9 +138,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -152,9 +150,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -165,9 +161,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/compiler_features/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/compiler_features/Cargo.toml index f79ec24488..502069fdd7 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/compiler_features/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/compiler_features/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-macros = { path = "../../../../crates/cuda-macros" } cuda-device = { path = "../../../../crates/cuda-device" } cuda-host = { path = "../../../../crates/cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/complex_mul/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/complex_mul/Cargo.lock index 5638e9cc7c..60eb1baa31 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/complex_mul/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/complex_mul/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/complex_mul/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/complex_mul/Cargo.toml index 76123fbaf0..dd33c6c404 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/complex_mul/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/complex_mul/Cargo.toml @@ -14,4 +14,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_aggregate/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_aggregate/Cargo.lock index 9ee2dce022..3ef71976cc 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_aggregate/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_aggregate/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_aggregate/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_aggregate/Cargo.toml index aa850f59c4..962c1b4d29 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_aggregate/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_aggregate/Cargo.toml @@ -19,4 +19,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_bool_dead_branch/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_bool_dead_branch/Cargo.lock index d5f59c979d..41fabb1728 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_bool_dead_branch/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_bool_dead_branch/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_bool_dead_branch/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_bool_dead_branch/Cargo.toml index dc8d71fa1f..ccfe0f0cfb 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_bool_dead_branch/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_bool_dead_branch/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_generic/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_generic/Cargo.lock index 844ba64d3f..ccc08f96f2 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_generic/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_generic/Cargo.lock @@ -138,9 +138,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -152,9 +150,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -165,9 +161,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_generic/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_generic/Cargo.toml index 495197051b..5fe9cb8235 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_generic/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_generic/Cargo.toml @@ -10,5 +10,5 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } ptx-parse = { path = "../../../ptx-parse" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_table_lookup/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_table_lookup/Cargo.lock index 3249cb7164..26fb53caca 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_table_lookup/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_table_lookup/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_table_lookup/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_table_lookup/Cargo.toml index cfb121b529..10dab4b09b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_table_lookup/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_table_lookup/Cargo.toml @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_tuple_table_lookup/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_tuple_table_lookup/Cargo.lock index dbf96fa6da..12a18ab687 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_tuple_table_lookup/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_tuple_table_lookup/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_tuple_table_lookup/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_tuple_table_lookup/Cargo.toml index 5dd6bedd98..771f29995e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/const_tuple_table_lookup/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/const_tuple_table_lookup/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_index_from_end/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_index_from_end/Cargo.lock index bcf6f614aa..4470121240 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_index_from_end/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_index_from_end/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_index_from_end/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_index_from_end/Cargo.toml index e0ba7f4fcc..a6e74dc1d7 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_index_from_end/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_index_from_end/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory/Cargo.lock index e71b118b0f..6e8890fbf5 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory/Cargo.toml index 54b575255a..a3a07bcb41 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_coeffs/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_coeffs/Cargo.lock index f9740dddb6..ac248d8bb3 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_coeffs/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_coeffs/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_coeffs/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_coeffs/Cargo.toml index f7c7b77a32..4066b3e3b8 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_coeffs/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_coeffs/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_simple/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_simple/Cargo.lock index b44db16544..98e2a8c034 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_simple/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_simple/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_simple/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_simple/Cargo.toml index 6332013065..34e520e814 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_simple/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_simple/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_table/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_table/Cargo.lock index 5163734956..7c62ceae52 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_table/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_table/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_table/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_table/Cargo.toml index cbd745e303..3621f16401 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_table/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/constant_memory_table/Cargo.toml @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/coop_groups_demo/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/coop_groups_demo/Cargo.lock index 11a8bc8689..dcca83bb32 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/coop_groups_demo/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/coop_groups_demo/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/coop_groups_demo/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/coop_groups_demo/Cargo.toml index 31547431f4..e6f02721e4 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/coop_groups_demo/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/coop_groups_demo/Cargo.toml @@ -21,4 +21,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/copy_aggregate_borrow/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/copy_aggregate_borrow/Cargo.lock index d402dce173..fdaba39cbd 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/copy_aggregate_borrow/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/copy_aggregate_borrow/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/copy_aggregate_borrow/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/copy_aggregate_borrow/Cargo.toml index 559dbd3d32..bc6368973e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/copy_aggregate_borrow/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/copy_aggregate_borrow/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/copy_nonoverlapping/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/copy_nonoverlapping/Cargo.lock index 0d87e1c364..e583f5fddb 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/copy_nonoverlapping/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/copy_nonoverlapping/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/copy_nonoverlapping/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/copy_nonoverlapping/Cargo.toml index 26ffa7fcd1..5d1368dc34 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/copy_nonoverlapping/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/copy_nonoverlapping/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/counted_barrier/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/counted_barrier/Cargo.lock index 8ac4602cbe..d6e529758d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/counted_barrier/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/counted_barrier/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/counted_barrier/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/counted_barrier/Cargo.toml index 0ca7c97783..eef635f2ef 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/counted_barrier/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/counted_barrier/Cargo.toml @@ -11,4 +11,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cp_async_small/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cp_async_small/Cargo.lock index 275f6ce89b..0641ecb7ab 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cp_async_small/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cp_async_small/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cp_async_small/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cp_async_small/Cargo.toml index a6faff454f..452950d5df 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cp_async_small/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cp_async_small/Cargo.toml @@ -7,6 +7,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cp_async_zfill/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cp_async_zfill/Cargo.lock index e6ab94100b..19b846ea77 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cp_async_zfill/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cp_async_zfill/Cargo.lock @@ -137,9 +137,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -164,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cp_async_zfill/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cp_async_zfill/Cargo.toml index 04a0236261..7854f32e78 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cp_async_zfill/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cp_async_zfill/Cargo.toml @@ -7,6 +7,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cpp_consumes_rust_device/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cpp_consumes_rust_device/Cargo.lock index 7a3141ac8a..059f389beb 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cpp_consumes_rust_device/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cpp_consumes_rust_device/Cargo.lock @@ -136,9 +136,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -150,9 +148,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -163,9 +159,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_embedded/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_embedded/Cargo.lock index d07a96890c..5d37f456da 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_embedded/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_embedded/Cargo.lock @@ -138,9 +138,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -152,9 +150,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -165,9 +161,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_embedded/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_embedded/Cargo.toml index 5cde330916..60e211e141 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_embedded/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_embedded/Cargo.toml @@ -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 = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_embedded/embedded-kernel-lib/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_embedded/embedded-kernel-lib/Cargo.toml index feb4ebc665..f7e5437906 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_embedded/embedded-kernel-lib/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_embedded/embedded-kernel-lib/Cargo.toml @@ -6,6 +6,6 @@ authors = ["Nihal Pasham "] license = "Apache-2.0" [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../../cuda-device" } cuda-host = { path = "../../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_kernel/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_kernel/Cargo.lock index b7aa9b1d52..8aa5c60c45 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_kernel/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_kernel/Cargo.lock @@ -139,9 +139,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -153,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -166,9 +162,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_kernel/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_kernel/Cargo.toml index 13d2e7c5b0..6f6aef3b79 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_kernel/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_kernel/Cargo.toml @@ -15,5 +15,5 @@ kernel-lib = { path = "kernel-lib" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } ptx-parse = { path = "../../../ptx-parse" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_kernel/kernel-lib/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_kernel/kernel-lib/Cargo.toml index 0f2bd7444d..ab0b7bf067 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_kernel/kernel-lib/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_kernel/kernel-lib/Cargo.toml @@ -6,6 +6,6 @@ authors = ["Nihal Pasham "] license = "Apache-2.0" [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../../cuda-device" } cuda-host = { path = "../../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_merged_symbols/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_merged_symbols/Cargo.lock index b8576eb953..7d6afea4d1 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_merged_symbols/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_merged_symbols/Cargo.lock @@ -138,9 +138,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -152,9 +150,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -165,9 +161,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_merged_symbols/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_merged_symbols/Cargo.toml index ef4100a1cb..1061dcaa2e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_merged_symbols/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_merged_symbols/Cargo.toml @@ -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 = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_merged_symbols/merged-symbols-lib/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_merged_symbols/merged-symbols-lib/Cargo.toml index c7ab60e7d3..87ded48a34 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_merged_symbols/merged-symbols-lib/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_merged_symbols/merged-symbols-lib/Cargo.toml @@ -5,6 +5,6 @@ edition = "2024" license = "Apache-2.0" [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../../cuda-device" } cuda-host = { path = "../../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_recursion/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_recursion/Cargo.lock index 0334ded1a0..304d4f8738 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_recursion/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_recursion/Cargo.lock @@ -138,9 +138,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -152,9 +150,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -165,9 +161,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_recursion/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_recursion/Cargo.toml index 0c470419b4..3884576b07 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_recursion/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cross_crate_recursion/Cargo.toml @@ -13,4 +13,4 @@ members = ["reprolib"] reprolib = { path = "reprolib" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_contract/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_contract/Cargo.lock index 01eeff6910..b7ccbf3cd6 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_contract/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_contract/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_contract/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_contract/Cargo.toml index 9c57c9890f..7b84833f1d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_contract/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_contract/Cargo.toml @@ -10,5 +10,5 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } ptx-parse = { path = "../../../ptx-parse" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_in_lib/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_in_lib/Cargo.lock index b899c33e0a..aedf8ee1f5 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_in_lib/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_in_lib/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_in_lib/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_in_lib/Cargo.toml index c6a90567ac..60a96839c2 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_in_lib/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_in_lib/Cargo.toml @@ -15,4 +15,4 @@ module-kernels = { path = "kernel-lib" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_in_lib/kernel-lib/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_in_lib/kernel-lib/Cargo.toml index b949377740..ef1eea5067 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_in_lib/kernel-lib/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_in_lib/kernel-lib/Cargo.toml @@ -6,6 +6,6 @@ authors = ["Nihal Pasham "] license = "Apache-2.0" [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../../cuda-device" } cuda-host = { path = "../../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_nested/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_nested/Cargo.lock index 8b64dec455..15fa7deaa9 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_nested/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_nested/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_nested/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_nested/Cargo.toml index 1c18d999dc..d32bf55c20 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_nested/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cuda_module_nested/Cargo.toml @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/Cargo.lock index ce8df8ab37..79a4f6425a 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/Cargo.lock @@ -169,9 +169,7 @@ dependencies = [ [[package]] name = "cuda-async" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6d51fe2c9b1a89f4ac760d72a197761789f4e60db1d07d3f4d48de65a78adc9" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -186,9 +184,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -200,9 +196,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -213,9 +207,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", @@ -224,9 +216,7 @@ dependencies = [ [[package]] name = "cutile" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "422c8fb32ac648113eb032a6d818f09b0862812224bd4a0ed563fc174f6f5264" +version = "0.4.0" dependencies = [ "anyhow", "cuda-async", @@ -248,9 +238,7 @@ dependencies = [ [[package]] name = "cutile-compiler" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cbc52ad2ae4e8a4440800673f8ccde58909f25c705d82d4925e025f6c3f3565" +version = "0.4.0" dependencies = [ "anyhow", "cuda-async", @@ -270,25 +258,21 @@ dependencies = [ [[package]] name = "cutile-ir" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2042f5b0e653ba62d472454ffe4278133f91b6a25a66b51e9dcbb35ac4ad950f" +version = "0.4.0" dependencies = [ "half", "indexmap", "thiserror", + "uuid", ] [[package]] name = "cutile-macro" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16f574e698764da8e0a6b22f12dac33949bcbe48a43d94492c02f09bb8e65b6a" +version = "0.4.0" dependencies = [ "convert_case", "cutile-compiler", "itertools 0.14.0", - "phf", "proc-macro2", "quote", "sha2", @@ -758,48 +742,6 @@ dependencies = [ "windows-link", ] -[[package]] -name = "phf" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078" -dependencies = [ - "phf_macros", - "phf_shared", -] - -[[package]] -name = "phf_generator" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" -dependencies = [ - "phf_shared", - "rand", -] - -[[package]] -name = "phf_macros" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216" -dependencies = [ - "phf_generator", - "phf_shared", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "phf_shared" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5" -dependencies = [ - "siphasher", -] - [[package]] name = "pin-project-lite" version = "0.2.17" @@ -850,21 +792,6 @@ version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" -[[package]] -name = "rand" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a" -dependencies = [ - "rand_core", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" - [[package]] name = "redox_syscall" version = "0.5.18" @@ -1022,12 +949,6 @@ dependencies = [ "libc", ] -[[package]] -name = "siphasher" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649" - [[package]] name = "slab" version = "0.4.12" diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/Cargo.toml index 82feed4367..3339cb1874 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/Cargo.toml @@ -16,8 +16,8 @@ ptx-dir = "simt" resolver = "2" [dependencies] -cutile = "0.3.1" -cutile-compiler = "0.3.1" -cuda-async = "0.3.1" -cutile-cuda-core = { version = "0.3.1", package = "cuda-core" } +cutile = { path = "../../../../../cutile-rs/cutile", version = "0.4.0" } +cutile-compiler = { path = "../../../../../cutile-rs/cutile-compiler", version = "0.4.0" } +cuda-async = { path = "../../../../../cuda-async", version = "0.4.0" } +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } tokio = { version = "1", features = ["full"] } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/simt/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/simt/Cargo.lock index 364b61cab0..b6bb84c873 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/simt/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/simt/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/simt/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/simt/Cargo.toml index 4358f4b8df..3fc8f8b106 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/simt/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/simt/Cargo.toml @@ -11,4 +11,4 @@ resolver = "2" [dependencies] cuda-device = { path = "../../../../cuda-device" } cuda-host = { path = "../../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/src/main.rs b/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/src/main.rs index 63142158d1..6d931332da 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/src/main.rs +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cutile_inter_kernel/src/main.rs @@ -15,10 +15,10 @@ use cuda_async::device_future::DeviceFuture; use cuda_async::device_operation::{DeviceOp, ExecutionContext}; use cuda_async::error::DeviceError; use cuda_async::launch::AsyncKernelLaunch; +use cuda_core::{Function, LaunchConfig}; use cutile::api::{copy_host_vec_to_device, zeros}; use cutile::error::Error; use cutile::tensor::{IntoPartition, Reshape, Tensor, ToHostVec}; -use cutile_cuda_core::{Function, LaunchConfig}; use std::future::IntoFuture; use std::sync::Arc; diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cvt_f16x2/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cvt_f16x2/Cargo.lock index 28a7db4a95..41761b8893 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cvt_f16x2/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cvt_f16x2/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cvt_f16x2/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cvt_f16x2/Cargo.toml index 7455a105bf..e00aa1988b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cvt_f16x2/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cvt_f16x2/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cvt_packed/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/cvt_packed/Cargo.lock index 692dfc7f4a..be34c2de32 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cvt_packed/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cvt_packed/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/cvt_packed/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/cvt_packed/Cargo.toml index 75a93e742a..9cf328c766 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/cvt_packed/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/cvt_packed/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/debug-tests/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/debug-tests/Cargo.lock index f47883ba38..f66d568a2c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/debug-tests/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/debug-tests/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/debug-tests/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/debug-tests/Cargo.toml index 9bb16c324b..c75395b550 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/debug-tests/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/debug-tests/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-macros = { path = "../../../../crates/cuda-macros" } cuda-device = { path = "../../../../crates/cuda-device" } cuda-host = { path = "../../../../crates/cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/debug/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/debug/Cargo.lock index 2ba759945b..c45afc11ea 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/debug/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/debug/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/debug/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/debug/Cargo.toml index a9dbadb158..91d4c45692 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/debug/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/debug/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-macros = { path = "../../../../crates/cuda-macros" } cuda-device = { path = "../../../../crates/cuda-device" } cuda-host = { path = "../../../../crates/cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/debug_pointer_locals/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/debug_pointer_locals/Cargo.lock index d67b648691..ff0ba980c8 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/debug_pointer_locals/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/debug_pointer_locals/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/debug_pointer_locals/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/debug_pointer_locals/Cargo.toml index 3dd72be85b..cb50a56f20 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/debug_pointer_locals/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/debug_pointer_locals/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/device_closures/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/device_closures/Cargo.lock index 4c6e46a1c0..fbfc3fe9d0 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/device_closures/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/device_closures/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/device_closures/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/device_closures/Cargo.toml index cdc9c1fab7..94060ed5f9 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/device_closures/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/device_closures/Cargo.toml @@ -10,5 +10,5 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/device_ffi_test/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/device_ffi_test/Cargo.lock index c85eb38160..f9a370b1fd 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/device_ffi_test/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/device_ffi_test/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/device_ffi_test/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/device_ffi_test/Cargo.toml index f8ded02488..d0230e2cbd 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/device_ffi_test/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/device_ffi_test/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/device_global/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/device_global/Cargo.lock index 383f6b0335..d9f51af73f 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/device_global/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/device_global/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/device_global/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/device_global/Cargo.toml index 2ce65e76d7..d6ee91b1c1 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/device_global/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/device_global/Cargo.toml @@ -15,4 +15,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/device_panic_trap/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/device_panic_trap/Cargo.lock index f529d5fd6b..abbccc4d8d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/device_panic_trap/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/device_panic_trap/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/device_panic_trap/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/device_panic_trap/Cargo.toml index 91469f46aa..6d759f3025 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/device_panic_trap/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/device_panic_trap/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/disjoint_from_raw_parts/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/disjoint_from_raw_parts/Cargo.lock index 70cd490a8e..99e58cf0fa 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/disjoint_from_raw_parts/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/disjoint_from_raw_parts/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/disjoint_from_raw_parts/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/disjoint_from_raw_parts/Cargo.toml index 4aa55f88d8..9db326fab9 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/disjoint_from_raw_parts/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/disjoint_from_raw_parts/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/disjoint_slice_len/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/disjoint_slice_len/Cargo.lock index 5f68f80a5f..b57449f344 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/disjoint_slice_len/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/disjoint_slice_len/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/disjoint_slice_len/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/disjoint_slice_len/Cargo.toml index 59cbc70ddc..a8af263a6e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/disjoint_slice_len/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/disjoint_slice_len/Cargo.toml @@ -11,7 +11,7 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } # The mir-importer intercepts `DisjointSlice::len` only when rustc's MIR # inliner leaves the call intact; at default release settings the call is diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/dotprod/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/dotprod/Cargo.lock index d57979e28c..927e35e5b9 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/dotprod/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/dotprod/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/dotprod/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/dotprod/Cargo.toml index 48b292e36d..3bd36266b9 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/dotprod/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/dotprod/Cargo.toml @@ -19,4 +19,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/dpx_minmax_chains/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/dpx_minmax_chains/Cargo.lock index f8d469d2b7..3986154648 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/dpx_minmax_chains/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/dpx_minmax_chains/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/dpx_minmax_chains/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/dpx_minmax_chains/Cargo.toml index c6e7bad9f1..9055cb7618 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/dpx_minmax_chains/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/dpx_minmax_chains/Cargo.toml @@ -16,4 +16,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/drop_glue/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/drop_glue/Cargo.lock index 5dba90ff46..092d9bad63 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/drop_glue/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/drop_glue/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/drop_glue/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/drop_glue/Cargo.toml index 2f0726bf02..0d962f2f9a 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/drop_glue/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/drop_glue/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/dst_metadata/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/dst_metadata/Cargo.lock index 52bd8569aa..663fe0e1e4 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/dst_metadata/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/dst_metadata/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/dst_metadata/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/dst_metadata/Cargo.toml index 3d81806196..2ae94c410e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/dst_metadata/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/dst_metadata/Cargo.toml @@ -7,6 +7,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/dynamic_smem/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/dynamic_smem/Cargo.lock index 8d5be55af3..f1f4b2c026 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/dynamic_smem/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/dynamic_smem/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/dynamic_smem/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/dynamic_smem/Cargo.toml index f6b1ff7988..ba275cffa1 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/dynamic_smem/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/dynamic_smem/Cargo.toml @@ -19,4 +19,4 @@ cuda-device = { path = "../../../cuda-device" } # Host-side utilities (CudaKernel trait, etc.) cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/elect_leader/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/elect_leader/Cargo.lock index 81a7f81994..f5ce40a552 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/elect_leader/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/elect_leader/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/elect_leader/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/elect_leader/Cargo.toml index 6900025949..a55c413dc1 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/elect_leader/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/elect_leader/Cargo.toml @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_abi_multi_payload/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_abi_multi_payload/Cargo.lock index b1d74e24d3..55fa067ced 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_abi_multi_payload/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_abi_multi_payload/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_abi_multi_payload/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_abi_multi_payload/Cargo.toml index 2a9b43f4dc..9ef2b24ae3 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_abi_multi_payload/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_abi_multi_payload/Cargo.toml @@ -23,4 +23,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_array_match/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_array_match/Cargo.lock index 09c7177119..34e21c7c8e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_array_match/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_array_match/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_array_match/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_array_match/Cargo.toml index 9eca63fb9a..2478ad13b9 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_array_match/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_array_match/Cargo.toml @@ -22,4 +22,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_constant_provenance/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_constant_provenance/Cargo.lock index 262dfc9fc8..24abb1e836 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_constant_provenance/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_constant_provenance/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_constant_provenance/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_constant_provenance/Cargo.toml index 23231e0e26..a6716df8ad 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_constant_provenance/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_constant_provenance/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_payload_addr/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_payload_addr/Cargo.lock index 3468d7b47d..1966983afe 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_payload_addr/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_payload_addr/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_payload_addr/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_payload_addr/Cargo.toml index 94bb6eefe5..a121410b2c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_payload_addr/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_payload_addr/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_state_transitions/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_state_transitions/Cargo.lock index ed89d4cc7e..4d1eb8f254 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_state_transitions/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_state_transitions/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_state_transitions/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_state_transitions/Cargo.toml index 82572b971a..4e99d7e931 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_state_transitions/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_state_transitions/Cargo.toml @@ -7,6 +7,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_table_lookup/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_table_lookup/Cargo.lock index 5c216116d5..795acb9cd4 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_table_lookup/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_table_lookup/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_table_lookup/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_table_lookup/Cargo.toml index dfdd933342..2fb7ea0845 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_table_lookup/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/enum_table_lookup/Cargo.toml @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/error/Cargo.lock index b536acb602..ae7af048ac 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/error/Cargo.toml index 247ae904c0..0ec1cebdd9 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-macros = { path = "../../../../crates/cuda-macros" } cuda-device = { path = "../../../../crates/cuda-device" } cuda-host = { path = "../../../../crates/cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_bool_payload_addr/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_bool_payload_addr/Cargo.lock index 7622915028..c7bd9ac758 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_bool_payload_addr/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_bool_payload_addr/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_bool_payload_addr/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_bool_payload_addr/Cargo.toml index 975a0c04c2..bd5efceb2d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_bool_payload_addr/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_bool_payload_addr/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_pointer_overlap/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_pointer_overlap/Cargo.lock index ad48361fc0..5e1649b078 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_pointer_overlap/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_pointer_overlap/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_pointer_overlap/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_pointer_overlap/Cargo.toml index c27b976bfa..bfa963cf25 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_pointer_overlap/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_pointer_overlap/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_shared_pointer_layout/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_shared_pointer_layout/Cargo.lock index 6af2cf3dde..a8d8bd3db7 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_shared_pointer_layout/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_shared_pointer_layout/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_shared_pointer_layout/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_shared_pointer_layout/Cargo.toml index 0ec2675568..3ccdd08c61 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_shared_pointer_layout/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_enum_shared_pointer_layout/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_generated_intrinsic_abi/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_generated_intrinsic_abi/Cargo.lock index e506b4ab6c..4d24441cc8 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_generated_intrinsic_abi/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_generated_intrinsic_abi/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_generated_intrinsic_callable/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_generated_intrinsic_callable/Cargo.lock index eafbb76d6c..ac775b6804 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_generated_intrinsic_callable/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_generated_intrinsic_callable/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_generated_intrinsic_fn_pointer/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_generated_intrinsic_fn_pointer/Cargo.lock index 99c15f3011..a471e93a9f 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_generated_intrinsic_fn_pointer/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_generated_intrinsic_fn_pointer/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_generated_intrinsic_unknown_id/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_generated_intrinsic_unknown_id/Cargo.lock index f78ef8f5d7..25462fd135 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_generated_intrinsic_unknown_id/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_generated_intrinsic_unknown_id/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_heap_alloc/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_heap_alloc/Cargo.lock index 787e9ce175..25827662ff 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_heap_alloc/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_heap_alloc/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_heap_alloc/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_heap_alloc/Cargo.toml index 64d0ce90c3..b92eed5fed 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_heap_alloc/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_heap_alloc/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_host_arch_intrinsic/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_host_arch_intrinsic/Cargo.lock index 19bd1ee85e..5319a897c1 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_host_arch_intrinsic/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_host_arch_intrinsic/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_host_arch_intrinsic/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_host_arch_intrinsic/Cargo.toml index 32f93d17f7..3de651b4af 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_host_arch_intrinsic/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_host_arch_intrinsic/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_host_target_feature/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_host_target_feature/Cargo.lock index 9acf06018d..360a02431e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_host_target_feature/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_host_target_feature/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_host_target_feature/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_host_target_feature/Cargo.toml index 33fb6056f0..effd001eec 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_host_target_feature/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_host_target_feature/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_kernel_shared_param/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_kernel_shared_param/Cargo.lock index 314bb7e525..c04672d297 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_kernel_shared_param/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_kernel_shared_param/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_kernel_shared_param/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_kernel_shared_param/Cargo.toml index 425a49b39b..000882c68c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_kernel_shared_param/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_kernel_shared_param/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_missing_device_attr/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_missing_device_attr/Cargo.lock index ffc20635a8..91997eec33 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_missing_device_attr/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_missing_device_attr/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_missing_device_attr/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_missing_device_attr/Cargo.toml index ded0ba980a..41fc5521d8 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_missing_device_attr/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_missing_device_attr/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_set_discriminant_uninhabited/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_set_discriminant_uninhabited/Cargo.lock index 7bfbd566a6..2a2d387203 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_set_discriminant_uninhabited/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_set_discriminant_uninhabited/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_set_discriminant_uninhabited/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_set_discriminant_uninhabited/Cargo.toml index be958a53b7..213d900319 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/error_set_discriminant_uninhabited/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/error_set_discriminant_uninhabited/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/ex2_approx_f16/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/ex2_approx_f16/Cargo.lock index c57932810b..2b169c6980 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/ex2_approx_f16/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/ex2_approx_f16/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/ex2_approx_f16/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/ex2_approx_f16/Cargo.toml index 3b50a6fb39..82e021ff7b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/ex2_approx_f16/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/ex2_approx_f16/Cargo.toml @@ -7,6 +7,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/exact_div_chunks/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/exact_div_chunks/Cargo.lock index 6ccca22a38..87a392571e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/exact_div_chunks/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/exact_div_chunks/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/exact_div_chunks/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/exact_div_chunks/Cargo.toml index c071efd83d..dd6a86a8c6 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/exact_div_chunks/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/exact_div_chunks/Cargo.toml @@ -22,4 +22,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/export_name_policy/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/export_name_policy/Cargo.lock index 2df3450bc2..a5cf5dbb4b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/export_name_policy/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/export_name_policy/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/export_name_policy/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/export_name_policy/Cargo.toml index 4ba03c5ae3..d4ba585c94 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/export_name_policy/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/export_name_policy/Cargo.toml @@ -11,6 +11,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/extern_crate_closure/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/extern_crate_closure/Cargo.lock index 980afae2a9..e45f61411e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/extern_crate_closure/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/extern_crate_closure/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/extern_crate_closure/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/extern_crate_closure/Cargo.toml index 67ce6b20bb..00fb7e3068 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/extern_crate_closure/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/extern_crate_closure/Cargo.toml @@ -13,4 +13,4 @@ members = ["helper-lib"] helper-lib = { path = "helper-lib" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/extern_libdevice/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/extern_libdevice/Cargo.lock index adba8e86fb..e35322740d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/extern_libdevice/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/extern_libdevice/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/extern_libdevice/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/extern_libdevice/Cargo.toml index 3928453a68..5b6b14297a 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/extern_libdevice/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/extern_libdevice/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/f16_stress/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/f16_stress/Cargo.lock index 98b1d3585a..ba6233de9b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/f16_stress/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/f16_stress/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/f16_stress/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/f16_stress/Cargo.toml index 3e6a3bde4e..f6596fee5c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/f16_stress/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/f16_stress/Cargo.toml @@ -11,4 +11,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 = { version = "0.3.1", features = ["f16"] } +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0", features = ["f16"] } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/f16x2_arith/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/f16x2_arith/Cargo.lock index 851a560cb9..d3dc0ec184 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/f16x2_arith/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/f16x2_arith/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/f16x2_arith/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/f16x2_arith/Cargo.toml index bd4acf997e..4436fea1dd 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/f16x2_arith/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/f16x2_arith/Cargo.toml @@ -7,6 +7,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/f32x2_arith/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/f32x2_arith/Cargo.lock index d04ddd1b48..9df6fbcb48 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/f32x2_arith/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/f32x2_arith/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/f32x2_arith/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/f32x2_arith/Cargo.toml index 52225130e6..ce8ffe728f 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/f32x2_arith/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/f32x2_arith/Cargo.toml @@ -7,6 +7,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/fcmp_ne_nan_smoke/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/fcmp_ne_nan_smoke/Cargo.lock index 7e5bd24388..472983a662 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/fcmp_ne_nan_smoke/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/fcmp_ne_nan_smoke/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/fcmp_ne_nan_smoke/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/fcmp_ne_nan_smoke/Cargo.toml index c24fc7f834..d463d67756 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/fcmp_ne_nan_smoke/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/fcmp_ne_nan_smoke/Cargo.toml @@ -21,4 +21,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/field_array_assign/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/field_array_assign/Cargo.lock index 23a109223b..de8cbf89e1 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/field_array_assign/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/field_array_assign/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/field_array_assign/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/field_array_assign/Cargo.toml index 4c7905e843..026cb39121 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/field_array_assign/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/field_array_assign/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/float_rounding/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/float_rounding/Cargo.lock index 3c86f49492..82a53311d6 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/float_rounding/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/float_rounding/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/float_rounding/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/float_rounding/Cargo.toml index f628b4b52e..8b6e992f87 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/float_rounding/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/float_rounding/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/fmaxmin_smoke/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/fmaxmin_smoke/Cargo.lock index 3aea5b89c8..d9f5a36d7b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/fmaxmin_smoke/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/fmaxmin_smoke/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/fmaxmin_smoke/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/fmaxmin_smoke/Cargo.toml index a7c4dda537..8fe9fd3beb 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/fmaxmin_smoke/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/fmaxmin_smoke/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/fn_ptr_naming/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/fn_ptr_naming/Cargo.lock index cfe577c030..81d4b2aeb3 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/fn_ptr_naming/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/fn_ptr_naming/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/fn_ptr_naming/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/fn_ptr_naming/Cargo.toml index 535e481a44..6f3dad6650 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/fn_ptr_naming/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/fn_ptr_naming/Cargo.toml @@ -21,4 +21,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/fp_special_literal_smoke/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/fp_special_literal_smoke/Cargo.lock index 15935cdf61..cc7a0b49d8 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/fp_special_literal_smoke/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/fp_special_literal_smoke/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/fp_special_literal_smoke/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/fp_special_literal_smoke/Cargo.toml index ceb87fa986..66ab77bf47 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/fp_special_literal_smoke/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/fp_special_literal_smoke/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/function_item_call/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/function_item_call/Cargo.lock index 16f54126d7..0aecde78e5 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/function_item_call/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/function_item_call/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/function_item_call/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/function_item_call/Cargo.toml index 75cbbc6bd4..019aeb159d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/function_item_call/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/function_item_call/Cargo.toml @@ -14,4 +14,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/future_apis/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/future_apis/Cargo.lock index 456c8bc76b..6acb192412 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/future_apis/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/future_apis/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/future_apis/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/future_apis/Cargo.toml index 35bd7e3305..215421097d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/future_apis/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/future_apis/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-macros = { path = "../../../../crates/cuda-macros" } cuda-device = { path = "../../../../crates/cuda-device" } cuda-host = { path = "../../../../crates/cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm/Cargo.lock index 42a247fbd7..056047ee7d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm/Cargo.toml index 2e62e700c7..c92ac5d159 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm/Cargo.toml @@ -19,4 +19,4 @@ cuda-device = { path = "../../../cuda-device" } # Host-side utilities (CudaKernel trait, etc.) cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol/Cargo.lock index e0ec81c8bb..0aa6bf7395 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol/Cargo.toml index f06da442f9..aab61a4f62 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol/Cargo.toml @@ -15,5 +15,5 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } half = "2.4" diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/Cargo.lock index d804b0e2d3..99a1c1c813 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/Cargo.toml index 69128e7171..2d653f627c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/Cargo.toml @@ -14,6 +14,6 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } half = "2.4" ptx-parse = { path = "../../../ptx-parse" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/bench/README.md b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/bench/README.md index a0a4abf73f..1b3bf2e9ce 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/bench/README.md +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/bench/README.md @@ -40,11 +40,13 @@ the accepted final measurements are recorded in `../README.md`. The packaged `build.sh` figures out CUDA paths (honoring `CUDA_HOME` / `CUDA_PATH`, then falling back to `/usr/local/cuda`) and rpath-pins the toolkit libraries ahead of any unrelated CUDA installation inherited through -`LD_LIBRARY_PATH`. Enter `nix develop path:.` at the repository root; a system -CTK also needs a compatible driver library on its runtime path: +`LD_LIBRARY_PATH`. Enter the cuda-oxide Nix shell from the repository root; +a system CTK also needs a compatible driver library on its runtime path: ```bash -cd bench/ +cd cuda-oxide +nix develop +cd crates/rustc-codegen-cuda/examples/gemm_sol_final/bench bash build.sh ./cublaslt_bench ``` diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/bench/build.sh b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/bench/build.sh index 857d6bef9c..69f17d85d3 100755 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/bench/build.sh +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_sol_final/bench/build.sh @@ -10,7 +10,7 @@ # CUDA_HOME / cublasLt changes. # # Picks the CUDA toolkit in this priority order: -# 1. $CUDA_HOME (set by the harness `nix develop path:.`) +# 1. $CUDA_HOME (set by the cuda-oxide `nix develop`) # 2. $CUDA_PATH (alternative env var some toolchains use) # 3. /usr/local/cuda (system install) # @@ -27,7 +27,7 @@ cuda_root="${CUDA_HOME:-${CUDA_PATH:-/usr/local/cuda}}" if [[ ! -d "$cuda_root" ]]; then echo "error: CUDA toolkit not found." >&2 echo " tried CUDA_HOME=${CUDA_HOME:-}, CUDA_PATH=${CUDA_PATH:-}, /usr/local/cuda" >&2 - echo " set CUDA_HOME to your CTK install (in the harness `nix develop path:.` shell this is automatic)." >&2 + echo " set CUDA_HOME to your CTK install (in the cuda-oxide `nix develop` shell this is automatic)." >&2 exit 1 fi diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_views/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_views/Cargo.lock index d80fa49aa9..6b48d2b29b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_views/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_views/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_views/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_views/Cargo.toml index 3684434cd1..e165b7f14f 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_views/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/gemm_views/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } ptx-parse = { path = "../../../ptx-parse" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_intrinsics/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_intrinsics/Cargo.lock index 39ddf5df63..e965b3570e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_intrinsics/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_intrinsics/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_intrinsics/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_intrinsics/Cargo.toml index 679f653fa0..a1576d1550 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_intrinsics/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_intrinsics/Cargo.toml @@ -12,4 +12,4 @@ license = "Apache-2.0" cuda-intrinsics = { path = "../../../cuda-intrinsics" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_intrinsics_blackwell/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_intrinsics_blackwell/Cargo.lock index e0f4d81a3d..65176bc3a3 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_intrinsics_blackwell/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_intrinsics_blackwell/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_intrinsics_blackwell/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_intrinsics_blackwell/Cargo.toml index 59b5d4b149..3a402e3009 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_intrinsics_blackwell/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_intrinsics_blackwell/Cargo.toml @@ -11,4 +11,4 @@ license = "Apache-2.0" cuda-intrinsics = { path = "../../../cuda-intrinsics" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_ldmatrix/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_ldmatrix/Cargo.lock index a6a401cbae..0e5a302952 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_ldmatrix/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_ldmatrix/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_ldmatrix/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_ldmatrix/Cargo.toml index 201756c51e..fadb0977bb 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_ldmatrix/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/generated_ldmatrix/Cargo.toml @@ -12,4 +12,4 @@ license = "Apache-2.0" cuda-intrinsics = { path = "../../../cuda-intrinsics" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/generic/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/generic/Cargo.lock index 4c5adc73fe..cf06cdd05d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/generic/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/generic/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/generic/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/generic/Cargo.toml index b687138d0b..4632c099ab 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/generic/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/generic/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap/Cargo.lock index 2319208577..e44dd77b0c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap/Cargo.toml index 70cfb28bbd..d23a0dbfea 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap_v2/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap_v2/Cargo.lock index 25fac89f43..6a872c48e4 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap_v2/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap_v2/Cargo.lock @@ -159,9 +159,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -173,9 +171,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -186,9 +182,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap_v2/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap_v2/Cargo.toml index a06554d519..e2ce14192c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap_v2/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap_v2/Cargo.toml @@ -28,6 +28,6 @@ path = "src/bin/bench.rs" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } hashbrown = "0.15" rayon = "1.10" diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap_v3/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap_v3/Cargo.lock index a783fa3efa..f5ae4facdd 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap_v3/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap_v3/Cargo.lock @@ -159,9 +159,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -173,9 +171,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -186,9 +182,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap_v3/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap_v3/Cargo.toml index 6d72fd6989..c4592846b0 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap_v3/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/hashmap_v3/Cargo.toml @@ -27,6 +27,6 @@ path = "src/bin/bench.rs" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } hashbrown = "0.15" rayon = "1.10" diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/hello_constant/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/hello_constant/Cargo.lock index f75ea10174..5279c6e7ef 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/hello_constant/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/hello_constant/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/hello_constant/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/hello_constant/Cargo.toml index ab5f0a16a1..e1528be7e1 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/hello_constant/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/hello_constant/Cargo.toml @@ -19,4 +19,4 @@ cuda-device = { path = "../../../cuda-device" } # Host-side utilities (CudaKernel trait, etc.) cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/helper_fn/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/helper_fn/Cargo.lock index 2d58ec8e57..f6d933ccbc 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/helper_fn/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/helper_fn/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/helper_fn/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/helper_fn/Cargo.toml index 4e6e8bbd2b..840335717c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/helper_fn/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/helper_fn/Cargo.toml @@ -19,4 +19,4 @@ cuda-device = { path = "../../../cuda-device" } # Host-side utilities (CudaKernel trait, etc.) cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/host_closure/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/host_closure/Cargo.lock index d1c83eea7c..2add398677 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/host_closure/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/host_closure/Cargo.lock @@ -134,9 +134,7 @@ dependencies = [ [[package]] name = "cuda-async" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6d51fe2c9b1a89f4ac760d72a197761789f4e60db1d07d3f4d48de65a78adc9" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -165,9 +161,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -178,9 +172,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/host_closure/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/host_closure/Cargo.toml index fbc4c864f7..8e534d4492 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/host_closure/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/host_closure/Cargo.toml @@ -10,5 +10,5 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host", features = ["async"] } -cuda-core = "0.3.1" -cuda-async = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } +cuda-async = { path = "../../../../../cuda-async", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/host_closure_target_feature/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/host_closure_target_feature/Cargo.lock index 7ffc4317fc..df77869652 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/host_closure_target_feature/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/host_closure_target_feature/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/host_closure_target_feature/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/host_closure_target_feature/Cargo.toml index a59e2b55e4..fe674badea 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/host_closure_target_feature/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/host_closure_target_feature/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/iket_trace/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/iket_trace/Cargo.lock index 244a74a2a3..781249726e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/iket_trace/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/iket_trace/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/iket_trace/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/iket_trace/Cargo.toml index f94d26dc95..aa5238658e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/iket_trace/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/iket_trace/Cargo.toml @@ -7,6 +7,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/image_convolution/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/image_convolution/Cargo.lock index 75d597190c..6cb6944b5c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/image_convolution/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/image_convolution/Cargo.lock @@ -140,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -154,9 +152,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -167,9 +163,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/image_convolution/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/image_convolution/Cargo.toml index aca886ba8a..ec74dd2bde 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/image_convolution/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/image_convolution/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } png = "0.17" diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/index2d_const/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/index2d_const/Cargo.lock index 61c4488138..0686ce42dd 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/index2d_const/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/index2d_const/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/index2d_const/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/index2d_const/Cargo.toml index 065b9e4c20..22f866ad6c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/index2d_const/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/index2d_const/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/index_field_assign/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/index_field_assign/Cargo.lock index 46eb8d72a2..34f5c2907d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/index_field_assign/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/index_field_assign/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/index_field_assign/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/index_field_assign/Cargo.toml index 88a5d442b6..5f61206def 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/index_field_assign/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/index_field_assign/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/inline_ptx/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/inline_ptx/Cargo.lock index 3f727fe69a..ebaeb8b7e0 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/inline_ptx/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/inline_ptx/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/inline_ptx/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/inline_ptx/Cargo.toml index a1b66c39de..0dd7348737 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/inline_ptx/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/inline_ptx/Cargo.toml @@ -7,6 +7,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/integer_minmax/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/integer_minmax/Cargo.lock index a295a5530d..ea07c279ad 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/integer_minmax/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/integer_minmax/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/integer_minmax/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/integer_minmax/Cargo.toml index 2e2a4dd440..45240f8049 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/integer_minmax/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/integer_minmax/Cargo.toml @@ -7,6 +7,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/interior_mutability/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/interior_mutability/Cargo.lock index fc4d32f5e3..b9c688b9c5 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/interior_mutability/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/interior_mutability/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/interior_mutability/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/interior_mutability/Cargo.toml index 51f0f861f0..c58f305594 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/interior_mutability/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/interior_mutability/Cargo.toml @@ -7,6 +7,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/interop_cubin_identity/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/interop_cubin_identity/Cargo.lock index 5aaa26644b..8746a26f4b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/interop_cubin_identity/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/interop_cubin_identity/Cargo.lock @@ -117,9 +117,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -131,9 +129,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -144,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/interop_cubin_identity/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/interop_cubin_identity/Cargo.toml index 5d2370457f..3517c4d7d0 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/interop_cubin_identity/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/interop_cubin_identity/Cargo.toml @@ -21,5 +21,5 @@ bin = "scale-offset-device" resolver = "2" [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } sha2 = "0.10" diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/interop_cubin_identity/device/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/interop_cubin_identity/device/Cargo.lock index 207a1fb6d3..5b1e7cd88d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/interop_cubin_identity/device/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/interop_cubin_identity/device/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/interop_cubin_identity/device/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/interop_cubin_identity/device/Cargo.toml index 0963a5b515..b54b93c0bd 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/interop_cubin_identity/device/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/interop_cubin_identity/device/Cargo.toml @@ -18,4 +18,4 @@ resolver = "2" [dependencies] cuda-device = { path = "../../../../cuda-device" } cuda-host = { path = "../../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/kernel_reference_validity/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/kernel_reference_validity/Cargo.lock index 0935248304..421a8e618e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/kernel_reference_validity/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/kernel_reference_validity/Cargo.lock @@ -134,9 +134,7 @@ dependencies = [ [[package]] name = "cuda-async" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6d51fe2c9b1a89f4ac760d72a197761789f4e60db1d07d3f4d48de65a78adc9" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -151,9 +149,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -165,9 +161,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -178,9 +172,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/kernel_reference_validity/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/kernel_reference_validity/Cargo.toml index 17250f7e98..c6b01baf4b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/kernel_reference_validity/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/kernel_reference_validity/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host", features = ["async"] } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/lanemask_scan/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/lanemask_scan/Cargo.lock index 6587b07b31..e0a335f508 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/lanemask_scan/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/lanemask_scan/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/lanemask_scan/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/lanemask_scan/Cargo.toml index 047fe9d209..0d45656dd8 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/lanemask_scan/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/lanemask_scan/Cargo.toml @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_atomic_fadd/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_atomic_fadd/Cargo.lock index 8a1ca2cc18..acedcabc8b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_atomic_fadd/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_atomic_fadd/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_atomic_fadd/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_atomic_fadd/Cargo.toml index 9d05a73a75..b51310232a 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_atomic_fadd/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_atomic_fadd/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_atomic_rmw_cas/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_atomic_rmw_cas/Cargo.lock index 46c0130603..904c9c5d51 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_atomic_rmw_cas/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_atomic_rmw_cas/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_atomic_rmw_cas/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_atomic_rmw_cas/Cargo.toml index 2e077923fd..9030008719 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_atomic_rmw_cas/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_atomic_rmw_cas/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_nvvm_pointer_shapes/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_nvvm_pointer_shapes/Cargo.lock index 34e88a1108..41da688d10 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_nvvm_pointer_shapes/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_nvvm_pointer_shapes/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_nvvm_pointer_shapes/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_nvvm_pointer_shapes/Cargo.toml index d3af880aaf..9f1a9259c4 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_nvvm_pointer_shapes/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/legacy_nvvm_pointer_shapes/Cargo.toml @@ -14,4 +14,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/libdevice_math/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/libdevice_math/Cargo.lock index cfa69d8993..285c0c6c88 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/libdevice_math/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/libdevice_math/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/libdevice_math/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/libdevice_math/Cargo.toml index d7324b4074..84bfcd4fb2 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/libdevice_math/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/libdevice_math/Cargo.toml @@ -15,4 +15,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/libm_math/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/libm_math/Cargo.lock index c8d4e98cf7..fe87b406fb 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/libm_math/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/libm_math/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/libm_math/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/libm_math/Cargo.toml index 42906a80dc..4a21f4ed3e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/libm_math/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/libm_math/Cargo.toml @@ -19,5 +19,5 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } libm = "0.2" diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/manual_launch_generic/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/manual_launch_generic/Cargo.lock index 19666b0c06..175db3a78e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/manual_launch_generic/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/manual_launch_generic/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/manual_launch_generic/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/manual_launch_generic/Cargo.toml index fa5f84ea7a..caf96497e3 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/manual_launch_generic/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/manual_launch_generic/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/manual_launch_libdevice/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/manual_launch_libdevice/Cargo.lock index 33ab1d54c3..f402402704 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/manual_launch_libdevice/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/manual_launch_libdevice/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/manual_launch_libdevice/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/manual_launch_libdevice/Cargo.toml index 0e1d50d151..c8b27ce73c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/manual_launch_libdevice/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/manual_launch_libdevice/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/map_sum/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/map_sum/Cargo.lock index 601c2a54e8..8c33481722 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/map_sum/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/map_sum/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/map_sum/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/map_sum/Cargo.toml index 43b1f7a079..f9be9aeb50 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/map_sum/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/map_sum/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/math_atan/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/math_atan/Cargo.lock index 92da87cf7c..b60d260cf3 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/math_atan/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/math_atan/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/math_atan/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/math_atan/Cargo.toml index 93152cb483..f813df95c7 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/math_atan/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/math_atan/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/math_hyperbolic/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/math_hyperbolic/Cargo.lock index e1e2b9218e..bf4fc4cda4 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/math_hyperbolic/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/math_hyperbolic/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/math_hyperbolic/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/math_hyperbolic/Cargo.toml index c3c659a5ff..0fa502e77a 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/math_hyperbolic/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/math_hyperbolic/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/math_no_mir_inline/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/math_no_mir_inline/Cargo.lock index d81fee134f..9cbbb86a02 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/math_no_mir_inline/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/math_no_mir_inline/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/math_no_mir_inline/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/math_no_mir_inline/Cargo.toml index e6067d366b..71511451d1 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/math_no_mir_inline/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/math_no_mir_inline/Cargo.toml @@ -12,7 +12,7 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } # `x.atan()` and every other float method is a one-line `#[inline]` wrapper in # `std`. At default release settings rustc's MIR inliner folds that wrapper diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/math_tan/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/math_tan/Cargo.lock index 2cfef54516..d32db3b7d9 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/math_tan/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/math_tan/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/math_tan/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/math_tan/Cargo.toml index 26c4616151..79c12e11af 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/math_tan/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/math_tan/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/mathdx_ffi_test/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/mathdx_ffi_test/Cargo.lock index d1b06fc902..8d14b54b1c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/mathdx_ffi_test/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/mathdx_ffi_test/Cargo.lock @@ -148,9 +148,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen 0.69.5", "libloading", @@ -162,9 +160,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -175,9 +171,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/mathdx_ffi_test/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/mathdx_ffi_test/Cargo.toml index 63c43f16c3..ff22aaa172 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/mathdx_ffi_test/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/mathdx_ffi_test/Cargo.toml @@ -10,7 +10,7 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } # For runtime LTOIR generation (Option B) - optional libmathdx-sys = { path = "libmathdx-sys", optional = true } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/mcast_barrier_test/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/mcast_barrier_test/Cargo.lock index d5502a8d42..f8bd26cdd5 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/mcast_barrier_test/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/mcast_barrier_test/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/mcast_barrier_test/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/mcast_barrier_test/Cargo.toml index 784fd02ae2..364fc8f2fb 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/mcast_barrier_test/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/mcast_barrier_test/Cargo.toml @@ -14,4 +14,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/mem_swap/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/mem_swap/Cargo.lock index 01de7b85de..9f0b7f6203 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/mem_swap/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/mem_swap/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/mem_swap/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/mem_swap/Cargo.toml index fc22aa9845..6f66fb3e79 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/mem_swap/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/mem_swap/Cargo.toml @@ -19,4 +19,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/mir_projected_call_destination/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/mir_projected_call_destination/Cargo.lock index 863e54db07..3fd8bac65e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/mir_projected_call_destination/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/mir_projected_call_destination/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/mir_projected_call_destination/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/mir_projected_call_destination/Cargo.toml index 4e3d9e757a..00cdb6a636 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/mir_projected_call_destination/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/mir_projected_call_destination/Cargo.toml @@ -13,5 +13,5 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } libm = "0.2" diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/mma_mxf8f6f4/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/mma_mxf8f6f4/Cargo.lock index 0922e1f8e0..1e680c9900 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/mma_mxf8f6f4/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/mma_mxf8f6f4/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/mma_mxf8f6f4/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/mma_mxf8f6f4/Cargo.toml index ce36da9f86..8054015571 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/mma_mxf8f6f4/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/mma_mxf8f6f4/Cargo.toml @@ -11,4 +11,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/ne_bytes_transmute/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/ne_bytes_transmute/Cargo.lock index b22fe5ef2d..978743e322 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/ne_bytes_transmute/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/ne_bytes_transmute/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/ne_bytes_transmute/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/ne_bytes_transmute/Cargo.toml index 4c3235f557..4c521b448e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/ne_bytes_transmute/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/ne_bytes_transmute/Cargo.toml @@ -21,4 +21,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/nested_index_assignment/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/nested_index_assignment/Cargo.lock index a8e8178c7f..2be4cddb5c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/nested_index_assignment/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/nested_index_assignment/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/nested_index_assignment/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/nested_index_assignment/Cargo.toml index e6a1949f14..6fd9c4b586 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/nested_index_assignment/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/nested_index_assignment/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/numeric_stress/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/numeric_stress/Cargo.lock index e00ca11700..3de95b53ce 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/numeric_stress/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/numeric_stress/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/numeric_stress/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/numeric_stress/Cargo.toml index b61aa52063..4ffdacf46d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/numeric_stress/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/numeric_stress/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/nvls_all_reduce/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/nvls_all_reduce/Cargo.lock index 057fa2bbbc..816249364b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/nvls_all_reduce/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/nvls_all_reduce/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/nvls_all_reduce/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/nvls_all_reduce/Cargo.toml index 5a1f792d3d..bbce4a6e42 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/nvls_all_reduce/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/nvls_all_reduce/Cargo.toml @@ -12,6 +12,6 @@ license = "Apache-2.0" # cargo oxide run nvls_all_reduce [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/option_ref_transmute/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/option_ref_transmute/Cargo.lock index bdeafb01bd..74b48892c7 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/option_ref_transmute/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/option_ref_transmute/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/option_ref_transmute/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/option_ref_transmute/Cargo.toml index 5b86ebfe03..32c9f4a75d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/option_ref_transmute/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/option_ref_transmute/Cargo.toml @@ -19,4 +19,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/option_ref_unwrap_or/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/option_ref_unwrap_or/Cargo.lock index 28420dff9a..8f05005c91 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/option_ref_unwrap_or/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/option_ref_unwrap_or/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/option_ref_unwrap_or/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/option_ref_unwrap_or/Cargo.toml index f9a081ffb3..2c86451a68 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/option_ref_unwrap_or/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/option_ref_unwrap_or/Cargo.toml @@ -20,4 +20,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/option_unwrap_trap/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/option_unwrap_trap/Cargo.lock index 92603a6e8c..5dce21dac4 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/option_unwrap_trap/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/option_unwrap_trap/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/option_unwrap_trap/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/option_unwrap_trap/Cargo.toml index 540a2fae1c..b86ba0b26f 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/option_unwrap_trap/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/option_unwrap_trap/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/ord_cmp/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/ord_cmp/Cargo.lock index dfe385a365..31ced58282 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/ord_cmp/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/ord_cmp/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/ord_cmp/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/ord_cmp/Cargo.toml index 33d0ca9969..fef11f6c29 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/ord_cmp/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/ord_cmp/Cargo.toml @@ -13,4 +13,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/packed_aggregate_abi/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/packed_aggregate_abi/Cargo.lock index 790d39cce9..09dddb0199 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/packed_aggregate_abi/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/packed_aggregate_abi/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/packed_aggregate_abi/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/packed_aggregate_abi/Cargo.toml index 74bbf2bad9..bcf39f1dcf 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/packed_aggregate_abi/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/packed_aggregate_abi/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/packed_atomic_add/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/packed_atomic_add/Cargo.lock index dad75fc12e..b3709e011e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/packed_atomic_add/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/packed_atomic_add/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/packed_atomic_add/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/packed_atomic_add/Cargo.toml index ba13d7ceea..6958fd95c0 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/packed_atomic_add/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/packed_atomic_add/Cargo.toml @@ -7,7 +7,7 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } half = "2.7" diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/padded_constants/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/padded_constants/Cargo.lock index 13eb6c1c41..393991e170 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/padded_constants/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/padded_constants/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/padded_constants/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/padded_constants/Cargo.toml index aa836227ef..d39a751bfe 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/padded_constants/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/padded_constants/Cargo.toml @@ -25,4 +25,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/partial_warp_reduce/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/partial_warp_reduce/Cargo.lock index 59cc4cf060..ba0ebf3c83 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/partial_warp_reduce/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/partial_warp_reduce/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/partial_warp_reduce/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/partial_warp_reduce/Cargo.toml index 299e94e86f..1c0ca1b5a4 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/partial_warp_reduce/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/partial_warp_reduce/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/pinned_overlap/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/pinned_overlap/Cargo.lock index 45d4bc755e..f819cd7b3b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/pinned_overlap/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/pinned_overlap/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/pinned_overlap/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/pinned_overlap/Cargo.toml index d808fbbf52..a03e65a17e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/pinned_overlap/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/pinned_overlap/Cargo.toml @@ -4,11 +4,11 @@ version = "0.1.0" edition = "2024" license = "Apache-2.0" -# Keep this example outside the root workspace, like the other unified +# Keep this example outside the SIMT workspace, like the other unified # compilation examples. Run it with: cargo oxide run pinned_overlap [workspace] [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/place_read_fallbacks/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/place_read_fallbacks/Cargo.lock index 836460af70..78b2f77a2a 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/place_read_fallbacks/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/place_read_fallbacks/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/place_read_fallbacks/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/place_read_fallbacks/Cargo.toml index 8742e6c4b7..5f1222767e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/place_read_fallbacks/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/place_read_fallbacks/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/policy_config/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/policy_config/Cargo.lock index 7a7d466aed..713f0777ab 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/policy_config/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/policy_config/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/policy_config/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/policy_config/Cargo.toml index bef2365d01..a5e05c012e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/policy_config/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/policy_config/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } ptx-parse = { path = "../../../ptx-parse" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/primitive_stress/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/primitive_stress/Cargo.lock index 0f780e0c03..c84a6e15e3 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/primitive_stress/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/primitive_stress/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/primitive_stress/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/primitive_stress/Cargo.toml index ff111eb9de..1ffe1aabfe 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/primitive_stress/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/primitive_stress/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/printf/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/printf/Cargo.lock index 6ba7b5a341..a06ac1675b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/printf/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/printf/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/printf/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/printf/Cargo.toml index 47cdfe3f01..214e223980 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/printf/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/printf/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-macros = { path = "../../../../crates/cuda-macros" } cuda-device = { path = "../../../../crates/cuda-device" } cuda-host = { path = "../../../../crates/cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/projected_place_read/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/projected_place_read/Cargo.lock index a711f72df0..88cde29662 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/projected_place_read/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/projected_place_read/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/projected_place_read/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/projected_place_read/Cargo.toml index 27c1334ca9..1bcb8c2c53 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/projected_place_read/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/projected_place_read/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/proof_carrying_views/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/proof_carrying_views/Cargo.lock index 6c51df57bb..3ec04b9e64 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/proof_carrying_views/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/proof_carrying_views/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/proof_carrying_views/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/proof_carrying_views/Cargo.toml index c257909431..124d04e674 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/proof_carrying_views/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/proof_carrying_views/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } ptx-parse = { path = "../../../ptx-parse" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_copy/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_copy/Cargo.lock index 5fc42300c5..5b4640b69b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_copy/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_copy/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_copy/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_copy/Cargo.toml index f4c9340ec1..b33fd99658 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_copy/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_copy/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_offset_from/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_offset_from/Cargo.lock index 39ec99a09a..c17c3d7a1c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_offset_from/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_offset_from/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_offset_from/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_offset_from/Cargo.toml index bbed415fb8..25a5e2a7c7 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_offset_from/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_offset_from/Cargo.toml @@ -19,4 +19,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_without_provenance/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_without_provenance/Cargo.lock index 309b04e6ad..b9d72525d5 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_without_provenance/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_without_provenance/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_without_provenance/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_without_provenance/Cargo.toml index bcd2d98bbb..9af797f223 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_without_provenance/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/ptr_without_provenance/Cargo.toml @@ -16,4 +16,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/reborrow/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/reborrow/Cargo.lock index 62442662a7..c6112cebe8 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/reborrow/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/reborrow/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/reborrow/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/reborrow/Cargo.toml index fd709678f6..c22aa0c126 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/reborrow/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/reborrow/Cargo.toml @@ -11,7 +11,7 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } # The importer's `Rvalue::Reborrow` arm has a `Mutability::Mut` half that only # exists in unoptimized MIR: GVN folds a mutable reborrow into a plain copy at diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_f32/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_f32/Cargo.lock index 6aa124be71..fbe1e8cb36 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_f32/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_f32/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_f32/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_f32/Cargo.toml index 9eb289b8fc..de667cf7bd 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_f32/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_f32/Cargo.toml @@ -19,4 +19,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_minmax/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_minmax/Cargo.lock index f3b9bee812..ecbeeb54f8 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_minmax/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_minmax/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_minmax/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_minmax/Cargo.toml index 493fa3e904..3f63ed4419 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_minmax/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_minmax/Cargo.toml @@ -19,4 +19,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_sum/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_sum/Cargo.lock index 9dc1c7039e..45927fe620 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_sum/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_sum/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_sum/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_sum/Cargo.toml index 2deaa4a532..ee960b4e78 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_sum/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/redux_sum/Cargo.toml @@ -19,4 +19,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/ref_index_projections/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/ref_index_projections/Cargo.lock index f5f0bc3392..74c888841a 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/ref_index_projections/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/ref_index_projections/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/ref_index_projections/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/ref_index_projections/Cargo.toml index cf73d3af84..e11970280a 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/ref_index_projections/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/ref_index_projections/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/ref_operand_mul/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/ref_operand_mul/Cargo.lock index 02fa2424b0..94d0fa2102 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/ref_operand_mul/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/ref_operand_mul/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/ref_operand_mul/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/ref_operand_mul/Cargo.toml index 853bde5655..dca2fff37c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/ref_operand_mul/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/ref_operand_mul/Cargo.toml @@ -15,4 +15,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_align_block_args/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_align_block_args/Cargo.lock index 46399531a1..159dcc98f3 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_align_block_args/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_align_block_args/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_align_block_args/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_align_block_args/Cargo.toml index 67d4d14609..2d34347cac 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_align_block_args/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_align_block_args/Cargo.toml @@ -22,4 +22,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_transparent_abi/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_transparent_abi/Cargo.lock index 7074df0e96..10231a6158 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_transparent_abi/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_transparent_abi/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_transparent_abi/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_transparent_abi/Cargo.toml index dc9f9d2061..66bbb60bdf 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_transparent_abi/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_transparent_abi/Cargo.toml @@ -10,5 +10,5 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } ptx-parse = { path = "../../../ptx-parse" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_u32_enum_stride/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_u32_enum_stride/Cargo.lock index d451463481..c2f3be4056 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_u32_enum_stride/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_u32_enum_stride/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_u32_enum_stride/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_u32_enum_stride/Cargo.toml index 64a63b9c65..f6f84f9b4f 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_u32_enum_stride/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/repr_u32_enum_stride/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/row_width_slice/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/row_width_slice/Cargo.lock index ae37cf93a1..9cf1089479 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/row_width_slice/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/row_width_slice/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/row_width_slice/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/row_width_slice/Cargo.toml index 799e118761..32d3ccb88a 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/row_width_slice/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/row_width_slice/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/rustlantis-smoke/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/rustlantis-smoke/Cargo.lock index 4d673e5b07..9d24a6b8d4 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/rustlantis-smoke/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/rustlantis-smoke/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/rustlantis-smoke/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/rustlantis-smoke/Cargo.toml index 5608ae676f..d7b780fec3 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/rustlantis-smoke/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/rustlantis-smoke/Cargo.toml @@ -17,5 +17,5 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } fuzzer = { path = "../../../fuzzer" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/scoped_atomic_load_store/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/scoped_atomic_load_store/Cargo.lock index 92e2a934ce..26d379b8e3 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/scoped_atomic_load_store/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/scoped_atomic_load_store/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/scoped_atomic_load_store/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/scoped_atomic_load_store/Cargo.toml index df979f815c..6b3f0a3192 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/scoped_atomic_load_store/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/scoped_atomic_load_store/Cargo.toml @@ -14,4 +14,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/select_unpredictable/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/select_unpredictable/Cargo.lock index 35519c6b51..b1cb5d2039 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/select_unpredictable/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/select_unpredictable/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/select_unpredictable/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/select_unpredictable/Cargo.toml index 911b1d55b3..dab6abf19c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/select_unpredictable/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/select_unpredictable/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/set_discriminant/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/set_discriminant/Cargo.lock index 6f3c3a9b3f..a623091819 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/set_discriminant/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/set_discriminant/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/set_discriminant/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/set_discriminant/Cargo.toml index f81ffd0c89..aeb69db028 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/set_discriminant/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/set_discriminant/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/set_discriminant_niche/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/set_discriminant_niche/Cargo.lock index aecbfcee2b..158ecda0ac 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/set_discriminant_niche/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/set_discriminant_niche/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/set_discriminant_niche/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/set_discriminant_niche/Cargo.toml index 006a8c663d..e951a2c339 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/set_discriminant_niche/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/set_discriminant_niche/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_debug/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_debug/Cargo.lock index 77bc354e7a..b790ed2ca1 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_debug/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_debug/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_debug/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_debug/Cargo.toml index cc24574f5e..b1e0db543e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_debug/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_debug/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_memory_helper/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_memory_helper/Cargo.lock index 4ad967108d..881232eacb 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_memory_helper/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_memory_helper/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_memory_helper/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_memory_helper/Cargo.toml index 786e8cd30a..9fdb9ebad7 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_memory_helper/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_memory_helper/Cargo.toml @@ -18,5 +18,5 @@ heuristic-inline = ["shared-memory-helper-lib/heuristic-inline"] [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } shared-memory-helper-lib = { path = "helper-lib" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_ptr_transmute/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_ptr_transmute/Cargo.lock index d02cf251c1..6b72183413 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_ptr_transmute/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_ptr_transmute/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_ptr_transmute/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_ptr_transmute/Cargo.toml index db4689bb42..45303244c7 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_ptr_transmute/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_ptr_transmute/Cargo.toml @@ -23,4 +23,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_slice_unsize/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_slice_unsize/Cargo.lock index bb356c6539..0a11acde77 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_slice_unsize/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_slice_unsize/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_slice_unsize/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_slice_unsize/Cargo.toml index 37beccc8a1..358296538a 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_slice_unsize/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_slice_unsize/Cargo.toml @@ -22,4 +22,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_stage_select/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_stage_select/Cargo.lock index 44f7af58e3..b3f2de5290 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_stage_select/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_stage_select/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_stage_select/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_stage_select/Cargo.toml index 8a3024162a..2d74c93a6d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_stage_select/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/shared_stage_select/Cargo.toml @@ -16,4 +16,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/sharedmem/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/sharedmem/Cargo.lock index a216018f98..e9f87595fa 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/sharedmem/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/sharedmem/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/sharedmem/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/sharedmem/Cargo.toml index 8ca6d43fb3..f093c77424 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/sharedmem/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/sharedmem/Cargo.toml @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime (with HMM support) -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/shuffle_64/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/shuffle_64/Cargo.lock index 30945aa733..7e138e6546 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/shuffle_64/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/shuffle_64/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/shuffle_64/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/shuffle_64/Cargo.toml index 79eb0f03c2..a6dc731fa9 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/shuffle_64/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/shuffle_64/Cargo.toml @@ -19,4 +19,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_from_raw_parts_cast/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_from_raw_parts_cast/Cargo.lock index b68ba2a55c..205c918587 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_from_raw_parts_cast/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_from_raw_parts_cast/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_from_raw_parts_cast/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_from_raw_parts_cast/Cargo.toml index d52ad17b1f..c8c2483561 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_from_raw_parts_cast/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_from_raw_parts_cast/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_get_mut/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_get_mut/Cargo.lock index bb298f071e..9edf3c367b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_get_mut/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_get_mut/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_get_mut/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_get_mut/Cargo.toml index 09eff0fff7..443f9a35cc 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_get_mut/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_get_mut/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_index_bounds_check/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_index_bounds_check/Cargo.lock index b3f901c9d1..5f89a85bdc 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_index_bounds_check/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_index_bounds_check/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_index_bounds_check/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_index_bounds_check/Cargo.toml index 676b4ef9d4..8a79c5c642 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_index_bounds_check/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_index_bounds_check/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_iterators/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_iterators/Cargo.lock index 980220cb65..a0b6344167 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_iterators/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_iterators/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_iterators/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_iterators/Cargo.toml index 141f6f8127..edecdd9f2a 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_iterators/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_iterators/Cargo.toml @@ -7,6 +7,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_reslice/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_reslice/Cargo.lock index cce31d92a6..1a2c8f2fad 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_reslice/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_reslice/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_reslice/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_reslice/Cargo.toml index dfeb8a5280..495beb784e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_reslice/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/slice_reslice/Cargo.toml @@ -21,4 +21,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/small_type_ffi_test/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/small_type_ffi_test/Cargo.lock index e824c71ea7..4f6f48790e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/small_type_ffi_test/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/small_type_ffi_test/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/small_type_ffi_test/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/small_type_ffi_test/Cargo.toml index 41472a7c3e..09bdec2a73 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/small_type_ffi_test/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/small_type_ffi_test/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/sparse_mma_fp8/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/sparse_mma_fp8/Cargo.lock index 8fd79030f8..9b2a168a17 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/sparse_mma_fp8/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/sparse_mma_fp8/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/sparse_mma_fp8/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/sparse_mma_fp8/Cargo.toml index 8303781f08..e34849d2ca 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/sparse_mma_fp8/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/sparse_mma_fp8/Cargo.toml @@ -13,4 +13,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/sparse_mma_ordered_float/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/sparse_mma_ordered_float/Cargo.lock index f158136638..337858588b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/sparse_mma_ordered_float/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/sparse_mma_ordered_float/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/sparse_mma_ordered_float/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/sparse_mma_ordered_float/Cargo.toml index bcee181023..448364d3a1 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/sparse_mma_ordered_float/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/sparse_mma_ordered_float/Cargo.toml @@ -13,4 +13,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/split_at_mut/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/split_at_mut/Cargo.lock index c0ad4d412a..60eb51980e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/split_at_mut/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/split_at_mut/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/split_at_mut/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/split_at_mut/Cargo.toml index f4fbbfc261..3c4c198811 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/split_at_mut/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/split_at_mut/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/standalone_device_fn/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/standalone_device_fn/Cargo.lock index 38b458f4ba..bd369b09ad 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/standalone_device_fn/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/standalone_device_fn/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/static_slice_addend/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/static_slice_addend/Cargo.lock index e437e5f7b9..651695d697 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/static_slice_addend/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/static_slice_addend/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/static_slice_addend/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/static_slice_addend/Cargo.toml index 72536a2a46..c0036b8fd8 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/static_slice_addend/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/static_slice_addend/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/static_slice_unsize/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/static_slice_unsize/Cargo.lock index 45724fc295..3b9c78d986 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/static_slice_unsize/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/static_slice_unsize/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/static_slice_unsize/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/static_slice_unsize/Cargo.toml index f285eb8536..952d113a58 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/static_slice_unsize/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/static_slice_unsize/Cargo.toml @@ -12,6 +12,6 @@ license = "Apache-2.0" # cargo oxide run static_slice_unsize [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/step_by/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/step_by/Cargo.lock index 4afbc84252..8433420962 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/step_by/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/step_by/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/step_by/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/step_by/Cargo.toml index ffd680ab77..764a8c0f47 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/step_by/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/step_by/Cargo.toml @@ -22,4 +22,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/struct_constant_provenance/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/struct_constant_provenance/Cargo.lock index 49b3d30f38..00a570174e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/struct_constant_provenance/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/struct_constant_provenance/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/struct_constant_provenance/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/struct_constant_provenance/Cargo.toml index 157ca427f4..1c7b19f7da 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/struct_constant_provenance/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/struct_constant_provenance/Cargo.toml @@ -7,6 +7,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/struct_field_layout/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/struct_field_layout/Cargo.lock index 65c9d79bb7..3fdd686f8a 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/struct_field_layout/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/struct_field_layout/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/struct_field_layout/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/struct_field_layout/Cargo.toml index def7f29509..eacf1caf30 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/struct_field_layout/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/struct_field_layout/Cargo.toml @@ -20,4 +20,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/subslice_projection/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/subslice_projection/Cargo.lock index 1611b94d24..b4cc31859f 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/subslice_projection/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/subslice_projection/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/subslice_projection/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/subslice_projection/Cargo.toml index b95c501d17..abdea46862 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/subslice_projection/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/subslice_projection/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/switchint_128bit/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/switchint_128bit/Cargo.lock index 89afb020f2..2ce3306137 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/switchint_128bit/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/switchint_128bit/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/switchint_128bit/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/switchint_128bit/Cargo.toml index d4a95cb67e..e5416bb132 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/switchint_128bit/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/switchint_128bit/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/swizzle_smem/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/swizzle_smem/Cargo.lock index 9ccf92a128..3b56442154 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/swizzle_smem/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/swizzle_smem/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/swizzle_smem/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/swizzle_smem/Cargo.toml index 180b76694c..5cbade255f 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/swizzle_smem/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/swizzle_smem/Cargo.toml @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime (with HMM support) -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tcgen05/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/tcgen05/Cargo.lock index 03471ce7f3..1f5d931f29 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tcgen05/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tcgen05/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tcgen05/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/tcgen05/Cargo.toml index da30ad7475..c0804c04d7 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tcgen05/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tcgen05/Cargo.toml @@ -15,4 +15,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tcgen05_matmul/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/tcgen05_matmul/Cargo.lock index a674d94714..8c2269f5d1 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tcgen05_matmul/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tcgen05_matmul/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tcgen05_matmul/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/tcgen05_matmul/Cargo.toml index 4a49869023..a51f7be491 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tcgen05_matmul/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tcgen05_matmul/Cargo.toml @@ -15,5 +15,5 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } half = "2.4" diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/thread_runs/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/thread_runs/Cargo.lock index 74af911dd3..34faff57b2 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/thread_runs/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/thread_runs/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/thread_runs/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/thread_runs/Cargo.toml index 6d577b41bd..f255aec5a8 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/thread_runs/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/thread_runs/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tiled_gemm/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/tiled_gemm/Cargo.lock index 09bd17266f..4ba660c11e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tiled_gemm/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tiled_gemm/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tiled_gemm/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/tiled_gemm/Cargo.toml index 5a63eb924b..d1aa6d24fe 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tiled_gemm/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tiled_gemm/Cargo.toml @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tma_copy/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/tma_copy/Cargo.lock index ce15b4216f..d4c75a0b72 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tma_copy/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tma_copy/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tma_copy/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/tma_copy/Cargo.toml index 5fe5cb794a..272ed58d2f 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tma_copy/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tma_copy/Cargo.toml @@ -15,4 +15,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tma_multicast/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/tma_multicast/Cargo.lock index 973fd6f0e9..7af886b9bc 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tma_multicast/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tma_multicast/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tma_multicast/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/tma_multicast/Cargo.toml index a025212e6b..c37ebdef2e 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tma_multicast/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tma_multicast/Cargo.toml @@ -17,4 +17,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/toolchain_pairing_smoke/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/toolchain_pairing_smoke/Cargo.lock index f3c613dc02..d07a8d2fa7 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/toolchain_pairing_smoke/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/toolchain_pairing_smoke/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/toolchain_pairing_smoke/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/toolchain_pairing_smoke/Cargo.toml index 995ab9c43c..82e82efe52 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/toolchain_pairing_smoke/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/toolchain_pairing_smoke/Cargo.toml @@ -14,4 +14,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/transmute_scalar_struct/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/transmute_scalar_struct/Cargo.lock index 6e55450a3b..3c965c977f 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/transmute_scalar_struct/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/transmute_scalar_struct/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/transmute_scalar_struct/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/transmute_scalar_struct/Cargo.toml index 272036021a..a4dd1db5c8 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/transmute_scalar_struct/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/transmute_scalar_struct/Cargo.toml @@ -19,4 +19,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_array_provenance/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_array_provenance/Cargo.lock index fb0420658c..ba512ea61c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_array_provenance/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_array_provenance/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_array_provenance/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_array_provenance/Cargo.toml index 3ce72ed3ee..ea325f4c77 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_array_provenance/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_array_provenance/Cargo.toml @@ -11,6 +11,6 @@ license = "Apache-2.0" # cargo oxide run tuple_array_provenance [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_constant_provenance/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_constant_provenance/Cargo.lock index 06d48f94d2..a32429c09f 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_constant_provenance/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_constant_provenance/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_constant_provenance/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_constant_provenance/Cargo.toml index 8bca46f912..bb850a76db 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_constant_provenance/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_constant_provenance/Cargo.toml @@ -7,6 +7,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_field_lookup/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_field_lookup/Cargo.lock index c9ce6633a5..44984c38b3 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_field_lookup/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_field_lookup/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_field_lookup/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_field_lookup/Cargo.toml index 1f32d478bd..58ac6fc674 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_field_lookup/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_field_lookup/Cargo.toml @@ -19,4 +19,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_return/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_return/Cargo.lock index 3a9dc29402..ec8eee26e6 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_return/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_return/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_return/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_return/Cargo.toml index 5ce5fbdb87..16b814bef8 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_return/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/tuple_return/Cargo.toml @@ -22,4 +22,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/unaligned_memory/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/unaligned_memory/Cargo.lock index 88930f17b5..f063fd2267 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/unaligned_memory/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/unaligned_memory/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/unaligned_memory/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/unaligned_memory/Cargo.toml index 748148350f..adbcd2498b 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/unaligned_memory/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/unaligned_memory/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/unchecked_indexing/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/unchecked_indexing/Cargo.lock index bfc405a3cd..b3ee031b9c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/unchecked_indexing/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/unchecked_indexing/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/unchecked_indexing/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/unchecked_indexing/Cargo.toml index d00ef2fd8b..44e8ddb3d8 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/unchecked_indexing/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/unchecked_indexing/Cargo.toml @@ -21,5 +21,5 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } ptx-parse = { path = "../../../ptx-parse" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/uninit_const/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/uninit_const/Cargo.lock index 38cbad6214..0dae26617c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/uninit_const/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/uninit_const/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/uninit_const/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/uninit_const/Cargo.toml index a7c7282de1..88040199c9 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/uninit_const/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/uninit_const/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/union_aggregate/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/union_aggregate/Cargo.lock index 0927d182dc..0ff48d9e4c 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/union_aggregate/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/union_aggregate/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/union_aggregate/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/union_aggregate/Cargo.toml index 2752b706e6..40603344dc 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/union_aggregate/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/union_aggregate/Cargo.toml @@ -14,4 +14,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/unroll_bounds_check/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/unroll_bounds_check/Cargo.lock index 1080afd240..5262ec59b0 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/unroll_bounds_check/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/unroll_bounds_check/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/unroll_bounds_check/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/unroll_bounds_check/Cargo.toml index ea2b4e3902..a5f46a89e4 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/unroll_bounds_check/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/unroll_bounds_check/Cargo.toml @@ -9,4 +9,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/unroll_smoke/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/unroll_smoke/Cargo.lock index 3fd89f5d34..8d0cce9016 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/unroll_smoke/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/unroll_smoke/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/unroll_smoke/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/unroll_smoke/Cargo.toml index bc30535e1c..b2759464d5 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/unroll_smoke/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/unroll_smoke/Cargo.toml @@ -12,4 +12,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/vecadd/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/vecadd/Cargo.lock index dde1a3c108..dead9d09ff 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/vecadd/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/vecadd/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/vecadd/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/vecadd/Cargo.toml index 581b7bb61c..139c876e8d 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/vecadd/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/vecadd/Cargo.toml @@ -22,4 +22,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/vectorization/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/vectorization/Cargo.lock index 2a9c1e4734..07061c7cb4 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/vectorization/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/vectorization/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/vectorization/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/vectorization/Cargo.toml index 1b88fdf41d..6e192f3ef3 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/vectorization/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/vectorization/Cargo.toml @@ -21,5 +21,5 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } ptx-parse = { path = "../../../ptx-parse" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/volatile_memory/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/volatile_memory/Cargo.lock index c6dc438147..31a9923785 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/volatile_memory/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/volatile_memory/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/volatile_memory/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/volatile_memory/Cargo.toml index 9ebbcb38e6..b5a9a20356 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/volatile_memory/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/volatile_memory/Cargo.toml @@ -10,4 +10,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/warp_reduce/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/warp_reduce/Cargo.lock index ac76620b90..6225903e18 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/warp_reduce/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/warp_reduce/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/warp_reduce/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/warp_reduce/Cargo.toml index fe9c6dd632..9819a3f4b0 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/warp_reduce/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/warp_reduce/Cargo.toml @@ -20,4 +20,4 @@ cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } # Host-side CUDA runtime -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/warp_sums/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/warp_sums/Cargo.lock index f299324612..cfffc70730 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/warp_sums/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/warp_sums/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/warp_sums/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/warp_sums/Cargo.toml index 8c6adae0e2..6fcb132ad7 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/warp_sums/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/warp_sums/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/wgmma/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/wgmma/Cargo.lock index 24394dceac..288c97ac06 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/wgmma/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/wgmma/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/wgmma/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/wgmma/Cargo.toml index 5157f1e8a7..1988774e68 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/wgmma/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/wgmma/Cargo.toml @@ -15,4 +15,4 @@ license = "Apache-2.0" [dependencies] cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/wgmma_mma_bf16/Cargo.lock b/cuda-oxide/crates/rustc-codegen-cuda/examples/wgmma_mma_bf16/Cargo.lock index c15f1983ba..2fe046b8aa 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/wgmma_mma_bf16/Cargo.lock +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/wgmma_mma_bf16/Cargo.lock @@ -128,9 +128,7 @@ dependencies = [ [[package]] name = "cuda-bindings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f42e2c99c56bf2eef9d569435bfd72a478dfaea3f178b8e5bae891875bbbe2e" +version = "0.4.0" dependencies = [ "bindgen", "libloading", @@ -142,9 +140,7 @@ dependencies = [ [[package]] name = "cuda-core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bdb592a2844148fb13bdfbbab158879f56916bde1d1a1b6580ca27f23850cd" +version = "0.4.0" dependencies = [ "anyhow", "cuda-bindings", @@ -155,9 +151,7 @@ dependencies = [ [[package]] name = "cuda-core-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a48da7d10c1078f7fbb87d7176e9476affadea148babf31946e348073872d44" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", diff --git a/cuda-oxide/crates/rustc-codegen-cuda/examples/wgmma_mma_bf16/Cargo.toml b/cuda-oxide/crates/rustc-codegen-cuda/examples/wgmma_mma_bf16/Cargo.toml index 8c13024600..880eb226af 100644 --- a/cuda-oxide/crates/rustc-codegen-cuda/examples/wgmma_mma_bf16/Cargo.toml +++ b/cuda-oxide/crates/rustc-codegen-cuda/examples/wgmma_mma_bf16/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" [workspace] [dependencies] -cuda-core = "0.3.1" +cuda-core = { path = "../../../../../cuda-core", version = "0.4.0" } cuda-device = { path = "../../../cuda-device" } cuda-host = { path = "../../../cuda-host" } diff --git a/cuda-oxide/crates/rustc-codegen-cuda/rust-toolchain.toml b/cuda-oxide/crates/rustc-codegen-cuda/rust-toolchain.toml deleted file mode 100644 index be816e9e19..0000000000 --- a/cuda-oxide/crates/rustc-codegen-cuda/rust-toolchain.toml +++ /dev/null @@ -1,5 +0,0 @@ -# Must match the parent cuda-oxide toolchain exactly! -# rustc_private APIs change between nightly versions. -[toolchain] -channel = "nightly-2026-08-28" -components = ["rust-src", "rustc-dev", "rust-analyzer", "clippy", "rustfmt", "llvm-tools"] diff --git a/cuda-oxide/cuda-oxide-book/appendix/building-from-source.md b/cuda-oxide/cuda-oxide-book/appendix/building-from-source.md index 2cdf647b34..598843eb77 100644 --- a/cuda-oxide/cuda-oxide-book/appendix/building-from-source.md +++ b/cuda-oxide/cuda-oxide-book/appendix/building-from-source.md @@ -25,11 +25,13 @@ cd cuda-oxide ## Install the Rust toolchain -The repo ships a `rust-toolchain.toml` that pins the exact nightly version and -components. Rustup picks it up automatically: +The CUDA Oxide component ships `cuda-oxide/rust-toolchain.toml`, which pins the +exact nightly version and components. Rustup picks it up automatically for +commands run inside `cuda-oxide/`; the repository root and `cutile-rs/` stay on +stable: ```toml -# rust-toolchain.toml (already in the repo root) +# cuda-oxide/rust-toolchain.toml [toolchain] channel = "nightly-2026-08-28" components = ["rust-src", "rustc-dev", "rust-analyzer", "clippy", "rustfmt", "llvm-tools"] @@ -217,6 +219,7 @@ make livehtml # starts dev server on http://localhost:8000 Standard `cargo doc` works for the workspace crates: ```bash +cd cuda-oxide cargo doc --no-deps --open ``` @@ -229,16 +232,21 @@ documented from cutile-rs. ```text repository/ -├── Cargo.toml # Workspace root -├── rust-toolchain.toml # Pinned nightly + components +├── Cargo.toml # Stable shared-host workspace +├── cuda-bindings/ # Shared CUDA bindings +├── cuda-core/ # Shared host runtime +├── cuda-core-derive/ # cuda-core derive macros +├── cuda-async/ # Shared async runtime ├── cutile-rs/ # Tile DSL (nested import) └── cuda-oxide/ + ├── Cargo.toml # Nightly SIMT workspace + ├── rust-toolchain.toml # Pinned nightly + components ├── crates/ │ ├── cuda-device/ # Device intrinsics (#![no_std]) │ ├── cuda-host/ # Host launch APIs │ ├── cuda-macros/ # Proc macros (#[kernel], #[device], gpu_printf!) - │ │ # (cuda-bindings, cuda-core, cuda-async come from - │ │ # NVlabs/cutile-rs; SIMT API under their simt modules) + │ │ # (shared host crates live at the git root; + │ │ # SIMT API is under their simt modules) │ ├── cargo-oxide/ # Cargo subcommand │ ├── rustc-codegen-cuda/ # Codegen backend (not a workspace member) │ ├── mir-importer/ # MIR → Pliron IR translation diff --git a/cuda-oxide/cuda-oxide-book/compiler/architecture-overview.md b/cuda-oxide/cuda-oxide-book/compiler/architecture-overview.md index 9b19aa5ae3..60ca175d69 100644 --- a/cuda-oxide/cuda-oxide-book/compiler/architecture-overview.md +++ b/cuda-oxide/cuda-oxide-book/compiler/architecture-overview.md @@ -139,6 +139,7 @@ cuda-oxide is split into focused crates. Here is every one and its role: | `cuda-macros` | Proc macros: `#[kernel]`, `#[device]` | | `cuda-host` | Host-side typed module loading and launch helpers | | `cuda-core` | Shared with cutile-rs: safe Driver API bindings; SIMT surface under `cuda_core::simt` | +| `cuda-core-derive` | Shared with cutile-rs: `#[derive(DeviceCopy)]` proc-macro for `cuda-core` | | `cuda-async` | Shared with cutile-rs: `DeviceOperation` model and combinators under `cuda_async::simt` | | `cuda-bindings` | Shared with cutile-rs: FFI to the CUDA driver; `libcuda` is loaded at run time | | `cuda-intrinsics` | Generated low-level CUDA intrinsic declarations | diff --git a/cuda-oxide/cuda-oxide-book/compiler/rustc-public.md b/cuda-oxide/cuda-oxide-book/compiler/rustc-public.md index 2b25461f59..737cb0fdb5 100644 --- a/cuda-oxide/cuda-oxide-book/compiler/rustc-public.md +++ b/cuda-oxide/cuda-oxide-book/compiler/rustc-public.md @@ -296,14 +296,12 @@ This pin guarantees reproducible builds: anyone who clones the repository gets the same compiler, the same MIR shapes, and the same bridge behavior. When updating the pin, the process is: -1. Bump the nightly date in `rust-toolchain.toml`, and in the copy at - `cuda-oxide/crates/rustc-codegen-cuda/rust-toolchain.toml` -- that crate has its own - `[workspace]` for the `rustc_private` dylibs, and its header requires an - exact match with the parent, because a `rustc_public` build against a - different nightly fails to load. `cuda-oxide/scripts/check-toolchain-parity.sh` - checks every copy: both real files, the scaffold `cargo oxide new` - writes, the devcontainer, and the blocks and dated commands quoted in - this book and the READMEs -- so run it to find the stragglers. +1. Bump the nightly date in `cuda-oxide/rust-toolchain.toml`. Rustup walks up + from the standalone `rustc-codegen-cuda` workspace and finds that component + pin, so no nested copy is needed. `cuda-oxide/scripts/check-toolchain-parity.sh` + checks the scaffold `cargo oxide new` writes, the devcontainer, and the + blocks and dated commands quoted in this book and the READMEs -- run it to + find the stragglers. 2. Fix any `rustc_public` API changes (usually minor -- that is the whole point of the stable API). 3. Run the full test suite to verify that all examples still compile and diff --git a/cuda-oxide/cuda-oxide-book/getting-started/installation.md b/cuda-oxide/cuda-oxide-book/getting-started/installation.md index c87df09843..59ae7b28ae 100644 --- a/cuda-oxide/cuda-oxide-book/getting-started/installation.md +++ b/cuda-oxide/cuda-oxide-book/getting-started/installation.md @@ -20,7 +20,7 @@ without a driver and fails on that call with `CUDA_ERROR_NOT_INITIALIZED`; the error message names the library files the loader tried. A driver whose CUDA major version is older than the toolkit's (a 12.x driver with a 13.x build) fails the same way with a "driver too old" message. -| **Rust** | Nightly (pinned) | Pinned in `rust-toolchain.toml` | +| **Rust** | Nightly (pinned) | Pinned in `cuda-oxide/rust-toolchain.toml` | :::{note} cuda-oxide currently targets **Linux only**. Windows is not supported. @@ -30,7 +30,7 @@ cuda-oxide currently targets **Linux only**. Windows is not supported. ## Dev Container -The repository includes a standard devcontainer setup in `.devcontainer/`. +The repository includes a cuda-oxide devcontainer in `cuda-oxide/.devcontainer/`. Using it is the quickest way to get a reproducible development environment with CUDA Toolkit 13.0, LLVM 21, Clang 21, and the pinned Rust nightly already installed. @@ -41,22 +41,26 @@ The host does not need the CUDA Toolkit installed. It does need: - an NVIDIA driver compatible with CUDA 13.0 (R580 or newer) - Docker with the NVIDIA Container Toolkit installed -With a devcontainer-aware editor, open the repository and choose "Reopen in -Container" when prompted. The editor reads `.devcontainer/devcontainer.json`, -builds the image, requests GPU access with `--gpus=all`, and opens the checkout -inside the container. +With a devcontainer-aware editor, open the checkout's `cuda-oxide/` folder +and choose "Reopen in Container". The editor reads its `.devcontainer/devcontainer.json`, +builds the image, and requests GPU access with `--gpus=all`. The container +mounts the whole repository so the shared host crates remain available, +and opens `/workspaces/cuda-rust/cuda-oxide`. -For CLI-only usage, start the container with: +For CLI-only usage, run from the repository root: ```bash -npx -y @devcontainers/cli up --workspace-folder . +npx -y @devcontainers/cli up --workspace-folder ./cuda-oxide \ + --config ./cuda-oxide/.devcontainer/devcontainer.json ``` Then run commands inside it with: ```bash -npx -y @devcontainers/cli exec --workspace-folder . cargo oxide doctor -npx -y @devcontainers/cli exec --workspace-folder . cargo oxide run vecadd +npx -y @devcontainers/cli exec --workspace-folder ./cuda-oxide \ + --config ./cuda-oxide/.devcontainer/devcontainer.json cargo oxide doctor +npx -y @devcontainers/cli exec --workspace-folder ./cuda-oxide \ + --config ./cuda-oxide/.devcontainer/devcontainer.json cargo oxide run vecadd ``` If the host driver is too old, GPU commands such as `nvidia-smi`, @@ -71,14 +75,15 @@ Rust setup sections below. ## Nix / flake.nix -The repository also ships a `flake.nix` providing a reproducible dev shell +The repository also ships `cuda-oxide/flake.nix`, providing a reproducible dev shell (CUDA 13, LLVM 22, Clang, pinned Rust nightly). Requires [Nix](https://nixos.org/download/) with flakes enabled, an NVIDIA driver on the host, and Linux (x86\_64 or aarch64). -Inside the cuda-oxide repo — `cargo-oxide` is included in the shell: +From the repository root, enter the cuda-oxide workspace; `cargo-oxide` is included in the shell: ```bash +cd cuda-oxide nix develop cargo oxide run vecadd ``` @@ -86,7 +91,7 @@ cargo oxide run vecadd To bootstrap a new project without cloning: ```bash -nix run github:NVlabs/cuda-oxide#new my-project +nix run 'github:NVIDIA/cuda-rust?dir=cuda-oxide#new' -- my-project cd my-project && nix develop ``` @@ -95,6 +100,14 @@ this repo's dev shell. The shellHook auto-discovers host NVIDIA driver libraries on NixOS and non-NixOS systems; if the host driver is too old, update it rather than changing what's inside the Nix shell. +To add the same development environment to an existing project, run inside +that project: + +```bash +nix flake init -t 'github:NVIDIA/cuda-rust?dir=cuda-oxide' +nix develop +``` + If you use the Nix flake, you can skip the manual CUDA, LLVM, Clang, and Rust setup sections below. @@ -241,7 +254,10 @@ Validated on Asus GX10 / NVIDIA DGX Spark. ## Rust toolchain -The workspace ships a `rust-toolchain.toml` that pins the exact nightly version and required components. When you first run any `cargo` command inside the repo, `rustup` will install the correct toolchain automatically. +The CUDA Oxide workspace ships `cuda-oxide/rust-toolchain.toml`, which pins the +exact nightly version and required components. When you first run a `cargo` +command inside `cuda-oxide/`, rustup installs the correct toolchain +automatically. Commands at the repository root and in `cutile-rs/` use stable. If you need to install it manually: @@ -315,7 +331,7 @@ The full set, as `cargo oxide --help` reports it: | `debug` | Build with debug info and launch `cuda-gdb` | | `list` | List the examples bundled with the cuda-oxide workspace | | `inspect` | Build an example or project and print the generated PTX | -| `fmt` | Format all crates (root workspace, codegen backend, examples) | +| `fmt` | Format all crates (SIMT workspace, codegen backend, examples) | | `new` | Scaffold a new standalone cuda-oxide project | | `clean` | Remove project-local build outputs and generated cuda-oxide artifacts | | `doctor` | Check that your environment is set up correctly | @@ -330,7 +346,7 @@ cannot: # Arguments after `--` go to cargo; with none it is a plain `cargo test`. cargo oxide test -- --lib -# Format every scope the fmt CI gate checks: the root workspace, the codegen +# Format every scope the fmt CI gate checks: the SIMT workspace, the codegen # backend, the cuda-macros device-only fixture, and every manifest under # examples/ including nested ones. Each is its own [workspace], so a single # `cargo fmt` at the root misses most of them. diff --git a/cuda-oxide/dependency-licenses.csv b/cuda-oxide/dependency-licenses.csv index 956e45ba6e..b8e65dca94 100644 --- a/cuda-oxide/dependency-licenses.csv +++ b/cuda-oxide/dependency-licenses.csv @@ -69,6 +69,7 @@ linkme-impl,0.3.35,MIT OR Apache-2.0,Yes,registry+https://github.com/rust-lang/c linux-raw-sys,0.12.1,Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT,Yes,registry+https://github.com/rust-lang/crates.io-index,3rd Party (crates.io),https://github.com/sunfishcode/linux-raw-sys,Generated bindings for Linux's userspace API,Pulled in by rustix (via tempfile) for direct Linux syscalls. llvm-export,0.2.1,Apache-2.0,Yes,local (workspace),1st Party (workspace),https://github.com/NVlabs/cuda-oxide.git,Re-exports pliron-llvm and emits the LLVM dialect as textual LLVM IR, log,0.4.29,MIT OR Apache-2.0,Yes,registry+https://github.com/rust-lang/crates.io-index,3rd Party (crates.io),https://github.com/rust-lang/log,A lightweight logging facade for Rust, +loom,0.7.2,MIT,Yes,registry+https://github.com/rust-lang/crates.io-index,3rd Party (crates.io),https://github.com/tokio-rs/loom,Concurrency permutation testing tool for Rust.,Dev-only under cfg(loom): model-checks cuda-async's slot_table reactor. memchr,2.7.6,Unlicense OR MIT,Yes,registry+https://github.com/rust-lang/crates.io-index,3rd Party (crates.io),https://github.com/BurntSushi/memchr,"Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) routines for 1, 2 or 3 byte search and single substring search.", minimal-lexical,0.2.1,MIT/Apache-2.0,Yes,registry+https://github.com/rust-lang/crates.io-index,3rd Party (crates.io),https://github.com/Alexhuszagh/minimal-lexical,Fast float parsing conversion routines., miniz_oxide,0.9.1,MIT OR Zlib OR Apache-2.0,Yes,registry+https://github.com/rust-lang/crates.io-index,3rd Party (crates.io),https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide,DEFLATE compression and decompression library rewritten in Rust based on miniz,"Transitive dependency of png; image_convolution resolves both 0.8.9 and 0.9.1." diff --git a/flake.lock b/cuda-oxide/flake.lock similarity index 100% rename from flake.lock rename to cuda-oxide/flake.lock diff --git a/flake.nix b/cuda-oxide/flake.nix similarity index 79% rename from flake.nix rename to cuda-oxide/flake.nix index aa873f154b..9b0c548c50 100644 --- a/flake.nix +++ b/cuda-oxide/flake.nix @@ -18,6 +18,7 @@ outputs = { + self, nixpkgs, flake-utils, rust-overlay, @@ -25,50 +26,20 @@ ... }: let - # Template flake for user projects. Extends cuda-oxide's devShell via - # inputsFrom so users can add their own packages while inheriting the full - # CUDA + Rust environment (including the shellHook that wires up the host - # NVIDIA driver). nixpkgs and flake-utils are followed from cuda-oxide to - # avoid duplicate closures. - userFlakeContent = '' - { - description = "A cuda-oxide project"; - - inputs = { - cuda-oxide.url = "github:NVlabs/cuda-oxide"; - nixpkgs.follows = "cuda-oxide/nixpkgs"; - flake-utils.follows = "cuda-oxide/flake-utils"; - }; - - outputs = - { - cuda-oxide, - nixpkgs, - flake-utils, - ... - }: - flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-linux" ] ( - system: - let - pkgs = nixpkgs.legacyPackages.''${system}; - in - { - devShells.default = pkgs.mkShell { - inputsFrom = [ cuda-oxide.devShells.''${system}.default ]; - packages = [ - # add project-specific packages here - ]; - }; - } - ); - } - ''; - - userFlake = builtins.toFile "flake.nix" userFlakeContent; - - # Directory used by `nix flake init -t github:NVlabs/cuda-oxide`. - # Content is system-independent; x86_64-linux is chosen arbitrarily. - templateSrc = nixpkgs.legacyPackages.x86_64-linux.writeTextDir "flake.nix" userFlakeContent; + # Use the same source-backed template for `nix flake init` and #new. + # Template initialization copies this directory without building it. + templateSrc = ./nix/templates/default; + + # A Git flake selected with ?dir=cuda-oxide retains the whole repository. + # self.outPath is only the flake directory; sourceInfo keeps its siblings. + repositorySrc = + let + src = self.sourceInfo.outPath; + in + if builtins.pathExists (src + "/cuda-oxide/Cargo.toml") then + src + else + throw "The Oxide flake needs the full cuda-rust tree. Use ./cuda-oxide from a Git checkout, or path:.?dir=cuda-oxide from the repository root."; in (flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-linux" ] ( system: @@ -120,8 +91,17 @@ craneLib = (crane.mkLib pkgs).overrideToolchain rustToolchain; cargoOxideCommonArgs = { - src = ./.; - cargoExtraArgs = "-p cargo-oxide"; + # Keep the shared host crates alongside the Oxide workspace so its + # sibling path dependencies remain available during Cargo resolution. + src = repositorySrc; + # Isolate the lockfile so source edits do not invalidate the deps cache. + cargoLock = builtins.toFile "Cargo.lock" (builtins.readFile ./Cargo.lock); + # Both the dependency cache and final package must build from Oxide. + # Crane's prePatch hook also installs cargoLock here in the dummy tree. + postUnpack = '' + sourceRoot="$sourceRoot/cuda-oxide" + ''; + cargoExtraArgs = "--locked -p cargo-oxide"; doCheck = false; nativeBuildInputs = [ @@ -134,7 +114,7 @@ }; cargoOxideDeps = craneLib.buildDepsOnly ( - craneLib.crateNameFromCargoToml { cargoToml = ./cuda-oxide/crates/cargo-oxide/Cargo.toml; } + craneLib.crateNameFromCargoToml { cargoToml = ./crates/cargo-oxide/Cargo.toml; } // cargoOxideCommonArgs ); @@ -160,7 +140,7 @@ output=$(cargo-oxide new "$@") if [ -n "$project" ] && [ -d "$project" ]; then - cp ${userFlake} "$project/flake.nix" + cp ${templateSrc}/flake.nix "$project/flake.nix" chmod +w "$project/flake.nix" fi @@ -174,7 +154,7 @@ # still builds librustc_codegen_cuda.so on first use and caches it # outside the Nix store, so this derivation is not fully pure yet. cargo-oxide = craneLib.buildPackage ( - craneLib.crateNameFromCargoToml { cargoToml = ./cuda-oxide/crates/cargo-oxide/Cargo.toml; } + craneLib.crateNameFromCargoToml { cargoToml = ./crates/cargo-oxide/Cargo.toml; } // cargoOxideCommonArgs // { cargoArtifacts = cargoOxideDeps; diff --git a/cuda-oxide/nix/templates/default/flake.nix b/cuda-oxide/nix/templates/default/flake.nix new file mode 100644 index 0000000000..922e66e277 --- /dev/null +++ b/cuda-oxide/nix/templates/default/flake.nix @@ -0,0 +1,38 @@ +/* + SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + SPDX-License-Identifier: Apache-2.0 +*/ + +{ + description = "A cuda-oxide project"; + + inputs = { + cuda-oxide.url = "github:NVIDIA/cuda-rust?dir=cuda-oxide"; + # Reuse the development shell's inputs to avoid duplicate closures. + nixpkgs.follows = "cuda-oxide/nixpkgs"; + flake-utils.follows = "cuda-oxide/flake-utils"; + }; + + outputs = + { + cuda-oxide, + nixpkgs, + flake-utils, + ... + }: + flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-linux" ] ( + system: + let + pkgs = nixpkgs.legacyPackages.${system}; + in + { + devShells.default = pkgs.mkShell { + # Inherit CUDA, Rust, and the shellHook that discovers the host driver. + inputsFrom = [ cuda-oxide.devShells.${system}.default ]; + packages = [ + # add project-specific packages here + ]; + }; + } + ); +} diff --git a/cuda-oxide/rust-toolchain.toml b/cuda-oxide/rust-toolchain.toml new file mode 100644 index 0000000000..5cf8cac83f --- /dev/null +++ b/cuda-oxide/rust-toolchain.toml @@ -0,0 +1,10 @@ +[toolchain] +channel = "nightly-2026-08-28" +components = [ + "rust-src", + "rustc-dev", + "rust-analyzer", + "clippy", + "rustfmt", + "llvm-tools", +] diff --git a/cuda-oxide/scripts/check-book-api-names.sh b/cuda-oxide/scripts/check-book-api-names.sh index e2fc6c16cb..dc42c79dcc 100755 --- a/cuda-oxide/scripts/check-book-api-names.sh +++ b/cuda-oxide/scripts/check-book-api-names.sh @@ -54,8 +54,8 @@ cd "$(dirname "$0")/.." BOOK=cuda-oxide-book DEVICE=crates/cuda-device/src -# Host crates live in the nested cutile-rs import; SIMT crates live here. -CRATE_ROOTS=(../cutile-rs/cuda-core ../cutile-rs/cuda-bindings ../cutile-rs/cuda-async crates) +# Host crates live at the git root; SIMT crates live here. +CRATE_ROOTS=(../cuda-core ../cuda-bindings ../cuda-async crates) if ! command -v python3 >/dev/null 2>&1; then echo "error: python3 is required to verify the docs' API names" >&2 diff --git a/cuda-oxide/scripts/check-crate-inventory.sh b/cuda-oxide/scripts/check-crate-inventory.sh index 8f77c0d239..70775c6f5b 100755 --- a/cuda-oxide/scripts/check-crate-inventory.sh +++ b/cuda-oxide/scripts/check-crate-inventory.sh @@ -17,7 +17,7 @@ # resolves it. So this checks for members with no row, never for rows with no # member. # -# Members are read from the root Cargo.toml rather than from `cargo metadata`: +# Members are read from CUDA Oxide's Cargo.toml rather than from `cargo metadata`: # the question is which crates the workspace declares, which is exactly what # that list says, and reading it needs no cargo, no lockfile and no network. # @@ -35,7 +35,7 @@ export LC_ALL=C cd "$(dirname "$0")/.." -MANIFEST=../Cargo.toml +MANIFEST=Cargo.toml # The Oxide overview stays at the git root. This script runs from cuda-oxide/. README=../README.md BOOK_MAP=cuda-oxide-book/compiler/architecture-overview.md diff --git a/cuda-oxide/scripts/check-dependency-licenses.sh b/cuda-oxide/scripts/check-dependency-licenses.sh index 2e757f2bbe..f912faf3ae 100755 --- a/cuda-oxide/scripts/check-dependency-licenses.sh +++ b/cuda-oxide/scripts/check-dependency-licenses.sh @@ -101,16 +101,17 @@ print("\n".join(sorted(names))) # stops at a `[workspace]` boundary, so one pass per root is the only way to # reach them all. The list is no longer a claim: the self-check below compares # it against every tracked `[workspace]` manifest outside `examples/`, which the -# second half covers. Today that is three, and how each got here matters: +# second half covers. Today that is four, and how each got here matters: # -# 1. Cargo.toml -- the root workspace. -# 2. cuda-oxide/crates/rustc-codegen-cuda/Cargo.toml -- its own `[workspace]` for the +# 1. Cargo.toml -- the stable shared-host workspace. +# 2. cuda-oxide/Cargo.toml -- the nightly SIMT workspace. +# 3. cuda-oxide/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. cuda-oxide/crates/cuda-macros/tests/device-only/Cargo.toml -- the fixture for +# 4. cuda-oxide/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 @@ -121,6 +122,7 @@ print("\n".join(sorted(names))) # fall behind what a workspace declares. Both halves need all three roots. FIRST_PARTY_WORKSPACE_ROOTS=( Cargo.toml + cuda-oxide/Cargo.toml cuda-oxide/crates/rustc-codegen-cuda/Cargo.toml cuda-oxide/crates/cuda-macros/tests/device-only/Cargo.toml ) @@ -140,23 +142,33 @@ VENDORED_WORKSPACE_ROOTS=( # |-- named first-party or vendored root # `-- example root with a tracked Cargo.lock EXAMPLES_ROOT=cuda-oxide/crates/rustc-codegen-cuda/examples -all_workspace_roots="$( +workspace_roots() { git ls-files -z -- '*Cargo.toml' | while IFS= read -r -d '' manifest; do - root="$( + manifest_dir="$(dirname "${manifest}")" + manifest_name="$(basename "${manifest}")" + # rustup selects a toolchain from the working directory, not from + # --manifest-path. Run beside each manifest so CUDA Oxide examples + # with nightly-only Cargo features use the component pin. + workspace_root="$( + cd "${manifest_dir}" cargo locate-project --workspace --message-format plain --frozen \ - --manifest-path "${manifest}" - )" - case "${root}" in - "${PWD}/"*) printf '%s\n' "${root#"${PWD}/"}" ;; + --manifest-path "${manifest_name}" + )" || { + echo "error: Cargo could not locate the workspace for ${manifest}" >&2 + exit 1 + } + case "${workspace_root}" in + "${PWD}/"*) printf '%s\n' "${workspace_root#"${PWD}/"}" ;; *) echo "error: Cargo returned a workspace root outside this checkout:" >&2 - echo " ${root}" >&2 + echo " ${workspace_root}" >&2 exit 1 ;; esac done | LC_ALL=C sort -u -)" +} +all_workspace_roots="$(workspace_roots)" if [[ -z "${all_workspace_roots}" ]]; then echo "error: Cargo found no workspace roots; the scan broke" >&2 exit 1 @@ -270,7 +282,7 @@ echo "OK: ${CSV} records all $(printf '%s\n' "${required}" | grep -c .) declared # # Every example under cuda-oxide/crates/rustc-codegen-cuda/examples/ sets its own # [workspace], so neither `cargo deny check` nor the check above resolves any -# of them -- both stop at the root workspace boundary. Most examples declare +# of them -- both stop at the SIMT workspace boundary. Most examples declare # only path dependencies on first-party crates and so bring nothing new, but a # few link third-party code (tokio, rayon, libm, the shared cutile-rs crates), # and that code is compiled by `cargo oxide run ` and by @@ -313,7 +325,11 @@ def packages(path): return out covered = set() -for lock in ("Cargo.lock", "cuda-oxide/crates/rustc-codegen-cuda/Cargo.lock"): +for lock in ( + "Cargo.lock", + "cuda-oxide/Cargo.lock", + "cuda-oxide/crates/rustc-codegen-cuda/Cargo.lock", +): covered |= {name for name, _ in packages(lock)} with open("cuda-oxide/dependency-licenses.csv", newline="") as handle: @@ -359,7 +375,7 @@ for example, extra in findings: if [[ -n "${examples_missing}" ]]; then echo "error: ${CSV} is missing rows for third-party crates that example" >&2 echo " workspaces compile (neither cargo-deny nor the check above" >&2 - echo " resolves these -- both stop at the root workspace):" >&2 + echo " resolves these -- both stop at the SIMT workspace):" >&2 printf '%s\n' "${examples_missing}" | sed 's/^/ /' >&2 exit 1 fi diff --git a/cuda-oxide/scripts/check-example-license-policy.sh b/cuda-oxide/scripts/check-example-license-policy.sh index fd8fda8f03..6d91fcba27 100644 --- a/cuda-oxide/scripts/check-example-license-policy.sh +++ b/cuda-oxide/scripts/check-example-license-policy.sh @@ -4,8 +4,8 @@ # Enforce deny.toml over the example workspaces, which `cargo deny check` does # not reach. # -# `cargo deny check` resolves the root workspace. Every example under -# crates/rustc-codegen-cuda/examples/ sets its own `[workspace]`, so the root +# `cargo deny check` resolves the SIMT workspace. Every example under +# crates/rustc-codegen-cuda/examples/ sets its own `[workspace]`, so that # run stops at that boundary and the license, source and ban policies never see # any crate an example pulls on its own. #664 closed the *inventory* half of # this (dependency-licenses.csv now records those crates); this closes the @@ -19,8 +19,8 @@ # Why one run per distinct dependency set, not one per workspace: # # Every example depends on cuda-device/cuda-host by path and on the shared -# cuda-core by the same cutile-rs pin as the root workspace, so each lock -# file re-lists the root workspace's own transitive crates. Grouping the +# cuda-core by the same cutile-rs pin as the SIMT workspace, so each lock +# file re-lists the SIMT workspace's own transitive crates. Grouping the # lock files by their exact set of third-party (name, version, source) triples # collapses every example lock file (one per example directory, plus one per # nested sub-workspace) to far fewer distinct sets, and one cargo-deny run @@ -44,7 +44,7 @@ EXAMPLES_ROOT=crates/rustc-codegen-cuda/examples # NVlabs/cutile-rs by git while `[sources] allow-git` listed only pliron, and # cutile-rs's cuda-bindings 0.1.0 carried no license. Both are gone: every # example now takes the shared host crates from the same crates.io release as -# the root workspace, and the 0.3.x crates are Apache-2.0, so the example is +# the SIMT workspace, and the 0.3.x crates are Apache-2.0, so the example is # judged like every other one. # # Every name here is checked against the examples on disk below, so a typo or a diff --git a/cuda-oxide/scripts/check-oxide-artifacts-parity.sh b/cuda-oxide/scripts/check-oxide-artifacts-parity.sh index 753a99e1cf..3d3d713239 100755 --- a/cuda-oxide/scripts/check-oxide-artifacts-parity.sh +++ b/cuda-oxide/scripts/check-oxide-artifacts-parity.sh @@ -15,7 +15,7 @@ # lock file disagree. # # Format changes therefore go: bump crates/oxide-artifacts, publish, then move -# the requirement in the root and backend manifests and relock. +# the requirement in the SIMT and backend manifests and relock. set -euo pipefail export LC_ALL=C cd "$(dirname "$0")/.." @@ -37,7 +37,7 @@ req_of() { # req_of FILE -> the version requirement on the oxide-artifacts line echo "missing" fi } -for manifest in "${GIT_ROOT}/Cargo.toml" crates/rustc-codegen-cuda/Cargo.toml; do +for manifest in Cargo.toml crates/rustc-codegen-cuda/Cargo.toml; do req="$(req_of "${manifest}")" if [ "${req}" != "${in_tree}" ]; then echo "error: ${manifest}: oxide-artifacts requirement is '${req}', in-tree version is ${in_tree}" >&2; status=1 @@ -45,7 +45,7 @@ for manifest in "${GIT_ROOT}/Cargo.toml" crates/rustc-codegen-cuda/Cargo.toml; d done # Every lock that resolves oxide-artifacts must resolve exactly the in-tree -# version, from the registry (the root lock also lists the in-tree member). +# version, from the registry (the SIMT lock also lists the in-tree member). while IFS= read -r lock; do versions="$(awk '/^name = "oxide-artifacts"$/{getline; print $3}' "${lock}" | tr -d '"' | sort -u)" [ -n "${versions}" ] || continue diff --git a/cuda-oxide/scripts/check-shared-crate-pin.sh b/cuda-oxide/scripts/check-shared-crate-pin.sh index dabbfcd0a3..6c1e3feef9 100755 --- a/cuda-oxide/scripts/check-shared-crate-pin.sh +++ b/cuda-oxide/scripts/check-shared-crate-pin.sh @@ -1,58 +1,55 @@ #!/usr/bin/env bash # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 -# Verify every copy of the shared host-crate pin agrees with the root workspace. +# Verify every copy of the shared host-crate pin agrees with the SIMT workspace. # -# cuda-bindings, cuda-core, and cuda-async come from cutile-rs. The root -# `[workspace.dependencies]` names the release once, but that line is copied: +# cuda-bindings, cuda-core, and cuda-async live at the git root. CUDA Oxide's +# `[workspace.dependencies]` path-depends on them once, and that pin is copied: # -# 1. Into every example workspace's Cargo.toml (each example is its own -# [workspace], so it cannot inherit the root entry). A drifted copy -# resolves a second version of the runtime and breaks the shared -# example build cache; sync-example-locks.sh catches the lock, this -# catches the manifest that produced it. +# 1. Into every example workspace's Cargo.toml as a path dependency (each +# example is its own [workspace], so it cannot inherit the SIMT entry). +# A crates.io copy here resolves a second cuda_core and breaks type +# unification with path cuda-host. # # 2. Into the `cargo oxide new` templates (SHARED_HOST_CRATES_VERSION in -# crates/cargo-oxide/src/commands/scaffold.rs). That copy never breaks -# this repository's CI: a stale one hands each new project a runtime -# the generated `#[cuda_module]` code was not written against, and the -# failure surfaces on the user's machine. +# crates/cargo-oxide/src/commands/scaffold.rs) as the crates.io version +# of the same pin. Out-of-tree projects cannot use the git-root paths. # -# The pin may be a crates.io version (`"0.3.1"`, `{ version = "0.3.1", ... }`) -# or, between a cutile-rs tag and its crates.io release, a git tag -# (`{ git = ".../cutile-rs", tag = "v0.3.1" }`). Both spell the same version, -# so the comparison is on the version string, and every manifest must also -# use the same *form* as the root (all git, or all registry). +# In-tree manifests must use the same form as CUDA Oxide (path). The scaffold +# stays on the registry form; only its version string must match. set -euo pipefail export LC_ALL=C cd "$(dirname "$0")/.." GIT_ROOT="$(git rev-parse --show-toplevel)" -ROOT="${GIT_ROOT}/Cargo.toml" +ROOT="${GIT_ROOT}/cuda-oxide/Cargo.toml" SCAFFOLD=crates/cargo-oxide/src/commands/scaffold.rs -CRATES='cuda-(bindings|core|async)' # `spec_of FILE CRATE` prints "
" for the crate's dependency # line in FILE, or nothing if the file does not name the crate. spec_of() { - local file="$1" crate="$2" line + local file="$1" crate="$2" line version line="$(grep -E "^${crate}[[:space:]]*=" "${file}" | head -1 || true)" [ -n "${line}" ] || return 0 - if [[ "${line}" =~ tag[[:space:]]*=[[:space:]]*\"v([0-9][^\"]*)\" ]]; then - echo "git ${BASH_REMATCH[1]}" - elif [[ "${line}" =~ version[[:space:]]*=[[:space:]]*\"([^\"]*)\" ]]; then - echo "registry ${BASH_REMATCH[1]}" + version="?" + if [[ "${line}" =~ version[[:space:]]*=[[:space:]]*\"=?([0-9][^\"]*)\" ]]; then + version="${BASH_REMATCH[1]}" elif [[ "${line}" =~ ^${crate}[[:space:]]*=[[:space:]]*\"([^\"]*)\" ]]; then - echo "registry ${BASH_REMATCH[1]}" + version="${BASH_REMATCH[1]}" + fi + if [[ "${line}" =~ path[[:space:]]*= ]]; then + echo "path ${version}" + elif [[ "${line}" =~ tag[[:space:]]*=[[:space:]]*\"v([0-9][^\"]*)\" ]]; then + echo "git ${BASH_REMATCH[1]}" else - echo "unknown ?" + echo "registry ${version}" fi } root_spec="$(spec_of "${ROOT}" cuda-core)" [ -n "${root_spec}" ] || { echo "error: ${ROOT} has no cuda-core workspace dependency" >&2; exit 1; } root_form="${root_spec% *}"; root_version="${root_spec#* }" -echo "root pin: cuda-core ${root_form} ${root_version}" +echo "CUDA Oxide pin: cuda-core ${root_form} ${root_version}" status=0 for crate in cuda-bindings cuda-async; do @@ -62,23 +59,24 @@ for crate in cuda-bindings cuda-async; do fi done -# 1. Example manifests (nested member crates included). +# 1. Example manifests (nested member crates included). Must match the +# in-tree path pin, not the scaffold's crates.io form. while IFS= read -r manifest; do for crate in cuda-bindings cuda-core cuda-async; do - # `cutile-cuda-core = { ..., package = "cuda-core" }` is a renamed - # dependency on the same crate; match it through its package key. while IFS= read -r line; do [ -n "${line}" ] || continue - if [[ "${line}" =~ tag[[:space:]]*=[[:space:]]*\"v([0-9][^\"]*)\" ]]; then - form=git; version="${BASH_REMATCH[1]}" - elif [[ "${line}" =~ version[[:space:]]*=[[:space:]]*\"([^\"]*)\" ]]; then - form=registry; version="${BASH_REMATCH[1]}" + version="?" + if [[ "${line}" =~ version[[:space:]]*=[[:space:]]*\"=?([0-9][^\"]*)\" ]]; then + version="${BASH_REMATCH[1]}" elif [[ "${line}" =~ =[[:space:]]*\"([^\"]*)\"[[:space:]]*$ ]]; then - form=registry; version="${BASH_REMATCH[1]}" - elif [[ "${line}" =~ path[[:space:]]*= ]]; then - form=path; version="?" + version="${BASH_REMATCH[1]}" + fi + if [[ "${line}" =~ path[[:space:]]*= ]]; then + form=path + elif [[ "${line}" =~ tag[[:space:]]*=[[:space:]]*\"v([0-9][^\"]*)\" ]]; then + form=git; version="${BASH_REMATCH[1]}" else - form=unknown; version="?" + form=registry fi if [ "${form} ${version}" != "${root_spec}" ]; then echo "error: ${manifest}: '${line}' (want ${root_spec})" >&2; status=1 @@ -91,13 +89,13 @@ done < <(git -C "${GIT_ROOT}" ls-files \ 'cuda-oxide/crates/rustc-codegen-cuda/examples/*/*/*/Cargo.toml' \ | while read -r manifest; do echo "${GIT_ROOT}/${manifest}"; done) -# 2. The scaffold constant. +# 2. The scaffold constant (crates.io form of the same version). scaffold_version="$(sed -n -E 's/^pub\(super\) const SHARED_HOST_CRATES_VERSION: &str = "([^"]+)";/\1/p' "${SCAFFOLD}")" if [ -z "${scaffold_version}" ]; then echo "error: ${SCAFFOLD}: SHARED_HOST_CRATES_VERSION not found" >&2; status=1 elif [ "${scaffold_version}" != "${root_version}" ]; then - echo "error: ${SCAFFOLD}: SHARED_HOST_CRATES_VERSION is ${scaffold_version}, root pin is ${root_version}" >&2; status=1 + echo "error: ${SCAFFOLD}: SHARED_HOST_CRATES_VERSION is ${scaffold_version}, CUDA Oxide pin is ${root_version}" >&2; status=1 fi -[ "${status}" -eq 0 ] && echo "OK: every shared host-crate pin agrees with the root (${root_form} ${root_version})." +[ "${status}" -eq 0 ] && echo "OK: every shared host-crate pin agrees with CUDA Oxide (${root_form} ${root_version})." exit "${status}" diff --git a/cuda-oxide/scripts/check-test-matrix-coverage.sh b/cuda-oxide/scripts/check-test-matrix-coverage.sh index bab2a1f797..de21fde1cf 100644 --- a/cuda-oxide/scripts/check-test-matrix-coverage.sh +++ b/cuda-oxide/scripts/check-test-matrix-coverage.sh @@ -43,7 +43,7 @@ export LC_ALL=C cd "$(dirname "$0")/.." -MANIFEST=../Cargo.toml +MANIFEST=Cargo.toml WORKFLOW=../.github/workflows/unit-tests.yml JUSTFILE=Justfile diff --git a/cuda-oxide/scripts/check-toolchain-parity.sh b/cuda-oxide/scripts/check-toolchain-parity.sh index bc3481e275..bc31be6bf5 100755 --- a/cuda-oxide/scripts/check-toolchain-parity.sh +++ b/cuda-oxide/scripts/check-toolchain-parity.sh @@ -1,39 +1,32 @@ #!/usr/bin/env bash # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 -# Verify every copy of the toolchain pin still agrees with rust-toolchain.toml. +# Verify every copy of the toolchain pin still agrees with CUDA Oxide's +# rust-toolchain.toml. # # The pin is copied into several places, and nothing else checks that the # copies move together: # -# 1. crates/rustc-codegen-cuda/rust-toolchain.toml. That crate carries its -# own [workspace] for the rustc_private dylibs, so rustup resolves it -# against this file rather than the repo root's, and its own header says -# "Must match the parent cuda-oxide toolchain exactly!". A backend built -# against a different nightly than the driver fails to load, so the two -# disagreeing is a build break rather than a style nit -- but the header -# is a comment, and a comment enforces nothing. -# -# 2. The RUST_TOOLCHAIN_TOML scaffold in +# 1. The RUST_TOOLCHAIN_TOML scaffold in # crates/cargo-oxide/src/commands/scaffold.rs. # `cargo oxide new` writes it into every new project as that project's # rust-toolchain.toml, so this is the highest-impact copy: a stale # scaffold never breaks this repo's CI, it hands each new user a pin # whose backend cannot load, and the failure surfaces on their machine. # -# 3. The rust feature in .devcontainer/devcontainer.json. It preinstalls +# 2. The rust feature in .devcontainer/devcontainer.json. It preinstalls # the toolchain so the container's first build does not download it; a # stale version there warms the wrong cache, and a component the pin no # longer names keeps being installed into every container. # -# 4. The `[toolchain]` blocks quoted in the book. These are presented as -# the repo's actual file -- one is even labelled "already in the repo -# root" -- so a reader copies them into their own project. When they go +# 3. The `[toolchain]` blocks quoted in the book. These are presented as +# the repo's actual file, so a reader copies them into their own project. +# When they go # stale the book hands out a pin that silently omits a component, and the # symptom lands later and elsewhere: a missing `rustfmt` surfaces as # `cargo oxide fmt` failing, not as a bad toolchain file. # -# 5. The dated commands and prose across the book and the READMEs: +# 4. The dated commands and prose across the book and the READMEs: # `rustup toolchain install nightly-...`, `cargo +nightly-... install`, # and sentences naming the pin. Readers run those commands outside a # checkout, where no rust-toolchain.toml can correct a stale date. @@ -56,10 +49,9 @@ export LC_ALL=C cd "$(dirname "$0")/.." -ROOT_PIN=../rust-toolchain.toml -NESTED_PIN=crates/rustc-codegen-cuda/rust-toolchain.toml +ROOT_PIN=rust-toolchain.toml SCAFFOLD=crates/cargo-oxide/src/commands/scaffold.rs -DEVCONTAINER=../.devcontainer/devcontainer.json +DEVCONTAINER=.devcontainer/devcontainer.json if ! command -v python3 >/dev/null 2>&1; then echo "error: python3 is required to verify the toolchain pin" >&2 @@ -77,12 +69,11 @@ if ! command -v git >/dev/null 2>&1; then fi test -s "${ROOT_PIN}" -test -s "${NESTED_PIN}" test -s "${SCAFFOLD}" test -s "${DEVCONTAINER}" GIT_ROOT="$(git rev-parse --show-toplevel)" -python3 - "${ROOT_PIN}" "${NESTED_PIN}" "${SCAFFOLD}" "${DEVCONTAINER}" "${GIT_ROOT}" <<'PY' +python3 - "${ROOT_PIN}" "${SCAFFOLD}" "${DEVCONTAINER}" "${GIT_ROOT}" <<'PY' import glob import json import os @@ -90,13 +81,11 @@ import re import subprocess import sys -root_path, nested_path, scaffold_path, devcontainer_path, git_root = sys.argv[1:6] +root_path, scaffold_path, devcontainer_path, git_root = sys.argv[1:5] CHANNEL = re.compile(r'^\s*channel\s*=\s*"([^"]+)"', re.M) -# Both layouts are in the tree: the root file spreads the list over one entry -# per line, the nested one keeps it on a single line. Match the whole -# bracketed span and pull the quoted names out of it, so neither layout needs -# its own pattern and reflowing a list never breaks this guard. +# Match the whole bracketed span and pull the quoted names out of it so +# reflowing the list never breaks this guard. COMPONENTS = re.compile(r"^\s*components\s*=\s*\[(.*?)\]", re.M | re.S) @@ -128,18 +117,6 @@ if not root_channel or not root_components: failures = [] -nested_channel, nested_components = pin(read(nested_path), nested_path) -if nested_channel != root_channel: - failures.append( - f"{nested_path} pins channel {nested_channel!r}, " - f"{root_path} pins {root_channel!r}" - ) -if nested_components != root_components: - failures.append( - f"{nested_path} lists components {nested_components!r}, " - f"{root_path} lists {root_components!r}" - ) - # The scaffold `cargo oxide new` writes into user projects. It is a full # rust-toolchain.toml, so both keys are required and must match exactly. SCAFFOLD_CONST = re.compile( @@ -316,7 +293,7 @@ if failures: print(file=sys.stderr) print( f"Every copy must state the same channel and components as {root_path}. " - "The nested\npin and the `cargo oxide new` scaffold must match exactly " + "The `cargo oxide new` scaffold must match exactly " "(rustc_private dylibs);\nthe book's blocks are presented to readers as " "the repo's real file, and the\ndated commands run where no " "rust-toolchain.toml can correct them.", @@ -326,7 +303,7 @@ if failures: print( f"OK: {root_path} pins {root_channel} with {len(root_components)} components; " - "the nested pin, the `cargo oxide new` scaffold, the devcontainer, all " + "the `cargo oxide new` scaffold, the devcontainer, all " f"{quoted} block(s) quoted in the book, and all {dated} dated reference(s) " "in tracked markdown agree." ) diff --git a/cutile-rs/.github/actions/setup/action.yml b/cutile-rs/.github/actions/setup/action.yml index b8c68bc4d2..10ef5945ee 100644 --- a/cutile-rs/.github/actions/setup/action.yml +++ b/cutile-rs/.github/actions/setup/action.yml @@ -42,8 +42,9 @@ runs: apt-get install -y -qq --no-install-recommends build-essential curl \ ca-certificates git cmake pkg-config libclang-dev zlib1g-dev libzstd-dev - # Use cutile-rs/rust-toolchain.toml. The repo-root pin is the Oxide nightly, - # and rustup walks up from the working directory. + # Stay in cutile-rs. rustup walks up from the working directory, and the + # git-root pin is the host-crate stable toolchain, not this file. The Oxide + # nightly lives in cuda-oxide/rust-toolchain.toml. - name: Install Rust shell: bash working-directory: cutile-rs diff --git a/cutile-rs/Cargo.lock b/cutile-rs/Cargo.lock index 41dc92c516..d95ed3effd 100644 --- a/cutile-rs/Cargo.lock +++ b/cutile-rs/Cargo.lock @@ -422,7 +422,6 @@ dependencies = [ "dashmap", "futures", "half", - "loom", "once_cell", "rustc-hash 2.1.2", "thiserror 1.0.69", @@ -449,7 +448,6 @@ dependencies = [ "cuda-core-derive", "half", "oxide-artifacts", - "trybuild", ] [[package]] @@ -891,21 +889,6 @@ dependencies = [ "seq-macro", ] -[[package]] -name = "generator" -version = "0.8.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3b854b0e584ead1a33f18b2fcad7cf7be18b3875c78816b753639aa501513ae" -dependencies = [ - "cc", - "cfg-if", - "libc", - "log", - "rustversion", - "windows-link", - "windows-result", -] - [[package]] name = "generic-array" version = "0.14.7" @@ -1159,28 +1142,6 @@ version = "0.4.29" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" -[[package]] -name = "loom" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "419e0dc8046cb947daa77eb95ae174acfbddb7673b4151f56d1eed8e93fbfaca" -dependencies = [ - "cfg-if", - "generator", - "scoped-tls", - "tracing", - "tracing-subscriber", -] - -[[package]] -name = "matchers" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" -dependencies = [ - "regex-automata", -] - [[package]] name = "memchr" version = "2.8.0" @@ -1224,15 +1185,6 @@ dependencies = [ "minimal-lexical", ] -[[package]] -name = "nu-ansi-term" -version = "0.50.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" -dependencies = [ - "windows-sys 0.61.2", -] - [[package]] name = "num-complex" version = "0.4.6" @@ -1619,12 +1571,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "scoped-tls" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" - [[package]] name = "scopeguard" version = "1.2.0" @@ -1706,15 +1652,6 @@ dependencies = [ "digest", ] -[[package]] -name = "sharded-slab" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" -dependencies = [ - "lazy_static", -] - [[package]] name = "shlex" version = "1.3.0" @@ -1863,15 +1800,6 @@ dependencies = [ "syn", ] -[[package]] -name = "thread_local" -version = "1.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad99c4c6d32803332c548b1af0540b357b3f5fc0be8f6c6bfe8b2e6ae784070" -dependencies = [ - "cfg-if", -] - [[package]] name = "tinytemplate" version = "1.2.1" @@ -1949,55 +1877,6 @@ version = "1.1.1+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "756daf9b1013ebe47a8776667b466417e2d4c5679d441c26230efd9ef78692db" -[[package]] -name = "tracing" -version = "0.1.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" -dependencies = [ - "pin-project-lite", - "tracing-core", -] - -[[package]] -name = "tracing-core" -version = "0.1.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-log" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" -dependencies = [ - "log", - "once_cell", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319" -dependencies = [ - "matchers", - "nu-ansi-term", - "once_cell", - "regex-automata", - "sharded-slab", - "smallvec", - "thread_local", - "tracing", - "tracing-core", - "tracing-log", -] - [[package]] name = "trybuild" version = "1.0.116" @@ -2055,12 +1934,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "valuable" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" - [[package]] name = "version_check" version = "0.9.5" @@ -2217,15 +2090,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" -[[package]] -name = "windows-result" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" -dependencies = [ - "windows-link", -] - [[package]] name = "windows-sys" version = "0.59.0" diff --git a/cutile-rs/Cargo.toml b/cutile-rs/Cargo.toml index d6f68285fe..0bd78dcd91 100644 --- a/cutile-rs/Cargo.toml +++ b/cutile-rs/Cargo.toml @@ -2,15 +2,8 @@ resolver = "2" members = [ - # CUDA C-API Bindings. - "cuda-bindings", - - # Safe CUDA API. Uses cuda-bindings. - "cuda-core", - "cuda-core-derive", - - # Async CUDA API. Uses cuda-core. - "cuda-async", + # Host CUDA crates live at the git root (Oxide workspace members). + # This workspace path-depends on them; they cannot be members here. # cuTile Rust compiler. Requires cutile-ir + cuda-async. "cutile-compiler", @@ -37,9 +30,6 @@ members = [ ] default-members = [ - "cuda-bindings", - "cuda-core", - "cuda-async", "cutile-compiler", "cutile-macro", "cutile-ir", @@ -88,9 +78,9 @@ sha2 = "0.10" once_cell = "1.19" # ── Intra-workspace ────────────────────────────────────────────────────────── -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" } +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" } # Lockstep crates: the macro's generated code targets exact runtime items # (and the compiler's registry/ast contract), so a floating requirement lets # cargo pair an old runtime with a new macro and break the OLD published diff --git a/cutile-rs/cuda-async/Cargo.toml b/cutile-rs/cuda-async/Cargo.toml deleted file mode 100644 index 3e88263144..0000000000 --- a/cutile-rs/cuda-async/Cargo.toml +++ /dev/null @@ -1,30 +0,0 @@ -[package] -name = "cuda-async" -version.workspace = true -edition.workspace = true -rust-version.workspace = true -license.workspace = true -authors.workspace = true -repository.workspace = true -readme = "README.md" -description = "Safe Async CUDA support via Async Rust." - -[dependencies] -cuda-core = { workspace = true } -rustc-hash = { workspace = true } -cuda-bindings = { workspace = true } -half = { workspace = true } -futures = { workspace = true } -anyhow = { workspace = true } -thiserror = { workspace = true } -dashmap = { workspace = true } -once_cell = { workspace = true } - -# `loom` model-checks the slot_table completion protocol; test-only, pulled in -# solely under `--cfg loom` (e.g. `RUSTFLAGS="--cfg loom" cargo test`). -[target.'cfg(loom)'.dev-dependencies] -loom = "0.7" - - -[lints] -workspace = true diff --git a/cutile-rs/cuda-bindings/Cargo.toml b/cutile-rs/cuda-bindings/Cargo.toml deleted file mode 100644 index 6f0d0805cb..0000000000 --- a/cutile-rs/cuda-bindings/Cargo.toml +++ /dev/null @@ -1,26 +0,0 @@ -[package] -name = "cuda-bindings" -version.workspace = true -authors.workspace = true -edition.workspace = true -rust-version.workspace = true -description = "NVIDIA CUDA bindings." -readme = "README.md" -license.workspace = true -repository.workspace = true - -[lib] -doctest = false - -[dependencies] -libloading = { workspace = true } - -[build-dependencies] -bindgen = "0.69.4" -prettyplease = { workspace = true } -proc-macro2 = { workspace = true } -quote = { workspace = true } -syn = { workspace = true } - -[lints] -workspace = true diff --git a/cutile-rs/cuda-core-derive/Cargo.toml b/cutile-rs/cuda-core-derive/Cargo.toml deleted file mode 100644 index b27d903174..0000000000 --- a/cutile-rs/cuda-core-derive/Cargo.toml +++ /dev/null @@ -1,20 +0,0 @@ -[package] -name = "cuda-core-derive" -description = "Derive macro for cuda-core's DeviceCopy trait." -version.workspace = true -edition.workspace = true -rust-version.workspace = true -license.workspace = true -authors.workspace = true -repository.workspace = true - -[lib] -proc-macro = true - -[dependencies] -proc-macro2 = { workspace = true } -quote = { workspace = true } -syn = { workspace = true } - -[lints] -workspace = true diff --git a/cutile-rs/cuda-core/Cargo.toml b/cutile-rs/cuda-core/Cargo.toml deleted file mode 100644 index bc27e43734..0000000000 --- a/cutile-rs/cuda-core/Cargo.toml +++ /dev/null @@ -1,27 +0,0 @@ -[package] -name = "cuda-core" -description = "Idiomatic CUDA API." -version.workspace = true -edition.workspace = true -rust-version.workspace = true -license.workspace = true -authors.workspace = true -repository.workspace = true -readme = "README.md" - -[dependencies] -cuda-bindings = { workspace = true } -cuda-core-derive = { version = "=0.4.0", path = "../cuda-core-derive" } -anyhow = { workspace = true } -half = { workspace = true } -oxide-artifacts = { version = "0.2.1", features = ["object-read"] } - -[dev-dependencies] -trybuild = "1" - -[features] -# Nightly-only: DeviceCopy for the unstable f16 primitive. -f16 = [] - -[lints] -workspace = true diff --git a/cutile-rs/scripts/run_cpu_tests.sh b/cutile-rs/scripts/run_cpu_tests.sh index b17e345ac3..52f457cd3c 100755 --- a/cutile-rs/scripts/run_cpu_tests.sh +++ b/cutile-rs/scripts/run_cpu_tests.sh @@ -112,15 +112,15 @@ run_step \ # run_gpu_tests.sh. run_step \ "cuda-bindings unit and toolkit-discovery tests" \ - cargo test -p cuda-bindings -- --skip cuda_tests:: + host_cargo test -p cuda-bindings -- --skip cuda_tests:: run_step \ "cuda-core unit tests" \ - cargo test -p cuda-core --lib + host_cargo test -p cuda-core --lib run_step \ "cuda-core compile-time contract tests" \ - cargo test -p cuda-core \ + host_cargo test -p cuda-core \ --test simt_device_copy_derive \ --test simt_device_copy_impls \ --test simt_launch_contract_types @@ -129,21 +129,21 @@ run_step \ # brand/rank rejection, buffer aliasing) that no other target covers. run_step \ "cuda-core doc tests" \ - cargo test -p cuda-core --doc + host_cargo test -p cuda-core --doc run_step \ "cuda-async unit tests" \ - cargo test -p cuda-async --lib + host_cargo test -p cuda-async --lib run_step \ "cuda-async doc tests" \ - cargo test -p cuda-async --doc + host_cargo test -p cuda-async --doc # Driver-free by construction: its one driver-touching case asserts the # Err path, which driverless shims also produce. run_step \ "cuda-async error-handling integration test" \ - cargo test -p cuda-async --test error_handling + host_cargo test -p cuda-async --test error_handling print_summary_and_exit \ "All CPU tests passed!" \ diff --git a/cutile-rs/scripts/run_gpu_tests.sh b/cutile-rs/scripts/run_gpu_tests.sh index 1203553c31..b40b2254a4 100755 --- a/cutile-rs/scripts/run_gpu_tests.sh +++ b/cutile-rs/scripts/run_gpu_tests.sh @@ -77,11 +77,11 @@ run_step \ run_step \ "cuda-core GPU integration test vmm" \ - cargo test -p cuda-core --test vmm + host_cargo test -p cuda-core --test vmm run_step \ "cuda-core GPU integration test vmm_multicast" \ - cargo test -p cuda-core --test vmm_multicast + host_cargo test -p cuda-core --test vmm_multicast # The SIMT integration tests carried over from cuda-oxide. simt_vmm_p2p # exercises the real two-GPU P2P path (it self-skips on single-device @@ -101,18 +101,18 @@ for test_target in \ do run_step \ "cuda-core GPU integration test ${test_target}" \ - cargo test -p cuda-core --test "$test_target" + host_cargo test -p cuda-core --test "$test_target" done run_step \ "cuda-async unit tests (with live driver)" \ - cargo test -p cuda-async --lib + host_cargo test -p cuda-async --lib # Unfiltered: includes the GPU-requiring `cuda_tests` module that the CPU # path skips. run_step \ "cuda-bindings tests (with live driver)" \ - cargo test -p cuda-bindings + host_cargo test -p cuda-bindings for test_target in \ concurrent_capture \ @@ -126,7 +126,7 @@ for test_target in \ do run_step \ "cuda-async GPU integration test ${test_target}" \ - cargo test -p cuda-async --test "$test_target" + host_cargo test -p cuda-async --test "$test_target" done print_summary_and_exit \ diff --git a/cutile-rs/scripts/test_runner_common.sh b/cutile-rs/scripts/test_runner_common.sh index 0e9986169a..5d0bd31836 100755 --- a/cutile-rs/scripts/test_runner_common.sh +++ b/cutile-rs/scripts/test_runner_common.sh @@ -13,6 +13,13 @@ NC='\033[0m' SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)" +# Host crates (cuda-bindings, cuda-core, cuda-async) are members of the +# git-root workspace, not this nested cutile-rs workspace. The root +# rust-toolchain.toml is what selects stable once this cds there. +GIT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)" +host_cargo() { + (cd "$GIT_ROOT" && cargo "$@") +} OVERALL_SUCCESS=true diff --git a/deny.toml b/deny.toml new file mode 100644 index 0000000000..af51d7a690 --- /dev/null +++ b/deny.toml @@ -0,0 +1,52 @@ +# Copy of cuda-oxide/deny.toml for the git-root host workspace +# (cuda-bindings, cuda-core, cuda-core-derive, cuda-async). Edit the SIMT +# file and copy it here. This file is not a second policy. +# +# cargo-deny finds deny.toml by walking up from the manifest. It does not +# look into child directories, so a run on the host workspace never sees +# cuda-oxide/deny.toml. Passing --config does not fix that for every +# install: 0.18 accepts the flag only after `check` and resolves the path +# from the manifest directory, while 0.20 accepts it only before `check` +# and resolves the path from the working directory. +# +# The policy stays in cuda-oxide/deny.toml. That is the file the SIMT, +# codegen, device-only, and example walks stop at. The root workspace is +# only the four host crates; the allow-list and the pliron git exception +# belong to the SIMT tree. A single deny.toml at the git root would make +# those walks continue upward, and any cutile-rs directory that lacked its +# own deny.toml would then inherit the Oxide policy. cutile-rs/deny.toml is +# a separate product policy and must remain the file a walk inside that +# tree finds first. +# +# The host graph is still a separate resolution. Normal and build +# dependencies of the host crates are also in the SIMT graph, but +# dev-dependencies are not. cuda-async's loom dev-dependency (generator, +# cc, tracing, and the rest of that tree) exists only in the root +# Cargo.lock, and only this file lets `cargo deny --locked` judge that lock. + +[advisories] +version = 2 + +[licenses] +version = 2 +allow = [ + "MIT", + "Apache-2.0", + "Apache-2.0 WITH LLVM-exception", + "BSD-2-Clause", + "BSD-3-Clause", + "ISC", + "Unicode-3.0", + "Zlib", +] +confidence-threshold = 0.8 + +[bans] +multiple-versions = "warn" +wildcards = "allow" + +[sources] +unknown-registry = "deny" +unknown-git = "deny" +allow-registry = ["https://github.com/rust-lang/crates.io-index"] +allow-git = ["https://github.com/pliron-org/pliron"] diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 5cf8cac83f..9ba4c5ed89 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,10 +1,8 @@ +# Stable pin for the git-root host workspace (cuda-bindings, cuda-core, +# cuda-core-derive, cuda-async). rustup walks up from the working directory, +# so `cargo` at the git root must not inherit the Oxide nightly under +# cuda-oxide/. Keep this channel in lockstep with cutile-rs/rust-toolchain.toml. [toolchain] -channel = "nightly-2026-08-28" -components = [ - "rust-src", - "rustc-dev", - "rust-analyzer", - "clippy", - "rustfmt", - "llvm-tools", -] +channel = "1.98.0" +components = ["rustfmt", "clippy"] +profile = "minimal"