Fix late-coming issues. (#1724)
Implementation for hipMemcpyWithStream.
This commit is contained in:
committato da
Maneesh Gupta
parent
7d6634ce9d
commit
75a11330aa
+1
-8
@@ -239,14 +239,7 @@ hipError_t ihipModuleLaunchKernel(TlsData *tls, hipFunction_t f, uint32_t global
|
||||
aql.header |= (1 << HSA_PACKET_HEADER_BARRIER);
|
||||
}
|
||||
|
||||
if (HCC_OPT_FLUSH) {
|
||||
aql.header |= (HSA_FENCE_SCOPE_AGENT << HSA_PACKET_HEADER_ACQUIRE_FENCE_SCOPE) |
|
||||
(HSA_FENCE_SCOPE_AGENT << HSA_PACKET_HEADER_RELEASE_FENCE_SCOPE);
|
||||
} else {
|
||||
aql.header |= (HSA_FENCE_SCOPE_SYSTEM << HSA_PACKET_HEADER_ACQUIRE_FENCE_SCOPE) |
|
||||
(HSA_FENCE_SCOPE_SYSTEM << HSA_PACKET_HEADER_RELEASE_FENCE_SCOPE);
|
||||
};
|
||||
|
||||
aql.header |= lp.launch_fence;
|
||||
|
||||
hc::completion_future cf;
|
||||
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user