Code covered by the BSD License  

Highlights from
MATLAB for CUDA Programmers

image thumbnail

MATLAB for CUDA Programmers

by

 

02 Oct 2012 (Updated )

This is the code used during the MATLAB for CUDA Programmers webinar

buildNPPMexFileWin.m
% Copyright 2013 The MathWorks, Inc.
cudaMexPath = fullfile( matlabroot, '\toolbox\distcomp\gpu\extern\include' );
argumentList = ['-largeArrayDims -lnpp ' ...
	' -I' cudaMexPath ' computeMeanMEX.cpp computeMean.cpp'];
eval( ['mex ' argumentList] );

Contact us