Skip to content

Commit

Permalink
Merge pull request #208 from spacemeshos/fix-crash-on-multi-device-oc…
Browse files Browse the repository at this point in the history
…l-platforms

Set Device when building ocl ProQue
  • Loading branch information
poszu authored Mar 13, 2024
2 parents b963c5d + bbd8615 commit 1460e07
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 14 deletions.
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ members = [

[package]
name = "post-rs"
version = "0.7.2"
version = "0.7.3"
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion certifier/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "certifier"
version = "0.7.2"
version = "0.7.3"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "post-cbindings"
version = "0.7.2"
version = "0.7.3"
edition = "2021"


Expand Down
2 changes: 1 addition & 1 deletion initializer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "initializer"
version = "0.7.2"
version = "0.7.3"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion profiler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "profiler"
version = "0.7.2"
version = "0.7.3"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion scrypt-ocl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "scrypt-ocl"
version = "0.7.2"
version = "0.7.3"
edition = "2021"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions scrypt-ocl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ impl Scrypter {
let read_queue = Queue::new(&context, device, None)?;
let pro_que = ProQue::builder()
.context(context)
.device(device)
.prog_bldr(program_builder)
.dims(1)
.build()?;
Expand Down
2 changes: 1 addition & 1 deletion service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "service"
version = "0.7.2"
version = "0.7.3"
edition = "2021"

[lib]
Expand Down

0 comments on commit 1460e07

Please sign in to comment.