Skip to content

Commit f8caca6

Browse files
committed
Feat: cust 0.2 (gpu_rand 0.1.1)
1 parent e0750a3 commit f8caca6

File tree

8 files changed

+11
-8
lines changed

8 files changed

+11
-8
lines changed

crates/cust/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ Notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
## 0.2.0 - 11/26/21
8+
79
- Rename `DBuffer` -> `DeviceBuffer`. This is how it was in rustacuda, but it was changed
810
at some point, but now we reconsidered that it may be the wrong choice.
911
- Renamed `DBox` -> `DeviceBox`.
1012
- Renamed `DSlice` -> `DeviceSlice`.
1113
- Fixed some doctests that were using old APIs.
1214
- Remove `GpuBox::as_device_ptr_mut` and `GpuBuffer::as_device_ptr_mut`.
1315
- Change `GpuBox::as_device_ptr` and `GpuBuffer::as_device_ptr` to take `&self` instead of `&mut self`.
16+
- Remove accidentally added `vek` default feature.

crates/cust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cust"
3-
version = "0.1.2"
3+
version = "0.2.0"
44
# Big thanks to the original author of rustacuda <3
55
authors = ["Riccardo D'Ambrosio <[email protected]>", "Brook Heisler <[email protected]>"]
66
edition = "2018"

crates/gpu_rand/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "gpu_rand"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
authors = ["The Rand Project Developers", "The Rust CUDA Project Developers"]
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
@@ -13,7 +13,7 @@ rand_core = { version = "0.6" }
1313
cuda_std = { version = "0.1", path = "../cuda_std" }
1414

1515
[target.'cfg(not(target_os = "cuda"))'.dependencies]
16-
cust = { version = "0.1", path = "../cust" }
16+
cust = { version = "0.2", path = "../cust" }
1717

1818
[package.metadata.docs.rs]
1919
rustdoc-args = ["--cfg", "docsrs"]

crates/optix/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ license = "MIT OR Apache-2.0"
66

77
[dependencies]
88
optix_sys = { version = "0.1", path = "../optix_sys" }
9-
cust = { version = "0.1", path = "../cust" }
9+
cust = { version = "0.2", path = "../cust" }

examples/cuda/cpu/add/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
cust = { version = "0.1", path = "../../../../crates/cust" }
7+
cust = { version = "0.2", path = "../../../../crates/cust" }
88
nanorand = "0.6.1"
99

1010
[build-dependencies]

examples/cuda/cpu/path_tracer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2018"
55

66
[dependencies]
77
bytemuck = { version = "1.7.2", features = ["derive"] }
8-
cust = { version = "0.1", path = "../../../../crates/cust", features = ["vek"] }
8+
cust = { version = "0.2", path = "../../../../crates/cust", features = ["vek"] }
99
image = "0.23.14"
1010
path_tracer_gpu = { path = "../../gpu/path_tracer_gpu" }
1111
gpu_rand = { version = "0.1", path = "../../../../crates/gpu_rand" }

examples/cuda/gpu/path_tracer_gpu/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ enum_dispatch = "0.3.7"
99
gpu_rand = { version = "0.1", path = "../../../../crates/gpu_rand" }
1010

1111
[target.'cfg(not(target_os = "cuda"))'.dependencies]
12-
cust = { version = "0.1", path = "../../../../crates/cust" }
12+
cust = { version = "0.2", path = "../../../../crates/cust" }
1313

1414
[lib]
1515
crate-type = ["cdylib", "rlib"]

examples/optix/denoiser/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ edition = "2021"
66
[dependencies]
77
optix = { version = "0.1", path = "../../../crates/optix" }
88
structopt = "0.3"
9-
cust = { version = "0.1", path = "../../../crates/cust", features = ["vek"] }
9+
cust = { version = "0.2", path = "../../../crates/cust", features = ["vek"] }
1010
image = "0.23.14"

0 commit comments

Comments
 (0)