Fix late-coming issues. (#1724)

Implementation for hipMemcpyWithStream.
Este commit está contenido en:
Alex Voicu authored and Maneesh Gupta committed 2019-12-23 19:11:24 +05:30
1 padre 32625638da
commit 150e690a3a
8 files changed
+473 -155

No files matched your search

+1 -8
Ver fichero
@@ -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;