Solved

A Simple Kernel for Adding Two Integers

Question 21

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents