forked from OSchip/llvm-project
[libomptarget] Remove stale omp handle
This was never used in the upstream compiler and was responsible for some problems with reductions in the clang-ykt fork. Differential Revision: https://reviews.llvm.org/D39553 llvm-svn: 317214
This commit is contained in:
parent
82bade615b
commit
238a6b7f09
|
@ -2200,9 +2200,6 @@ static int target(int32_t device_id, void *host_ptr, int32_t arg_num,
|
|||
tgt_args.push_back(TgtPtrBegin);
|
||||
tgt_offsets.push_back(TgtBaseOffset);
|
||||
}
|
||||
// Push omp handle.
|
||||
tgt_args.push_back((void *)0);
|
||||
tgt_offsets.push_back(0);
|
||||
|
||||
assert(tgt_args.size() == tgt_offsets.size() &&
|
||||
"Size mismatch in arguments and offsets");
|
||||
|
|
Loading…
Reference in New Issue