cuda temporary memory alignment