3e84cf4aba
1) hipSetDevice sets a flag so that next call to hipCtxGetCurrent returns primary context on current device 2) hipCtxGetCurrent returns primary context on current device if TLS context stack is empty 3) hipCtxPopCurrent falls back to primary context on current device as default 4) hipCtxPushCurrent, hipCtxSetCurrent and hipCtxCreate reset the flag set in hipSetDevice