Skip to content

Commit

Permalink
Upgrade to latest rust-cuda with syn v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
juntyr committed Sep 26, 2024
1 parent 6f0bc53 commit 0ad71b3
Show file tree
Hide file tree
Showing 8 changed files with 162 additions and 144 deletions.
278 changes: 148 additions & 130 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions necsim/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ cuda = ["rust-cuda"]
necsim-core-maths = { path = "maths" }
necsim-core-bond = { path = "bond" }

const-type-layout = { version = "0.3.1", features = ["derive"] }
const-type-layout = { version = "0.3.2", features = ["derive"] }
contracts = "0.6.3"
serde = { version = "1.0", default-features = false, features = ["derive"] }

[target.'cfg(target_os = "cuda")'.dependencies]
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "57a16a9", features = ["derive"], optional = true }
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "9059713", features = ["derive"], optional = true }

[target.'cfg(not(target_os = "cuda"))'.dependencies]
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "57a16a9", features = ["derive", "host"], optional = true }
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "9059713", features = ["derive", "host"], optional = true }
2 changes: 1 addition & 1 deletion necsim/core/bond/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ default = []
[dependencies]
necsim-core-maths = { path = "../maths" }

const-type-layout = { version = "0.3.1", features = ["derive"] }
const-type-layout = { version = "0.3.2", features = ["derive"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
6 changes: 3 additions & 3 deletions necsim/impls/cuda/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ edition = "2021"
[dependencies]
necsim-core = { path = "../../core", features = ["cuda"] }

const-type-layout = { version = "0.3.1", features = ["derive"] }
const-type-layout = { version = "0.3.2", features = ["derive"] }
contracts = "0.6.3"
serde = { version = "1.0", default-features = false, features = ["derive"] }

[target.'cfg(target_os = "cuda")'.dependencies]
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "57a16a9", features = ["derive"] }
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "9059713", features = ["derive"] }

[target.'cfg(not(target_os = "cuda"))'.dependencies]
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "57a16a9", features = ["derive", "host"] }
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "9059713", features = ["derive", "host"] }
6 changes: 3 additions & 3 deletions necsim/impls/no-std/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ necsim-core-maths = { path = "../../core/maths" }
necsim-core-bond = { path = "../../core/bond" }
necsim-partitioning-core = { path = "../../partitioning/core" }

const-type-layout = { version = "0.3.1", features = ["derive"] }
const-type-layout = { version = "0.3.2", features = ["derive"] }
contracts = "0.6.3"
libm = "0.2"
hashbrown = "0.14"
Expand All @@ -30,7 +30,7 @@ fnv = { version = "1.0", default-features = false, features = [] }
rand_core = "0.6"

[target.'cfg(target_os = "cuda")'.dependencies]
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "57a16a9", features = ["derive", "final"], optional = true }
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "9059713", features = ["derive", "final"], optional = true }

[target.'cfg(not(target_os = "cuda"))'.dependencies]
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "57a16a9", features = ["derive", "final", "host"], optional = true }
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "9059713", features = ["derive", "final", "host"], optional = true }
2 changes: 1 addition & 1 deletion rustcoalescence/algorithms/cuda/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ thiserror = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_state = "0.4"
serde_derive_state = "0.4"
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "57a16a9", features = ["host"] }
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "9059713", features = ["host"] }
2 changes: 1 addition & 1 deletion rustcoalescence/algorithms/cuda/cpu-kernel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ necsim-impls-no-std = { path = "../../../../necsim/impls/no-std", features = ["c
necsim-impls-cuda = { path = "../../../../necsim/impls/cuda" }
rustcoalescence-algorithms-cuda-gpu-kernel = { path = "../gpu-kernel" }

rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "57a16a9", features = ["host"] }
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "9059713", features = ["host"] }
4 changes: 2 additions & 2 deletions rustcoalescence/algorithms/cuda/gpu-kernel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ necsim-impls-no-std = { path = "../../../../necsim/impls/no-std", features = ["c
necsim-impls-cuda = { path = "../../../../necsim/impls/cuda" }

[target.'cfg(target_os = "cuda")'.dependencies]
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "57a16a9", features = ["derive", "device", "kernel"] }
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "9059713", features = ["derive", "device", "kernel"] }

[target.'cfg(not(target_os = "cuda"))'.dependencies]
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "57a16a9", features = ["derive", "kernel"] }
rust-cuda = { git = "https://github.com/juntyr/rust-cuda", rev = "9059713", features = ["derive", "kernel"] }

0 comments on commit 0ad71b3

Please sign in to comment.