Skip to content

Minimal working example of a strided copy from host to device memory utiliying the alpaka library.

License

Notifications You must be signed in to change notification settings

kloppstock/alpaka_strided_copy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alpaka_strided_copy

Minimal working example of a strided copy from host to device memory utiliying the alpaka library.

In combination with the NVidia profiler, this reveals the copy speed from host to device memory if the data is contiguos in memory but only every other chunk should be copied.

Requirements

  • alpaka 0.4 or higher
  • Boost 1.65.1 or higher (dependency of alpaka)
  • CUDA 9 or higher

Build

mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make

Run with: ./alpaka_strided_copy

About

Minimal working example of a strided copy from host to device memory utiliying the alpaka library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published