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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!