[Openmp-commits] [openmp] 08352b9 - [libomptarget][NFC] update comments.

Ye Luo via Openmp-commits openmp-commits at lists.llvm.org
Mon Sep 11 20:31:19 PDT 2023


Author: Ye Luo
Date: 2023-09-11T22:30:25-05:00
New Revision: 08352b99a43b2c111b8291bb49a502ccc98b55af

URL: https://github.com/llvm/llvm-project/commit/08352b99a43b2c111b8291bb49a502ccc98b55af
DIFF: https://github.com/llvm/llvm-project/commit/08352b99a43b2c111b8291bb49a502ccc98b55af.diff

LOG: [libomptarget][NFC] update comments.

Added: 
    

Modified: 
    openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
    openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp b/openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
index c49f9bd06d6313a..41c03c47ff53313 100644
--- a/openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
+++ b/openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
@@ -870,7 +870,7 @@ struct AMDGPUStreamTy {
       return Plugin::success();
     }
 
-    /// Schedule a release buffer action on the slot.
+    /// Schedule a signal release action on the slot.
     Error schedReleaseSignal(AMDGPUSignalTy *SignalToRelease,
                              AMDGPUSignalManagerTy *SignalManager) {
       ActionFunction = releaseSignalAction;

diff  --git a/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h b/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h
index 85727113b218652..4a9c223eefbcf62 100644
--- a/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h
+++ b/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h
@@ -1223,7 +1223,7 @@ template <typename ResourceRef> class GenericDeviceResourceManagerTy {
   }
 
   /// Get a resource from the pool or create new ones. If the function
-  /// succeeeds, the handle to the resource is saved in \p Handle.
+  /// succeeds, the handle to the resource is saved in \p Handle.
   virtual Error getResource(ResourceHandleTy &Handle) {
     // Get a resource with an empty resource processor.
     return getResourcesImpl(1, &Handle,
@@ -1231,7 +1231,7 @@ template <typename ResourceRef> class GenericDeviceResourceManagerTy {
   }
 
   /// Get multiple resources from the pool or create new ones. If the function
-  /// succeeeds, the handles to the resources are saved in \p Handles.
+  /// succeeds, the handles to the resources are saved in \p Handles.
   virtual Error getResources(uint32_t Num, ResourceHandleTy *Handles) {
     // Get resources with an empty resource processor.
     return getResourcesImpl(Num, Handles,
@@ -1247,7 +1247,7 @@ template <typename ResourceRef> class GenericDeviceResourceManagerTy {
 
 protected:
   /// Get multiple resources from the pool or create new ones. If the function
-  /// succeeeds, the handles to the resources are saved in \p Handles. Also
+  /// succeeds, the handles to the resources are saved in \p Handles. Also
   /// process each of the obtained resources with \p Processor.
   template <typename FuncTy>
   Error getResourcesImpl(uint32_t Num, ResourceHandleTy *Handles,


        


More information about the Openmp-commits mailing list