CUDA Patterns

Wednesday | Friday
Parallel Patterns in CUDA

Reading

QtVis include headers are in /usr/local/stow/qtvis/include/qtvis/.

Examples updates

Let's fetch this week's upstream changes.

$ cd ~/cs40/examples
$ git fetch upstream
$ git merge -X ours upstream/master

After this step, you will need to manually edit the top level CMakeLists.txt to add the new subdirectory.

if(CMAKE_CUDA_COMPILER)
  add_subdirectory(w07-cuda-pt1)
  add_subdirectory(w07-cuda-pt2)
  #add this line inside the if/endif block
  add_subdirectory(w08-cuda-patterns)
endif()
The setup from Monday should still work, so just a simple make will build the new code samples.
cd ~/cs40/examples/build
make -j8
cd w07-cuda-pt2
./cudaDemos
./dot