MATLAB PARALLEL COMPUTING TOOLBOX - S Uživatelská příručka Strana 538

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 656
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 537
11 Functions — Alphabetical List
11-194
mxGPUGetDataReadOnly (C)
Read-only raw pointer to underlying data
C Syntax
#include "gpu/mxGPUArray.h"
void const* mxGPUGetDataReadOnly(mxGPUArray const * const mgp)
Arguments
mgp
Pointer to an mxGPUArray on the GPU. The target gpuArray must be full, not sparse.
Returns
Read-only pointer to data.
Description
mxGPUGetDataReadOnly returns a read-only raw pointer to the underlying data. Cast
it 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 | mxGPUGetData
Zobrazit stránku 537
1 2 ... 533 534 535 536 537 538 539 540 541 542 543 ... 655 656

Komentáře k této Příručce

Žádné komentáře