Multiple Choice
If variable a is host variable and dev_a is a device (GPU) variable, to allocate memory to dev_a select correct statement:
A) cudamalloc( &dev_a, sizeof( int ) )
B) malloc( &dev_a, sizeof( int ) )
C) cudamalloc( (void**) &dev_a, sizeof( int ) )
D) malloc( (void**) &dev_a, sizeof( int ) )
Correct Answer:

Verified
Correct Answer:
Verified
Q10: CUDA stands for --------, designed by NVIDIA.<br>A)common
Q11: If variable a is host variable and
Q12: The NVIDIA G80 is a ---- CUDA
Q13: Each streaming multiprocessor (SM) of CUDA herdware
Q14: Each NVIDIA GPU has ------ Streaming Multiprocessors<br>A)8<br>B)1024<br>C)512<br>D)16
Q16: Out-of-order instructions is not possible on GPUs.
Q17: In CUDA memory model there are following
Q18: CUDA Hardware programming model supports:<br>A. fully generally
Q19: A simple kernel for adding two integers:<br>_global_
Q20: IADD, IMUL24, IMAD24, IMIN, IMAX are -----------