I am confused on how to pick the right numbers for my threads for a compute shader.

I am trying to implement an FFT algorithm on a float2 buffer which is 1024 elements in size. Does that mean i have to set my threads to something like

[32,32,1] so that i have 32*32 = 1024?

I am no expert on this stuff, its kinda confusing....hope someone can explain what numbers i should be aiming for here.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.