CUDA samples compile but throw errors on OS X 10.9

I recently upgraded to OS X Mavericks (10.9.2), Xcode 5.1, and CUDA 5.5 on my MacBookPro7,1. It has a GeForce 320M (compute capability 1.2).

At first, deviceQuery failed. But then after updating the NVIDIA CUDA driver to 5.5.47 (GPU driver version 8.24.11 310.90.9b01), deviceQuery passes.

Furthermore, I am able to compile without modification some of the CUDA samples successfully (I haven’t tried all).

However, cuBLAS and cuFFT are broken. For example the simpleCUBLAS sample errors out immediately with CUBLAS_STATUS_NOT_INITIALIZED on cublasCreate().

Has anyone run in this before and come across a fix? This was all previously working fine on OS X 10.7.8 and CUDA 5.0 on the very same machine.