Context update.

- Remove tls_deviceID.
- Add first passing test.

Change-Id: If3e2f254abf589028cfe4f9e6369745f04160de0


[ROCm/clr commit: a9bcee3d77]
이 커밋은 다음에 포함됨:
Ben Sander
2016-08-09 15:37:19 -05:00
부모 f7c955104a
커밋 a4bfccf628
8개의 변경된 파일과 107개의 추가작업 그리고 64개의 파일을 삭제
+1 -1
파일 보기
@@ -51,7 +51,7 @@ hipError_t hipCtxCreate(hipCtx_t *ctx, unsigned int flags, hipDevice_t device)
hipError_t e = hipSuccess;
*ctx = new ihipCtx_t(device, g_deviceCnt, flags);
tls_defaultCtx = *ctx;
ihipSetTlsDefaultCtx(*ctx);
tls_ctxStack.push(*ctx);
return ihipLogStatus(e);