[llvm] [Offload] Implement the remaining initial Offload API (PR #122106)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 21 05:01:24 PST 2025
================
@@ -1088,26 +1089,33 @@ olEnqueueKernelLaunch_val(ol_queue_handle_t Queue, ol_kernel_handle_t Kernel,
return OL_ERRC_INVALID_NULL_HANDLE;
}
+ if (NULL == ArgumentsData) {
+ return OL_ERRC_INVALID_NULL_POINTER;
+ }
----------------
jhuber6 wrote:
```suggestion
if (!ArgumentsData)
return OL_ERRC_INVALID_NULL_POINTER;
```
https://github.com/llvm/llvm-project/pull/122106
More information about the llvm-commits
mailing list