[llvm] [Offload] Allow setting null arguments in olLaunchKernel (PR #141958)
Ross Brunton via llvm-commits
llvm-commits at lists.llvm.org
Fri May 30 01:44:30 PDT 2025
================
@@ -838,6 +838,12 @@ olLaunchKernel_val(ol_queue_handle_t Queue, ol_device_handle_t Device,
"validation failure: Queue == NULL && EventOut != NULL");
}
+ if (ArgumentsSize > 0 && ArgumentsData == NULL) {
+ return createOffloadError(
----------------
RossBrunton wrote:
What do you mean? This check is autogenerated from the spec.
https://github.com/llvm/llvm-project/pull/141958
More information about the llvm-commits
mailing list