Files
2026-08-29 10:55:28 -04:00

7.4 KiB
Raw Blame History

title, type, source, source_url, author, handle, post_id, date, archived, draft, tags, description, in_reply_to
title type source source_url author handle post_id date archived draft tags description in_reply_to
I’ve taken to using a simple interview question with folks. archive twitter https://x.com/AgileJebrim/status/2058420153348391346 Jebrim AgileJebrim 2058420153348391346 2026-05-24 2026-08-29 false
archive
twitter
AgileJebrim
I’ve taken to using a simple interview question with folks.

Source

Thread

1/ @AgileJebrim ^2058420153348391346

I’ve taken to using a simple interview question with folks. It’s surprising how much people seem to struggle with answering it.

Tell me how you would efficiently sum a large array of numbers on a GPU into a single accumulated value.

Don’t need to see code, just explain it conceptually in relation to the hardware.

Branches: archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-stikves-they-need-to-know-how-gpu-shaders-are-organized, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-noinodev-i-see-it-as-a-convolution-task-gather-per-thread, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-saladpalad-tree-reduction, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-brainage19-im-bored-so-im-gonna-give-this-question-a-good, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-atorstling-hierarchical-map-reduce, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-Gombally_-i-think-this-is-a-simple-example-of-look-how-much, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-Lotsoffoodinme-many-people-dont-write-code-that-touches-the-gpu, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-ourtown2-use-a-parallel-reduction-not-atomics-from-every, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-tomcr2100-mapreduce-simple-enough-answer, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-VMises76153-i-would-embarrass-myself-by-trying-to-answer, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-heartoneto2012-do-floor-warpsize-arraysize-sums-keep-using-the, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-dadbod2100-its-for-a-frontend-javascript-position-i-see, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-FUZxxl-they-asked-the-same-question-to-me-at-nvidia-its, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-gulbaru-i-am-not-knowlegable-enough-with-gpus-but-does, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-feikcel-divide-into-small-arrays-conquer-each-array-on-a, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-MikeTreit-this-is-an-idiotic-interview-question, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-Jason_Ewton-m-x-n-multipass-reduction, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-minusYCore-does-the-array-initally-exist-in-gpu-memory-or-cpu, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-fatroom-no-idea-about-gpu-programming-cpu-hints-towards, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-2Sexy4MyGPU-lots-and-lots-of-atomics, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-deleted_1m-what-kind-of-gpu, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-kechogarcia-easy-waveactivesum-then-lds-atomic-sum-then, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-miru_why-efficient-reductions-are-a-very-deep-rabbit-hole, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-braincell__-if-you-can-fit-qwen-3-6-into-your-gpu-just-load, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-Apolloknius-shrink-the-array-over-and-over-until-its-down-to, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-matt_timmermans-divide-up-the-available-memory-between-cores-each, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-steverockan-answering-blind-hierarchically-split-into-chunks, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-CodeAndTears-large-array-of-values-is-stored-in-float-double, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-Lord_KX_-then-make-them-build-it-in-minecraft-using-pre, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-jes5199-you-shouldnt-do-that-on-the-gpu-do-it-on-the, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-SpikyCaterpillr-i-have-no-meaningful-gpu-coding-experience-that, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-uvadin-i-had-this-problem-as-an-example-in-a-uni-class, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-ArcticDodger-add-up-all-the-columns-separately-give-each, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-MichalPiotrK-if-the-array-is-in-ram-do-it-sequentially-if-its, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-24-xlrndo-what-precision-are-the-numbers-integer-or, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-25-bmcnett-when-we-were-first-evaluating-compute-shaders-at, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-25-sandovin34721-i-have-no-idea-about-gpu-hardware-and-how-it, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-25-JesseStojan-using-a-hierarchical-structured-layers-on-device, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-25-DemetriSpanos-as-a-curious-bystander-can-you-give-a-rough-idea, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-25-Karyuutensei-nvidia-has-good-resources-on-this-https-developer, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-25-Waffl3x-use-openmp-target-region-map-the-memory-use, archive/threads/AgileJebrim/2026-05-24-ive-taken-to-using-a-simple-interview-question/2026-05-25-ParkerRedford-i-would-allocate-a-variable-in-vram-then