MATLAB PARALLEL COMPUTING TOOLBOX - S Guía de usuario Pagina 313

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 656
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 312
gpuArray
10-13
Description
A gpuArray object represents an array stored on the GPU. You can use the array for
direct calculations, or in CUDA kernels that execute on the GPU. You can return the
array to the MATLAB workspace with the gather function.
Methods
Other overloaded methods for a gpuArray object are too numerous to list here. Most
resemble and behave the same as built-in MATLAB functions. See “Run Built-In
Functions on a GPU ”.
Among the gpuArray methods there are several for examining the characteristics of a
gpuArray object. Most behave like the MATLAB functions of the same name:
Function Description
classUnderlying Class (data type) of the elements in the array
existsOnGPU Indication if array exists on the GPU and is accessible
isreal Indication if array elements are real
length Length of vector or largest array dimension
ndims Number of dimensions in the array
size Size of array dimensions
See Also
CUDAKernel, GPUDevice
Vista de pagina 312
1 2 ... 308 309 310 311 312 313 314 315 316 317 318 ... 655 656

Comentarios a estos manuales

Sin comentarios