Hand-tweak generated bitonic code
Use device global memory when possible