A simple kernel for adding two integers:
__global__ void add( int *a, int *b, int *c ) { *c = *a + *b; }
Where __global__ is a CUDA C keyword which indicates that:
A) add() will execute on device, add() will be called from host
B) add() will execute on host, add() will be called from device
C) add() will be called and executed on host
D) add() will be called and executed on device
Correct Answer:
Verified
Q14: The host processor spawns multithread tasks (or
Q15: The NVIDIA G80 is a ---- CUDA
Q16: NVIDIA 8-series GPUs offer -------- .
A)50-200 gflops
B)200-400
Q17: IADD, IMUL24, IMAD24, IMIN, IMAX are -----------
Q18: CUDA Hardware programming model supports:
A. fully generally
Q19: In CUDA memory model there are following
Q20: What is the equivalent of general C
Q22: If variable a is host variable and
Q23: If variable a is host variable and
Q24: Triple angle brackets mark in a statement
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents