5 ms·
I'm curious how a gpu language's syntax design can be different from CUDA kernel? Because I think there is no way to avoid concepts like thread_id. I'm curiou
by billconan 7mo ago
I'm curious how a gpu language's syntax design can be different from CUDA kernel?
Because I think there is no way to avoid concepts like thread_id.
I'm curious how GPU programming can be made (a lot) simpler than CUDA.
- mr_octopus 7mo agoMost GPU work boils down to a few patterns — map, reduce, scan. Each one has a known way to assign threads. So instead of writing a kernel with thread_id: let c = gpu_add(a, b) let total = gpu_sum(c) The thread indexing is still there — just handled by the runtime, like how Python hides pointer math.