Skip to content

Commit

Permalink
fix allocating hostChunkBuffers with wrong size
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Sep 21, 2020
1 parent 8bb30ea commit 3cc8769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/alpaka/asynccopy/asynccopy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ int main(int argc, char ** argv)
{
hostChunkBuffer.push_back(
alpaka::mem::buf::alloc<std::byte, std::size_t>(
devHost, devBufferSize));
devHost, hostBufferSize));
hostChunkView.push_back(
viewAlpakaBuffer(hostMapping, hostChunkBuffer.back()));

Expand Down

0 comments on commit 3cc8769

Please sign in to comment.