Fix late-coming issues. (#1724)
Implementation for hipMemcpyWithStream.
This commit is contained in:
committed by
Maneesh Gupta
parent
32625638da
commit
150e690a3a
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user