MircoWerner / VkRadixSort

GPU Radix Sort implemented in Vulkan and GLSL.
MIT License
43 stars 4 forks source link

uint64_t array problem #4

Closed MouseChannel closed 7 months ago

MouseChannel commented 7 months ago

can I just change `

define BITS 32 // sorting uint32_t

define ITERATIONS 4

to

define BITS 64 // sorting uint64_t

define ITERATIONS 8

` but it did not work.

MircoWerner commented 7 months ago

Hi, the naming and the comment for the macro BITS were misleading/wrong. It must always be set to 32 regardless of whether uint32_t or uint64_t is sorted. I've removed the macro in the newest version on the main branch. With the newest version, you have to change the following for uint64_t : ff1359bec0e4dd7812c52556ff3d6b7ac371e120 (latest commit on example-uint64 branch) Hope this helps and works for you!

MouseChannel commented 7 months ago

works, thank you very much!!!