MATLAB PARALLEL COMPUTING TOOLBOX - S Guide de l'utilisateur Page 544

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 656
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 543
11 Functions — Alphabetical List
11-200
mxGPUIsValidGPUData (C)
Determine if mxArray is pointer to valid GPU data
C Syntax
#include "gpu/mxGPUArray.h"
int mxGPUIsValidGPUData(mxArray const * const mp)
Arguments
mgp
Pointer to an mxArray.
Returns
int type.
Description
mxGPUIsValidGPUData indicates if the mxArray is a pointer to valid GPU data
If the GPU device is reinitialized in MATLAB with gpuDevice, all data on the device
becomes invalid, but the CPU data structures that refer to the GPU data still exist. This
function checks whether the mxArray is a container of valid GPU data, and returns one
of the following values:
0 (false) for CPU data or for invalid GPU data.
1 (true) for valid GPU data.
See Also
mxIsGPUArray
Vue de la page 543
1 2 ... 539 540 541 542 543 544 545 546 547 548 549 ... 655 656

Commentaires sur ces manuels

Pas de commentaire