Skip to content

Commit 63c9f56

Browse files
committed
Chore: Rust CUDA 0.2
1 parent c0059c3 commit 63c9f56

File tree

10 files changed

+16
-8
lines changed

10 files changed

+16
-8
lines changed

crates/cuda_builder/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cuda_builder"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
edition = "2021"
55
authors = ["Riccardo D'Ambrosio <[email protected]>", "The rust-gpu Authors"]
66
license = "MIT OR Apache-2.0"
@@ -9,7 +9,7 @@ repository = "https://github.com/Rust-GPU/Rust-CUDA"
99
readme = "../../README.md"
1010

1111
[dependencies]
12-
rustc_codegen_nvvm = { version = "0.1", path = "../rustc_codegen_nvvm" }
12+
rustc_codegen_nvvm = { version = "0.2", path = "../rustc_codegen_nvvm" }
1313
nvvm = { path = "../nvvm", version = "0.1" }
1414
serde = { version = "1.0.130", features = ["derive"] }
1515
serde_json = "1.0.68"

crates/cuda_std/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Notable changes to this project will be documented in this file.
44

55
## Unreleased
66

7+
## 0.2.0 - 12/5/21
8+
79
- Added `#[externally_visible]` in conjunction with cg_nvvm dead code elimination changes to mark that
810
a function is externally visible.
911
- Added `#[address_space(...)]` in conjunction with cg_nvvm address space changes. Only meant for internal use

crates/cuda_std/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ readme = "../../README.md"
99

1010
[dependencies]
1111
vek = { version = "0.15.1", default-features = false, features = ["libm"] }
12-
cuda_std_macros = { version = "0.1", path = "../cuda_std_macros" }
12+
cuda_std_macros = { version = "0.2", path = "../cuda_std_macros" }
1313
half = "1.7.1"
1414
bitflags = "1.3.2"
1515
paste = "1.0.5"

crates/cuda_std_macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cuda_std_macros"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
edition = "2018"
55
license = "MIT OR Apache-2.0"
66
description = "Macros for cuda_std"

crates/cust/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ Notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
## 0.2.1 - 12/5/21
8+
79
- Added `Device::as_raw`.
810
- Added `MemoryAdvise` for unified memory advising.
911
- Added `MemoryAdvise::prefetch_host` and `MemoryAdvise::prefetch_device` for telling CUDA to explicitly fetch unified memory somewhere.
1012
- Added `MemoryAdvise::advise_read_mostly`.
1113
- Added `MemoryAdvise::preferred_location` and `MemoryAdvise::unset_preferred_location`.
1214
Note that advising APIs are only present on high end GPUs such as V100s.
15+
- `StreamFlags::NON_BLOCKING` has been temporarily disabled because of [soundness concerns](https://github.com/Rust-GPU/Rust-CUDA/issues/15).
1316

1417
## 0.2.0 - 11/26/21
1518

crates/cust/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cust"
3-
version = "0.2.0"
3+
version = "0.2.1"
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/rustc_codegen_nvvm/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Notable changes to this project will be documented in this file.
44

55
## Unreleased
66

7+
## 0.2.0 - 12/5/21
8+
79
### Address Spaces
810

911
CUDA Address Spaces have been mostly implemented. Statics that are not mut statics and do not rely on
@@ -40,6 +42,7 @@ However, if you rely on libm for determinism, you must disable the overriding, s
4042
This also makes PTX much smaller generally, in our example path tracer, it slimmed the PTX file from about `3800` LoC to `2300` LoC.
4143

4244
- Trace-level debug is compiled out for release now, decreasing the size of the codegen dll and improving compile times.
45+
- Updated to nightly 12/5/21
4346

4447
## 0.1.1 - 11/26/21
4548

crates/rustc_codegen_nvvm/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustc_codegen_nvvm"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
authors = ["Riccardo D'Ambrosio <[email protected]>", "The Rust Project Developers"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

examples/cuda/cpu/add/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ cust = { version = "0.2", path = "../../../../crates/cust" }
88
nanorand = "0.6.1"
99

1010
[build-dependencies]
11-
cuda_builder = { version = "0.1", path = "../../../../crates/cuda_builder" }
11+
cuda_builder = { version = "0.2", path = "../../../../crates/cuda_builder" }

examples/cuda/cpu/path_tracer/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ rayon = "1.5.1"
1919
sysinfo = "0.20.5"
2020

2121
[build-dependencies]
22-
cuda_builder = { version = "0.1", path = "../../../../crates/cuda_builder" }
22+
cuda_builder = { version = "0.2", path = "../../../../crates/cuda_builder" }

0 commit comments

Comments
 (0)