[llvm] [offload] fix invalid symbol handling in l0 plugin (PR #189442)
Ćukasz Plewa via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 1 06:59:34 PDT 2026
================
@@ -556,8 +556,8 @@ Expected<void *> L0ProgramTy::getSymbolDeviceAddr(const char *CName) const {
if (RC == ZE_RESULT_SUCCESS && DevicePtr)
return DevicePtr;
}
- return Plugin::error(ErrorCode::INVALID_ARGUMENT,
- "Symbol '%s' not found on device", CName);
+ return Plugin::error(ErrorCode::NOT_FOUND, "Symbol '%s' not found on device",
----------------
lplewa wrote:
Tests are checking this error, and this is consistency issue between plugins.
https://github.com/llvm/llvm-project/pull/189442
More information about the llvm-commits
mailing list