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: (Solved)

1. add() will execute on device, add() will be called from host

2. add() will execute on host, add() will be called from device

3. add() will be called and executed on host

4. add() will be called and executed on device

  • a. add() will execute on device, add() will be called from host
Subscribe Now

Get All Updates & News