This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
2015-viennacl-openmp [2015/03/09 13:20] viennastar Added hyperlinks |
2015-viennacl-openmp [2015/03/24 20:40] viennastar Added puzzle |
||
---|---|---|---|
Line 19: | Line 19: | ||
Karl Rupp | Karl Rupp | ||
+ | === Puzzles === | ||
+ | Write a C or C++ program using OpenMP which computes the dense matrix-matrix product B = A * A for a double-precision floating point square matrix A in row-major storage (i.e. the element [i,j] is located at i*N + j in the underlying array) as fast as possible. The size of A should be a command line parameter of your program. Plot the obtained performance for matrix sizes between 10 and 2000 in dependence of the number of threads and comment on the results. | ||
+ | |||
+ | Contact rupp_AT_iue.tuwien.ac.at or stop by at the institute if you have questions. Submit the code with your application. | ||