Revert "Push ctx to the stack as current"
This reverts commitc1b707ff63. [ROCm/clr commit:cd279cd574]
Αυτή η υποβολή περιλαμβάνεται σε:
+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);
|
||||
}});
|
||||
}
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user