First, the result does not show the error. Following is the result:
- Code: Select all
./testing_sgehrd -N 6000
MAGMA 1.3.0
device 0: GeForce 405, 1402.0 MHz clock, 511.6 MB memory, capability 1.2
testing_sgehrd -N 6000
N CPU GFlop/s GPU GFlop/s |A-QHQ'|/N|A| |I-QQ'|/N
=============================================================
6000 26.44 9.56
Next, I go to see the cpp file, and find such sentence:
checkres = getenv("MAGMA_TESTINGS_CHECK") != NULL;
I think checkres get an unproper value, which cause the following step wrong.
- Code: Select all
if ( checkres ) {
printf("%5d %6.2f %6.2f %e %e\n",
(int) N, cpu_perf, gpu_perf,
result[0]*eps, result[1]*eps );
} else {
printf("%5d %6.2f %6.2f\n",
(int) N, cpu_perf, gpu_perf );
}
Since the result comes out incompletely, then I wonder whether the computing progress goes wrong. I see 4 points using checkres as judging standard.
Finally, I want to know whether this program can be debuged by GDB.
Thank you for helping!