See https://devblogs.nvidia.com/power-cpp11-cuda-7 for a great summary.
To use lambdas properly in the backend wrapper functions, the flag --expt-extended-lambda needs to be used and CUDA Toolkit has to be 7.5 or newer (see here).
The generic parallel lambda application function might look like
See https://devblogs.nvidia.com/power-cpp11-cuda-7 for a great summary. To use lambdas properly in the backend wrapper functions, the flag
--expt-extended-lambda
needs to be used and CUDA Toolkit has to be 7.5 or newer (see here).The generic parallel lambda application function might look like
and backend wrapper functions would look like
or