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

  • 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 532
mxGPUCreateMxArrayOnGPU (C)
11-189
mxGPUCreateMxArrayOnGPU (C)
Create mxArray for returning GPU data to MATLAB
C Syntax
#include "gpu/mxGPUArray.h"
mxArray* mxGPUCreateMxArrayOnGPU(mxGPUArray const * const mgp)
Arguments
mgp
Pointer to an mxGPUArray.
Returns
Pointer to an mxArray object containing GPU data.
Description
mxGPUCreateMxArrayOnGPU puts the mxGPUArray into an mxArray for return
to MATLAB. The data remains on the GPU and the returned class in MATLAB is
gpuArray. After this call, the mxGPUArray object is no longer needed and can be
destroyed.
See Also
mxGPUCreateMxArrayOnCPU | mxGPUDestroyGPUArray
Zobrazit stránku 532
1 2 ... 528 529 530 531 532 533 534 535 536 537 538 ... 655 656

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

Žádné komentáře