[libomptarget-nvptx] reduction: Determine if runtime uninitialized
authorJonas Hahnfeld <hahnjo@hahnjo.de>
Mon, 1 Oct 2018 14:14:26 +0000 (14:14 +0000)
committerJonas Hahnfeld <hahnjo@hahnjo.de>
Mon, 1 Oct 2018 14:14:26 +0000 (14:14 +0000)
commita1100e6b9a61cb3ec39f423569ff8cabd680ffba
treec642739b9b0ad20ed181e9aa3f88ee7e91907d68
parentdf60b37226676246932f0ec58cd187a2f82e020f
[libomptarget-nvptx] reduction: Determine if runtime uninitialized

Pass in the correct value of isRuntimeUninitialized() which solves
parallel reductions as reported on the mailing list.
For reference: r333285 did the same for loop scheduling.

Differential Revision: https://reviews.llvm.org/D52725

llvm-svn: 343476
openmp/libomptarget/deviceRTLs/nvptx/src/reduction.cu