M

Mr. Dubey • 100.69K Points
Coach

Q. 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
Share

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics