This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
2015-viennacl-nightly-benchmarks [2015/03/10 09:06] viennastar Note on puzzles to be announced shortly |
2015-viennacl-nightly-benchmarks [2015/03/24 20:48] (current) viennastar Added puzzle |
||
---|---|---|---|
Line 21: | Line 21: | ||
=== Puzzles === | === Puzzles === | ||
- | Will be announced shortly. | + | 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. |