[all-commits] [llvm/llvm-project] 4213f4: [Libomptarget] Fix resizing the buffer of RPC handles
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Apr 1 05:30:28 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4213f4a9ae0ef70e02da9f40653b4e04eea00c74
https://github.com/llvm/llvm-project/commit/4213f4a9ae0ef70e02da9f40653b4e04eea00c74
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-04-01 (Mon, 01 Apr 2024)
Changed paths:
M openmp/libomptarget/plugins-nextgen/common/include/RPC.h
M openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp
M openmp/libomptarget/plugins-nextgen/common/src/RPC.cpp
Log Message:
-----------
[Libomptarget] Fix resizing the buffer of RPC handles
Summary:
The previous code would potentially make it smaller if a device with a
lower ID touched it later. Also we should minimize changes to the state
for multi threaded reasons. This just sets up an owned slot for each at
initialization time.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list