cublas problem

Hi all. Help me. I use cublas_v2 lib and cuda 4.1. In my programm, function cublaDestroy doesn’t work correctly, with she does not throw an message error. In particular, Device memory doesn’t get free.


#include <iostream>

#include <cublas_v2.h>

using namespace std;

int main()


cublasHandle_t handle;



return 1;


PS: I’m sorry for mistakes. My English is bad.

We are aware of a small GPU memory leak of 112 bytes in the CUBLAS handle : cublasDestroy does not free everyting properly.
It will be fixed in the next release.