Skip to content

Commit

Permalink
Add entry in changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Rombur committed Oct 25, 2021
1 parent 0c92ad1 commit 5179c45
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions doc/news/changes/minor/20211012Turcksin
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
New: The new Utilities::MemorySpace namespace contains functions to help
memory space independent code. The new MemoryBlock class allocates a
block of memory on the host or the device. The underlying data can be accessed
using ArrayView.
<br>
(Bruno Turcksin, 2021/10/12)
2 changes: 1 addition & 1 deletion tests/cuda/memory_block.cu
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ test()
memory_block_host.size(),
check_functor_zero);

// Check
// Check reinit
std::vector<double> vector(5);
for (unsigned int i = 0; i < vector.size(); ++i)
vector[i] = 2. * i;
Expand Down

0 comments on commit 5179c45

Please sign in to comment.