[all-commits] [llvm/llvm-project] 3820d0: [OpenMP][FIX] Runtime args are not kernel args
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Sat Jan 21 13:46:28 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3820d0eaaf4ecb557cbb260e34bf5a9eeb51e0e7
https://github.com/llvm/llvm-project/commit/3820d0eaaf4ecb557cbb260e34bf5a9eeb51e0e7
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2023-01-21 (Sat, 21 Jan 2023)
Changed paths:
M openmp/libomptarget/include/omptarget.h
M openmp/libomptarget/src/omptarget.cpp
M openmp/libomptarget/src/private.h
Log Message:
-----------
[OpenMP][FIX] Runtime args are not kernel args
Clang passes `KernelArgs.NumArgs` to the runtime but not all are kernel
arguments. This ensures we fallback to the old logic. In a follow up we
should introduce a new `KernelArgs.NumKernelArgs` field and set it in
the runtime.
More information about the All-commits
mailing list