Revert "Push ctx to the stack as current"

This reverts commit bff8cbe950.
此提交包含在:
Paul committed 2020-02-11 12:34:10 -06:00
1 父節點 bff8cbe950
當前提交 e82e3c2339
1 file changed
+1 -1
+1 -1
查看文件
@@ -136,7 +136,7 @@ void run_multi_threads(uint32_t n) {
threads.emplace_back(std::thread{[&, i, buffer] {
hipCtx_t ctx;
HIPCHECK(hipDevicePrimaryCtxRetain(&ctx, device));
HIPCHECK(hipCtxPushCurrent(ctx));
mf[i] = load(buffer);
}});
}