Consider the code posted by sgarizvi at
CUBLAS: Incorrect inversion for matrix with zero pivot
I'm using that code as an off-the-shelf reproducer of my problem.
If I compile it with CUDA 6.0, everything works fine. Opposite to that, if I compile it with CUDA 6.5 or CUDA 7.0 Release Candidate I receive:
Error 13 error C2664: 'cublasSgetriBatched' : cannot convert parameter 3 from 'float **' to 'const float *[]' C:\Users\user\Documents\Project\StackOverflow15\StackOverflow15\kernel.cu 70 1 StackOverflow15
Is it a bug or I'm doing anything bad?
My configuration: Windows 7, Microsoft Visual Studio 2010, Release Mode, x64, compute_20,sm_21.
EDIT
Following Robert Crovella's answer and Park Young-Bae's comment, the pointed example can be fixed to work with CUDA 6.5 or 7.0 by changing the line
cublascall(cublasSgetriBatched(handle,n,A_d,lda,P,C_d,lda,INFO,batchSize));
to
cublascall(cublasSgetriBatched(handle,n,(const float **)A_d,lda,P,C_d,lda,INFO,batchSize));