[libc-commits] [libc] [openmp] [libc] Change RPC interface to not use device ids (PR #87087)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Fri Mar 29 10:19:40 PDT 2024


================
@@ -1492,7 +1492,7 @@ Error GenericPluginTy::init() {
   GlobalHandler = createGlobalHandler();
   assert(GlobalHandler && "Invalid global handler");
 
-  RPCServer = new RPCServerTy(NumDevices);
+  RPCServer = new RPCServerTy();
   assert(RPCServer && "Invalid RPC server");
----------------
jhuber6 wrote:

This is just a sanity check in-line with the ones above it. I'm not really too concerned with whether or not `new` runs out of memory in a full build so it's not worth checking since it's not like we could handle it.

https://github.com/llvm/llvm-project/pull/87087


More information about the libc-commits mailing list