gpu_stack util migration to thread_local storage