#pragma once template struct is_same { static const bool value = false; }; template struct is_same { static const bool value = true; }; __device__ unsigned get_thread_local_id() { return threadIdx.x; }