This shows you the differences between two versions of the page.
|Both sides previous revision Previous revision Next revision||Previous revision|
2015-viennacl-nightly-benchmarks [2015/03/09 13:24]
viennastar link to Benchbot, elaborated on benefits for the student.
2015-viennacl-nightly-benchmarks [2015/03/24 20:48]
viennastar Added puzzle
|Line 18:||Line 18:|
|=== Primary Mentor ===||=== Primary Mentor ===|
|Karl Rupp||Karl Rupp|
|+||=== Puzzles ===|
|+||Download ViennaCL and write a C or C++ application that benchmarks the vector operation x = y + z for vectors x, y, z. Compare and comment on the obtained performance for vectors of sizes between 100 and 1000000. Start with comparing only a single-threaded execution, then add parallelism via OpenMP, and finally compare the performance using OpenCL. Plot the obtained results in a way that can be easily automized (e.g. by generating the plot directly from your application, or by using command line tools or script languages).|
|+||For OpenCL you may install the OpenCL SDK from AMD. ViennaCL will then pick up the best device available automatically. If you have an NVIDIA GPU in your system then OpenCL has most likely been installed with the driver already.|
|+||Contact rupp_AT_iue.tuwien.ac.at or stop by at the institute if you have questions. Submit the code, plots and a short discussion of the results with your application.|