Revert "Push ctx to the stack as current"

This reverts commit 0fb72d9e7f.


[ROCm/hip commit: e82e3c2339]
Este commit está contenido en:
Paul
2020-02-11 12:34:10 -06:00
padre 0fb72d9e7f
commit f86740ff94
@@ -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);
}});
}