SWDEV-444670 - Register the Runtime::tearDown function to be called at exit
Change-Id: I2200b8154ce6806bf99150d0d68f6f20138fa3dc
[ROCm/clr commit: 5e294f89a8]
이 커밋은 다음에 포함됨:
1 부모
79a57a6fc1
커밋
8392200773
2 파일이 변경됨
+11
-3
검색과 일치하는 파일 없음
@@ -120,4 +120,12 @@ uint ReferenceCountedObject::release() {
|
||||
return newCount;
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
void __attribute__((destructor)) hipTearDown() {
|
||||
if (amd::IS_HIP) {
|
||||
Runtime::tearDown();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
} // namespace amd
|
||||
새 이슈에서 참조
사용자 차단