[Openmp-commits] [libc] [openmp] [libc] Change RPC interface to not use device ids (PR #87087)
Shilei Tian via Openmp-commits
openmp-commits at lists.llvm.org
Fri Mar 29 10:23:24 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");
----------------
shiltian wrote:
If we assume later that this pointer will not be null, then we really should take care of it here; otherwise we don't need the check here.
https://github.com/llvm/llvm-project/pull/87087
More information about the Openmp-commits
mailing list