Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/8-portable-kernel-models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ Exercise
.. literalinclude:: examples/portable-kernel-models/alpaka-exercise-vectorAdd-cmake.txt
:language: cmake
:caption: CMakeLists.txt
:emphasize-lines: 12,19
:emphasize-lines: 17


Below we have the main alpaka code doing a vector addition on device using a high level transform function
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ FetchContent_Declare(alpaka3 GIT_REPOSITORY https://github.com/alpaka-group/alpa
#Make alpaka3 available for use in this project
#This downloads, configures, and makes the library targets available
FetchContent_MakeAvailable(alpaka3)
#Finalize the alpaka FetchContent setup
alpaka_FetchContent_Finalize()
#Create the executable target from the source file
add_executable(vectorAdd main.cpp)
#Link the alpaka library to the executable
Expand Down
Loading