From eefda9cd764a28db2db661dcc12dd1a72663aabd Mon Sep 17 00:00:00 2001 From: DrMeepster <19316085+DrMeepster@users.noreply.github.com> Date: Tue, 22 Feb 2022 12:47:11 -0800 Subject: [PATCH] update changelog --- crates/cust/CHANGELOG.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/crates/cust/CHANGELOG.md b/crates/cust/CHANGELOG.md index af5aa2b..892e49f 100644 --- a/crates/cust/CHANGELOG.md +++ b/crates/cust/CHANGELOG.md @@ -4,7 +4,15 @@ Notable changes to this project will be documented in this file. ## Unreleased - - Add `memory::memcpy_dtoh` to allow copying from device to host. +- Add `memory::memcpy_dtoh` to allow copying from device to host. +- `DeviceSlice` is represented as a slice again, but as `[()]` instead of `[T]`. +- Reimplemented `Index` and `IndexMut` for `DeviceSlice` and removed `DeviceSlice::index`. +- Methods that returned `DeviceSlice` by value now return references: + - `DeviceSlice::from_raw_parts` + - `DeviceSlice::from_raw_parts_mut` + - `DeviceSliceIndex::index` + - `DeviceSliceIndex::get_unchecked` +- Added `DeviceSliceIndex::index_mut` and `DeviceSliceIndex::get_unchecked_mut`. ## 0.3.2 - 2/16/22