SWDEV-216213 - Delete kernel function_ in hip::Function destructor
Change-Id: I0f6c44927f453ac63b5b84552a5fba07f04a8a8e
[ROCm/hip commit: 6bad7ef790]
이 커밋은 다음에 포함됨:
1 부모
c312f36eda
커밋
6a5c3ae908
1 파일이 변경됨
+1
일반 → 실행파일
+1
@@ -177,6 +177,7 @@ namespace hip {
|
||||
amd::Monitor lock_;
|
||||
|
||||
Function(amd::Kernel* f) : function_(f), lock_("function lock") {}
|
||||
~Function() { function_->release(); }
|
||||
hipFunction_t asHipFunction() { return reinterpret_cast<hipFunction_t>(this); }
|
||||
|
||||
static Function* asFunction(hipFunction_t f) { return reinterpret_cast<Function*>(f); }
|
||||
|
||||
새 이슈에서 참조
사용자 차단