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

  • 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 281
9 GPU Computing
9-24
These rules have some implications. The most notable is that every output from a kernel
must necessarily also be an input to the kernel, since the input allows the user to define
the size of the output (which follows from being unable to allocate memory on the GPU).
CUDAKernel Object Properties
When you create a kernel object without a terminating semicolon, or when you type the
object variable at the command line, MATLAB displays the kernel object properties. For
example:
k = parallel.gpu.CUDAKernel('conv.ptx','conv.cu')
k =
parallel.gpu.CUDAKernel handle
Package: parallel.gpu
Properties:
ThreadBlockSize: [1 1 1]
MaxThreadsPerBlock: 512
GridSize: [1 1 1]
SharedMemorySize: 0
EntryPoint: '_Z8theEntryPf'
MaxNumLHSArguments: 1
NumRHSArguments: 2
ArgumentTypes: {'in single vector' 'inout single vector'}
The properties of a kernel object control some of its execution behavior. Use dot notation
to alter those properties that can be changed.
For a descriptions of the object properties, see the CUDAKernel object reference page. A
typical reason for modifying the settable properties is to specify the number of threads,
as described below.
Specify Entry Points
If your PTX file contains multiple entry points, you can identify the particular kernel in
myfun.ptx that you want the kernel object k to refer to:
k = parallel.gpu.CUDAKernel('myfun.ptx','myfun.cu','myKernel1');
A single PTX file can contain multiple entry points to different kernels. Each of these
entry points has a unique name. These names are generally mangled (as in C++
mangling). However, when generated by nvcc the PTX name always contains the
original function name from the CU file. For example, if the CU file defines the kernel
function as
Vista de pagina 281
1 2 ... 277 278 279 280 281 282 283 284 285 286 287 ... 655 656

Comentarios a estos manuales

Sin comentarios

Philips VR805 Handbücher

Bedienungsanleitungen und Benutzerhandbücher für CD Spieler Philips VR805.
Wir stellen PDF-Handbücher Philips VR805 zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung






Weitere Produkte und Handbücher für CD Spieler Philips

Modelle Dokumententyp
DVDQ40/022 Bedienungsanleitung    Philips DVDQ40/022 User's Manual, 26 Seiten
AZ382/12 Bedienungsanleitung   Philips AZ382/12 User's Manual, 2 Seiten
MZ1000 Bedienungsanleitung   Philips MZ1000 User's Manual, 25 Seiten
EXP4318 Bedienungsanleitung      Philips EXP4318 User's Manual, 82 Seiten
AZT3201 Bedienungsanleitung      Philips AZT3201 User's Manual, 10 Seiten
ACT 7585 Bedienungsanleitung      Philips ACT 7585 User's Manual, 65 Seiten
AZ3012/01 Bedienungsanleitung    Philips AZ3012/01 User's Manual, 8 Seiten
eXpanium EXP212 Bedienungsanleitung      Philips eXpanium EXP212 User's Manual, 2 Seiten
AZ 1565/00 Bedienungsanleitung       Philips AZ 1565/00 User's Manual, 63 Seiten
AZT3200 Bedienungsanleitung     Philips AZT3202/17 User manual, 14 Seiten
EXP2550/58 Bedienungsanleitung      Philips EXP2550/58 User manual, 2 Seiten
EXP3360 Bedienungsanleitung   Philips EXP3360 User's Manual, 12 Seiten
AZ7681 Bedienungsanleitung       Philips AZ7681 User's Manual, 132 Seiten
EXP220/01 Bedienungsanleitung   Philips EXP220/01 User manual, 5 Seiten
PORTABLE SPORT AUDIO PSA[CD Bedienungsanleitung      Philips PORTABLE SPORT AUDIO PSA[CD User's Manual, 14 Seiten
AX5311/17 Bedienungsanleitung   Philips AX5311/17 User manual, 13 Seiten
AZ7182 Bedienungsanleitung   Philips AZ7182 User's Manual, 2 Seiten
AZ2000/01 Bedienungsanleitung   Philips AZ2000/01 User's Manual, 11 Seiten
AX5301/00C Bedienungsanleitung   Philips AX5301/00C User's Manual, 2 Seiten
AZ 1145 Bedienungsanleitung      Philips AZ 1145 User's Manual, 53 Seiten