[all-commits] [llvm/llvm-project] 53e4c7: [OpenMP][libomptarget] Improving plugin resource m...
Kevin Sala Penadés via All-commits
all-commits at lists.llvm.org
Thu Jul 27 15:39:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 53e4c7c30936564b71fe7f581691fe8356eafeda
https://github.com/llvm/llvm-project/commit/53e4c7c30936564b71fe7f581691fe8356eafeda
Author: Kevin Sala <kevin.sala at bsc.es>
Date: 2023-07-28 (Fri, 28 Jul 2023)
Changed paths:
M openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h
M openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
Log Message:
-----------
[OpenMP][libomptarget] Improving plugin resource managers
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
Commit: 523ac0fcdf7f37a25d646894fbed03d8611f66c2
https://github.com/llvm/llvm-project/commit/523ac0fcdf7f37a25d646894fbed03d8611f66c2
Author: Kevin Sala <kevin.sala at bsc.es>
Date: 2023-07-28 (Fri, 28 Jul 2023)
Changed paths:
M openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h
Log Message:
-----------
[OpenMP][libomptarget] Retrieve multiple resources from resource managers
This patch extends the plugin resource managers to return more than one resource
per call. The return function is not extended since we do not return more than
one resource anywhere.
Differential Revision: https://reviews.llvm.org/D155629
Commit: 7b2745b424beb684ea084f3ced374b7fc4f68c9e
https://github.com/llvm/llvm-project/commit/7b2745b424beb684ea084f3ced374b7fc4f68c9e
Author: Kevin Sala <kevin.sala at bsc.es>
Date: 2023-07-28 (Fri, 28 Jul 2023)
Changed paths:
M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h
Log Message:
-----------
[OpenMP][libomptarget] Process resources when getting/returning from managers
This patch adds the functionality to process with a lambda the resources
obtained and returned by the resource managers in the plugins. These
processing lambdas are empty for the moment. The idea is to process them
when the resource manager mutex is acquired.
Differential Revision: https://reviews.llvm.org/D156245
Compare: https://github.com/llvm/llvm-project/compare/8b9a98661b78...7b2745b424be
More information about the All-commits
mailing list