a workaround commit - still buggy gpusort.c