Skip to content

refine ep plugin c++ wrapper#23131

Merged
guyang3532 merged 1 commit intoleca/outOfTreeEPfrom
yangu/outoftreeEP
Dec 17, 2024
Merged

refine ep plugin c++ wrapper#23131
guyang3532 merged 1 commit intoleca/outOfTreeEPfrom
yangu/outoftreeEP

Conversation

@guyang3532
Copy link
Contributor

No description provided.

@guyang3532 guyang3532 merged commit dc6674b into leca/outOfTreeEP Dec 17, 2024
@guyang3532 guyang3532 deleted the yangu/outoftreeEP branch December 17, 2024 08:11

ORT_API_STATUS_IMPL(OrtGraphApis::OrtGraph_ReleaseGraphViewerArray, const OrtGraphViewer** graph_viewers, size_t num_graphs) {
for (size_t i = 0; i < num_graphs; i++) {
OrtGraph_ReleaseGraphViewer(graph_viewers[i], false);

Check warning

Code scanning / PREfast

Return value ignored: 'OrtGraphApis::OrtGraph_ReleaseGraphViewer'.

Return value ignored: 'OrtGraphApis::OrtGraph_ReleaseGraphViewer'.
for (size_t i = 0; i < num_graphs; i++) {
OrtGraph_ReleaseGraphViewer(graph_viewers[i], false);
}
delete[] graph_viewers;

Check warning

Code scanning / PREfast

Avoid calling new and delete explicitly, use std::make_unique<T> instead (r.11).

Avoid calling new and delete explicitly, use std::make_unique<T> instead (r.11).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant