/phsp2014

Supplementary tutorial sources for the Workshop Programming of Heterogeneous Systems in Physics in Jena

Primary LanguageC++

Simple vector addition and vector dot product applications.

CMake-assisted build instructions:

$> mkdir build
$> cd build
$ build> cmake ..

If you don't want to use CMake, try a direct compilation:

$ build> g++ ../src/vector_add.cpp -I../src -lOpenCL


Execute:

$ build> src/vector_add
$ build> src/vector_dot 


Contact Karl Rupp for questions: rupp@iue.tuwien.ac.at