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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started