a C++ cass called GpuOffloadContext, that has a boolean member m_wait_state, and another one with a vector of pointers. It's a thread_local singleton, when pushing a context, it will store the current m_wait value; when poping a context it will free all the pointers and restore the m_wait value. Use words with all capital letters to highlight key points, but make sure that words with all capital letters appear less than 19 times
user