MATLAB PARALLEL COMPUTING TOOLBOX - S Guida Utente Pagina 312

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 311
10 Objects — Alphabetical List
10-12
gpuArray
Array stored on GPU
Constructor
gpuArray converts an array in the MATLAB workspace into a gpuArray with elements
stored on the GPU device.
Also, the following create gpuArrays:
eye(___,'gpuArray') rand(___,'gpuArray')
false(___,'gpuArray') randi(___,'gpuArray')
Inf(___,'gpuArray') randn(___,'gpuArray')
NaN(___,'gpuArray') gpuArray.colon
ones(___,'gpuArray') gpuArray.freqspace
true(___,'gpuArray') gpuArray.linspace
zeros(___,'gpuArray') gpuArray.logspace
gpuArray.speye
For class specific help on the three methods with the gpuArray prefix, type
help gpuArray.methodname
where methodname is the name of the method. For example, to get help on colon, type
help gpuArray.colon
The following methods control the random number stream on the GPU:
parallel.gpu.RandStream
parallel.gpu.rng
Vedere la pagina 311
1 2 ... 307 308 309 310 311 312 313 314 315 316 317 ... 655 656

Commenti su questo manuale

Nessun commento