And how would you make these two pieces of code talk to each other.
I am using Octave.
As far as I understand, I have to compile the .cu into a mex file before I can call the function matrixMulCUDA, but mkoctfile calls only the gcc compiler and .cu is not a valid extension.
How to I get nvcc into the mix?
Thank you.