[HIP] add support for NoPreSync/NoPostSync flags for Cooperative MultiDevice launch API (#1990)

此提交包含在:
Aryan Salmanpour authored and GitHub committed 2020-04-13 14:02:52 +05:30
1 父節點 5f1420a229
當前提交 cf8589b8c8
4 file changed
+66 -37

No files matched your search

+7 -1
查看文件
@@ -263,7 +263,13 @@ ihipStream_t::ihipStream_t(ihipCtx_t* ctx, hc::accelerator_view av, unsigned int
//---
ihipStream_t::~ihipStream_t() {}
ihipStream_t::~ihipStream_t() {
GET_TLS();
for (auto mem : coopMemsTracker) {
hip_internal::ihipHostFree(tls, mem->mgs);
hip_internal::ihipHostFree(tls, mem);
}
}
hc::hcWaitMode ihipStream_t::waitMode() const {