Quiz · 5 questions
🐜 Hello GPU Reinforced
Same hello kernel, deeper understanding — ant colonies, warps, divergence
Level 0Beginner
0 XP0/38 lessons0/12 achievements
0/100 XP to next level100 XP to go0% complete
Quiz
01How many threads are in a CUDA warp (and an Apple SIMD-group)?
Hint
Same number on NVIDIA and Apple.
02What is the global thread ID formula in CUDA?
Hint
Per-block thread count is the multiplier.
03Why might GPU thread
printf output appear out of order?Hint
Different blocks run on different SMs at different times.
04What happens during warp divergence?
Hint
Warp threads share one program counter — what happens when they want to do different things?
05Why does writing thread results into a buffer (instead of using GPU
printf) survive scaling?Hint
Who controls the read order: the GPU or the CPU?
Comments 0
🔔 Reply notifications (sign in)Sign in — Please sign in to comment.
No comments yet — be the first.