cublas function always return success

Hello,

I am running some cublas calculations in an Autodesk Maya plug-in. All of my cublas function calls return a success status code even when they shouldn’t. For example, I call cublasShutdown before cublasInit and it will return success. The documentation says it should return CUBLAS_STATUS_NOT_INITIALIZED. Also, I don’t seem to even have to call cublasInit. I can call cublasAlloc and cublasSgemv without calling cublasInit and it all still seems to work. Also, it allows me to call cublasAlloc with a size that’s too big and then the video card crashes. Shouldn’t it just fail and return me a CUBLAS_STATUS_ALLOC_FAILED code? I am using a Quadro FX 3800 and SDK 3.2 on Linux Centos. I also tried it with SDK 3.1.10.

Thanks,
Chad

The problem went away after I cleared out the intermediate object files and restarted.