GPGPU: Map initial schedule to GPU schedule
authorTobias Grosser <tobias@grosser.es>
Thu, 14 Jul 2016 10:51:52 +0000 (10:51 +0000)
committerTobias Grosser <tobias@grosser.es>
Thu, 14 Jul 2016 10:51:52 +0000 (10:51 +0000)
commitaef5196f75465ad2ee9a0ee3a4b537d069980174
treef1824771874e453caf83e51d80dcdf100c89a4a1
parent681bd5688faaf5b749287a19b120865a0ec732dc
GPGPU: Map initial schedule to GPU schedule

This change now applies ppcg's GPU mapping on our initial schedule. For this
to work, we need to also initialize the set of all names (isl_ids) used in
the scop as well as the program context.

llvm-svn: 275396
polly/lib/CodeGen/PPCGCodeGeneration.cpp
polly/lib/External/ppcg/gpu.c
polly/lib/External/ppcg/gpu.h
polly/test/GPGPU/double-parallel-loop.ll