I think that the problem must lie somewhere outside dgetrf and the magmablas_dtrsm but somehow feeds that routine information which causes a crash. I can see no other explanation for the following two consecutive runs.
testing_dgetrf with dgetrf using magmablas_dtrsm.
The first run is fine except for the last size and the second one collapses immediately. I don't know what argument 7 of dtrsm is as it has 6 arguments. This must be a hidden argument of some sort.
Code: Select all
fletcher@fletcher-desktop:~/magma_1.0.0-rc3/testing$ ./testing_dgetrf
device 0: GeForce GTX 460, 1400.0 MHz clock, 2047.2 MB memory
Usage:
testing_dgetrf -M 1024 -N 1024
M N CPU GFlop/s GPU GFlop/s ||PA-LU||/(||A||*N)
============================================================
magma dgetrf block size is 64 (magmablas_dtrsm)
1024 1024 22.35 22.17 4.223855e-18
magma dgetrf block size is 64 (magmablas_dtrsm)
2048 2048 24.40 42.54 3.579287e-18
magma dgetrf block size is 192 (magmablas_dtrsm)
3072 3072 25.31 56.89 4.001358e-18
magma dgetrf block size is 192 (magmablas_dtrsm)
4032 4032 26.27 60.96 3.816939e-18
magma dgetrf block size is 192 (magmablas_dtrsm)
5184 5184 26.12 64.34 3.612047e-18
magma dgetrf block size is 192 (magmablas_dtrsm)
6016 6016 26.01 65.92 3.492312e-18
magma dgetrf block size is 192 (magmablas_dtrsm)
7040 7040 25.73 67.28 3.401059e-18
magma dgetrf block size is 192 (magmablas_dtrsm)
8064 8064 26.39 68.07 3.306196e-18
magma dgetrf block size is 192 (magmablas_dtrsm)
9088 9088 26.06 68.94 3.232232e-18
magma dgetrf block size is 192 (magmablas_dtrsm)
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
.......................
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
10112 10112 25.94 449.60 nan
fletcher@fletcher-desktop:~/magma_1.0.0-rc3/testing$ ./testing_dgetrf
device 0: GeForce GTX 460, 1400.0 MHz clock, 2047.2 MB memory
Usage:
testing_dgetrf -M 1024 -N 1024
M N CPU GFlop/s GPU GFlop/s ||PA-LU||/(||A||*N)
============================================================
magma dgetrf block size is 64 (magmablas_dtrsm)
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
.......................
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
can not bind to texture
1024 1024 22.36 41.14 nan
magma dgetrf block size is 64 (magmablas_dtrsm)
Argument 7 of dgetrf had an illegal value.
2048 2048 24.25 212019.54 1.766772e-01
magma dgetrf block size is 192 (magmablas_dtrsm)
Argument 7 of dgetrf had an illegal value.
3072 3072 25.99 715653.21 1.767735e-01
^C
Code: Select all
fletcher@fletcher-desktop:~/magma_1.0.0-rc3/testing$ ./testing_dgetrf
device 0: GeForce GTX 460, 1400.0 MHz clock, 2047.2 MB memory
Usage:
testing_dgetrf -M 1024 -N 1024
M N CPU GFlop/s GPU GFlop/s ||PA-LU||/(||A||*N)
============================================================
magma dgetrf block size is 64 (cublasDtrsm)
1024 1024 19.44 34.98 3.369805e-18
magma dgetrf block size is 64 (cublasDtrsm)
2048 2048 24.96 50.17 3.229419e-18
magma dgetrf block size is 192 (cublasDtrsm)
3072 3072 26.11 57.79 3.173348e-18
magma dgetrf block size is 192 (cublasDtrsm)
4032 4032 26.96 61.80 3.168013e-18
magma dgetrf block size is 192 (cublasDtrsm)
5184 5184 26.18 64.73 3.109895e-18
magma dgetrf block size is 192 (cublasDtrsm)
6016 6016 26.44 66.13 3.064536e-18
magma dgetrf block size is 192 (cublasDtrsm)
7040 7040 27.14 67.39 3.054525e-18
magma dgetrf block size is 192 (cublasDtrsm)
8064 8064 27.01 68.06 3.002549e-18
magma dgetrf block size is 192 (cublasDtrsm)
9088 9088 26.82 68.88 2.970820e-18
magma dgetrf block size is 192 (cublasDtrsm)
10112 10112 26.75 69.38 2.972023e-18
John