Home /
Expert Answers /
Computer Science /
i-feel-like-everyone-is-giving-different-answers-even-on-chegg-can-you-please-solve-this-i-get-40-pa429
(Solved): I feel like everyone is giving different answers even on Chegg. Can you please solve this? I get 40 ...
I feel like everyone is giving different answers even on Chegg. Can you please solve this? I get 40 cycles but others says 240 cycles.
7. (10pt) Assume that the following code is running on NVIDIA Tesla architecture. if (a<0)b=c+d; else if (a==0)b=c∗d; else b=c/d;// path1 // path2 // path3 Among a group of 32 threads called WARP, 10 threads follow path1, 10 threads follow path2, and 12 threads follow path3. Assume that path1 needs 5 cycles, path 2 needs 10 cycles, and path 3 needs 20 cycles. Compute the total cycles to run the 32 threads. Note that in Tesla, an SM has 8 SPs'.