This topic explains how to create an executable kernel from CU or PTX (parallel thread execution) files, and run that kernel on a GPU from MATLAB®.
Run MEX-Functions Containing CUDA Code
As with any MEX-files, those containing CUDA® code have a single entry point, known as
mexFunction
.