small fix for launching fewer than 64 threads on the GPU