Skip to content

[Coverity][UR] Potentially throwing function is called from a destructor #20811

@AlexeySachkov

Description

@AlexeySachkov

You can find Coverity scan results at: https://scan.coverity.com/projects/intel-llvm?tab=overview

Reported as CID 519631:

~ur_context_handle_t_() {
UR_CHECK_ERROR(urAdapterRelease(ur::hip::adapter));
}

Uncaught exceptions here will cause std::terminate to be called which may be unexpected.

Metadata

Metadata

Assignees

Labels

CoveritybugSomething isn't workinghipIssues related to execution on HIP backend.unified-runtime

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions