nvmex vs. nvcc

I have a CUDA code compiled by nvcc and the same code (with mex modification) compiled as mex with nvmex. Surprisingly, the mex code runs faster than the exe file. Any idea why?

Answers (0)

Tags

Asked:

on 22 Dec 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!