I've run into a strange issue with magma that I can't explain and I've never seen anything like it before. As best I can describe the issue is that if I write code that exclusively uses magma_dtrsm I get the correct result without issue however if I include any reference to other magma functions in the same code (even if the other magma function is not called) calls to magma_dtrsm result in a zero filled matrix.
To better illustrate this issue I've created a github gist (https://gist.github.com/2009450) with minimal sample code that exhibits this issue on my system. If I comment out the line containing magma_dpotrs_gpu I get the correct result from magma_dtrsm however if the line is left uncommented I get a zero filled matrix. In both cases the function containing the magma_dpotrs_gpu call is never called so I have no idea why this should affect the functionality of magma_dtrsm. Both v1 and v2 of cublasDtrsm function without issue in the exact same code. The issue is not unique to dpotrs as magma_dgetrs_gpu, magma_dgeqrs_gpu, and magma_dgesv_gpu also seem to cause the same issue (other functions may as well I have not tested more widely). This issue also appears to affect higher level functions that depend on dtrsm.
I am working on Ubuntu 11.10 with a Geforce GTX 460, nvidia drivers 295.20, magma 1.1, and atlas 3.8.4. If there is any other helpful information I have left out please let me know.
