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

  • 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 536
mxGPUGetData (C)
11-193
mxGPUGetData (C)
Raw pointer to underlying data
C Syntax
#include "gpu/mxGPUArray.h"
void* mxGPUGetData(mxGPUArray const * const mgp)
Arguments
mgp
Pointer to an mxGPUArray on the GPU. The target gpuArray must be full, not sparse.
Returns
Pointer to data.
Description
mxGPUGetData returns a raw pointer to the underlying data. Cast this pointer
to the type of data that you want to use on the device. It is your responsibility to
check that the data inside the array has the appropriate type, for which you can use
mxGPUGetClassID.
See Also
mxGPUGetClassID | mxGPUGetDataReadOnly
Vista de pagina 536
1 2 ... 532 533 534 535 536 537 538 539 540 541 542 ... 655 656

Comentarios a estos manuales

Sin comentarios