My problem is only existing in EmuDebug and EmuRelease (-deviceemu).
I have in some functions like below defined in a .cu file which are called from a .c file. The execution fail when arrive : CUDA_SAFE_CALL(cudaMallocâ€¦.
void* Gpu_mallocDevice(unsigned int uiSize)
CUDA_SAFE_CALL(cudaMalloc((void**) &utVariable, uiSize));