parallel.gpu.CUDAKernel
Create GPU CUDA kernel object from PTX and CU code
Syntax
Description
creates a kern
= parallel.gpu.CUDAKernel(ptxFile
,cuFile
)CUDAKernel
object using the PTX code
ptxFile
and the CUDA® source file cuFile
. The PTX file must contain only a
single entry point.
Use kern
to execute a CUDA kernel on the GPU. For information on executing your kernel object, see Run a CUDAKernel.
Examples
Input Arguments
Version History
Introduced in R2010b
See Also
arrayfun
| existsOnGPU
| feval
| gpuArray
| reset
| CUDAKernel