Question: Test dgemm, dgemm_r, and dgemm with different loop ordering on the ASC cluster with n= 64, 128, 256, 512, 1024. Measure the time spend in
Test dgemm, dgemm_r, and dgemm with different loop ordering on the ASC cluster with n= 64, 128, 256, 512, 1024. Measure the time spend in the triple loop for each algorithm. Calculate the performance (in Gflops) of each algorithm. Performance is often defined as the number of floating-point operations performed per second. A performance of 1 GFLOPS means 1 billion of floating-point operations per second. Your test matrices have to be 64-bit double floating point random numbers. Report the maximum difference of all matrix elements between the results of each algorithm and that of dgemm. This maximum difference can be used as a way to check the correctness of your implementation.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
