Usar sbatch para poder compilar e testar o codigo
Matriz 1024x1024
Wall clock time = micro segundos (10^-6)
-O0 :
Teve 8x mais instruções que a matriz de 512
CPI = 0.7
CPE = 31865.4
Texec = 12.9
-O2 :
Wall clock time: 8447244 usecs
PAPI_TOT_CYC = 26140614907
PAPI_TOT_INS = 9672080940
CPI = 2.7
CPE = 24929.6
Texec = 10.1
Matriz 512x512
-O0 :
Teve 8x mais instruções que a matriz de 256
CPI = 0.6
CPE = 14620.2
Texec = 1.5
-O2 :
Wall clock time: 911817 usecs
PAPI_TOT_CYC = 2729230189
PAPI_TOT_INS = 1210061500
CPI = 2.3
CPE = 10411.2
Texec = 1.0
Matriz 256x256
-O0 :
CPI = 0.5
CPE = 5741.5v
Texec = 0.1
-O2 :
Wall clock time: 48833 usecs
PAPI_TOT_CYC = 150800506
PAPI_TOT_INS = 151521372
CPI = 1.0
CPE = 2301.0
Texec = 0.1
gemm.c
my.papi.c
Makefile