Skip to content

Commit f0de2f4

Browse files
authored
Merge pull request #943 from hdelan/re-add-extended-deleters
[HIP] Re add extended deleters
2 parents 1f149fb + 496d694 commit f0de2f4

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

source/adapters/hip/context.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ urContextGetInfo(ur_context_handle_t hContext, ur_context_info_t propName,
108108
UR_APIEXPORT ur_result_t UR_APICALL
109109
urContextRelease(ur_context_handle_t hContext) {
110110
if (hContext->decrementReferenceCount() == 0) {
111+
hContext->invokeExtendedDeleters();
111112
delete hContext;
112113
}
113114
return UR_RESULT_SUCCESS;
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
urContextCreateWithNativeHandleTest.Success/AMD_HIP_BACKEND___{{.*}}_
2-
urContextSetExtendedDeleterTest.Success/AMD_HIP_BACKEND___{{.*}}_

0 commit comments

Comments
 (0)