Q. What makes a CUDA code runs in parallel (Solved)

1. __global__ indicates parallel execution of code

2. main() function indicates parallel execution of code

3. kernel name outside triple angle bracket indicates excecution of kernel n times in parallel

4. first parameter value inside triple angle bracket (n) indicates excecution of kernel n times in parallel

  • d. first parameter value inside triple angle bracket (n) indicates excecution of kernel n times in parallel
Subscribe Now

Get All Updates & News