I imagine there must be a way to tell nvmex to build with the emulator. If anyone knows how I’d appreciate that info.
Thanks,
Dave
I imagine there must be a way to tell nvmex to build with the emulator. If anyone knows how I’d appreciate that info.
Thanks,
Dave
I got emulation to work by mexing with cufftemu, but (using cublasemu) my program crashes whenever I call cublasSgemm using NVIDIA’s simpleCUBLAS demo patched into a MEX file. I compiled with -g so I can step through my mex file in MSVC.
If anyone has a demo calling cublas from a mex file I’d really appreciate it.
Thanks,
Dave
This should work, maybe timing should be done in a better way.
CUBLAS.rar (13.1 KB)
That works with the board, but when I build with cublasemu library it hangs on cublasSgemm.
mex gemm_cuda.c -IC:\CUDA\include -LC:\CUDA\lib -lcudart -lcublas
Works
mex gemm_cuda.c -IC:\CUDA\include -LC:\CUDA\lib -lcudart -lcublasemu
Hangs.
Am I missing something about compiling a mex file to work with the emulator?
Thanks,
Dave
xxx