Compile MEX-function for GPU computation
mexcuda
compiles
and links source files into a shared library called a MEX-file, executable
from within MATLAB. filenames
mexcuda
is an extension of
the MATLAB mex
function. It compiles MEX-files
written using the CUDA C++ framework with NVIDIA's nvcc
compiler,
allowing the files to define and launch GPU kernels. In addition,
it exposes the GPU MEX API to allow the MEX-file to read and write
gpuArrays.
mexcuda
builds
with the specified build options. The option1 ... optionN
filenames
option1 ... optionN
arguments
supplement or override the default mexcuda
build
configuration.