[HIP] add support for NoPreSync/NoPostSync flags for Cooperative MultiDevice launch API (#1990)
此提交包含在:
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 {
|
||||
|
||||
Reference in new issue
封鎖使用者