summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorPhilipp Schaad <schaad.phil@gmail.com>2017-07-21 16:11:06 +0000
committerPhilipp Schaad <schaad.phil@gmail.com>2017-07-21 16:11:06 +0000
commit2f3073b5cb883cfeffb86cf582f8548734250620 (patch)
treea08c056a4a5d5c0fca66c3a753f286336828703d /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parent4403b2b668b5e31726aeb490dcf62f9955f62c68 (diff)
downloadbcm5719-llvm-2f3073b5cb883cfeffb86cf582f8548734250620.tar.gz
bcm5719-llvm-2f3073b5cb883cfeffb86cf582f8548734250620.zip
[Polly][GPGPU] Added SPIR Code Generation and Corresponding Runtime Support for Intel
Summary: Added SPIR Code Generation to the PPCG Code Generator. This can be invoked using the polly-gpu-arch flag value 'spir32' or 'spir64' for 32 and 64 bit code respectively. In addition to that, runtime support has been added to execute said SPIR code on Intel GPU's, where the system is equipped with Intel's open source driver Beignet (development version). This requires the cmake flag 'USE_INTEL_OCL' to be turned on, and the polly-gpu-runtime flag value to be 'libopencl'. The transformation of LLVM IR to SPIR is currently quite a hack, consisting in part of regex string transformations. Has been tested (working) with Polybench 3.2 on an Intel i7-5500U (integrated graphics chip). Reviewers: bollu, grosser, Meinersbur, singam-sanjay Reviewed By: grosser, singam-sanjay Subscribers: pollydev, nemanjai, mgorny, Anastasia, kbarton Tags: #polly Differential Revision: https://reviews.llvm.org/D35185 llvm-svn: 308751
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud