__device__ inline void s(int* a, int* b) { int tmp ; if (*a > *b) { tmp = *b ; *b = *a ; *a = tmp ; } }