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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,12 @@ rust-cuda = { version = "0.1", path = ".", default-features = false }
rust-cuda-derive = { version = "0.1", path = "rust-cuda-derive", default-features = false }
rust-cuda-kernel = { version = "0.1", path = "rust-cuda-kernel", default-features = false }

# third-party dependencies with unpublished patches
rustacuda = { git = "https://github.com/juntyr/RustaCUDA", rev = "c6ea7cc", default-features = false }
rustacuda_core = { git = "https://github.com/juntyr/RustaCUDA", rev = "c6ea7cc", default-features = false }

# crates.io third-party dependencies
cargo_metadata = { version = "0.19", default-features = false }
cargo-util = { version = "=0.2.16", default-features = false } # TODO: keep in sync with toolchain
colored = { version = "3.0", default-features = false }
const-type-layout = { version = "0.3.2", default-features = false }
cudarc = { version = "0.13", default-features = false }
final = { version = "0.1.1", default-features = false }
find_cuda_helper = { version = "0.2", default-features = false }
oneshot = { version = "0.1", default-features = false }
Expand Down Expand Up @@ -92,16 +89,15 @@ default = []
derive = ["dep:rust-cuda-derive"]
device = []
final = ["dep:final"]
host = ["dep:rustacuda", "dep:regex", "dep:oneshot", "dep:safer_owning_ref"]
host = ["dep:cudarc", "dep:regex", "dep:oneshot", "dep:safer_owning_ref"]
kernel = ["dep:rust-cuda-kernel"]

[dependencies]
const-type-layout = { workspace = true, features = ["derive"] }
cudarc = { workspace = true, optional = true, features = ["cuda-version-from-build-system"] }
final = { workspace = true, optional = true }
oneshot = { workspace = true, features = ["std", "async"], optional = true }
regex = { workspace = true, optional = true }
rustacuda = { workspace = true, optional = true }
rustacuda_core = { workspace = true }
rust-cuda-derive = { workspace = true, optional = true }
rust-cuda-kernel = { workspace = true, optional = true }
safer_owning_ref = { workspace = true, optional = true }
Expand Down
4 changes: 1 addition & 3 deletions src/deps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@ pub extern crate const_type_layout;
pub extern crate owning_ref;

#[cfg(feature = "host")]
pub extern crate rustacuda;

pub extern crate rustacuda_core;
pub extern crate cudarc;
Loading