pragma now works, extra space removed.
Latest MAGMA (v1.4.1) uploaded, it works with CUDA 5.x and CUDA 6.0. Minor changes in the configure.