Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Completați linia lipsă astfel încât fiecare thread să își calculeze indexul global.
int idx = gridDim.x * blockIdx.x + threadIdx.x;
int idx = blockIdx.x + threadIdx.x;
int idx = blockIdx.x * blockDim.x + threadIdx.x;
int idx = threadIdx.x;
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!