[Openmp-commits] [openmp] r317214 - [libomptarget] Remove stale omp handle

Jonas Hahnfeld via Openmp-commits openmp-commits at lists.llvm.org
Thu Nov 2 08:59:51 PDT 2017


Author: hahnfeld
Date: Thu Nov  2 08:59:51 2017
New Revision: 317214

URL: http://llvm.org/viewvc/llvm-project?rev=317214&view=rev
Log:
[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

Modified:
    openmp/trunk/libomptarget/src/omptarget.cpp

Modified: openmp/trunk/libomptarget/src/omptarget.cpp
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/libomptarget/src/omptarget.cpp?rev=317214&r1=317213&r2=317214&view=diff
==============================================================================
--- openmp/trunk/libomptarget/src/omptarget.cpp (original)
+++ openmp/trunk/libomptarget/src/omptarget.cpp Thu Nov  2 08:59:51 2017
@@ -2200,9 +2200,6 @@ static int target(int32_t device_id, voi
     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");




More information about the Openmp-commits mailing list