Skip to content

Commit

Permalink
[OpenMP][libomptarget] Improving plugin resource managers
Browse files Browse the repository at this point in the history
This patch improves the resource managers in the plugins by properly handling
the errors. Until now, errors when creating and destroying resources were not
propagated and were directly handled inside the resource managers. Now, all
errors are propagated as in the rest of the plugin infrastructure.

The code is now ready to implement the request/return of multiple resources in
a single getResource/returnResource call.

Differential Revision: https://reviews.llvm.org/D155621
  • Loading branch information
kevinsala committed Jul 27, 2023
1 parent 8b9a986 commit 53e4c7c
Show file tree
Hide file tree
Showing 3 changed files with 200 additions and 138 deletions.

0 comments on commit 53e4c7c

Please sign in to comment.