PGI: Compile & Run

module load pgi
pgfortran -O2 -o CPU_Sgemm CPU_Sgemm.f90 -lblas
pgfortran -Mcuda -o GPU_Sgemm GPU_Sgemm.f90 -lcublas
 
How to run
/usr/bin/time ./CPU_Sgemm
/usr/bin/time ./GPU_Sgemm