SuccessChanges

Summary

  1. [Polly] Added OpenCL Runtime to GPURuntime Library for GPGPU CodeGen Summary: When compiling for GPU, one can now choose to compile for OpenCL or CUDA, with the corresponding polly-gpu-runtime flag (libopencl / libcudart). The GPURuntime library (GPUJIT) has been extended with the OpenCL Runtime library for that purpose, correctly choosing the corresponding library calls to the option chosen when compiling (via different initialization calls). Additionally, a specific GPU Target architecture can now be chosen with -polly-gpu-arch (only nvptx64 implemented thus far). Reviewers: grosser, bollu, Meinersbur, etherzhhb, singam-sanjay Reviewed By: grosser, Meinersbur Subscribers: singam-sanjay, llvm-commits, pollydev, nemanjai, mgorny, yaxunl, Anastasia Tags: #polly Differential Revision: https://reviews.llvm.org/D32431
Revision 302215 by bollu:
[Polly] Added OpenCL Runtime to GPURuntime Library for GPGPU CodeGen

Summary:
When compiling for GPU, one can now choose to compile for OpenCL or CUDA,
with the corresponding polly-gpu-runtime flag (libopencl / libcudart). The
GPURuntime library (GPUJIT) has been extended with the OpenCL Runtime library
for that purpose, correctly choosing the corresponding library calls to the
option chosen when compiling (via different initialization calls).

Additionally, a specific GPU Target architecture can now be chosen with -polly-gpu-arch (only nvptx64 implemented thus far).

Reviewers: grosser, bollu, Meinersbur, etherzhhb, singam-sanjay

Reviewed By: grosser, Meinersbur

Subscribers: singam-sanjay, llvm-commits, pollydev, nemanjai, mgorny, yaxunl, Anastasia

Tags: #polly

Differential Revision: https://reviews.llvm.org/D32431
Change TypePath in RepositoryPath in Workspace
The file was modified/polly/trunk/CMakeLists.txt (diff)llvm-revision.src/polly/trunk/CMakeLists.txt
The file was added/polly/trunk/include/polly/CodeGen/PPCGCodeGeneration.hllvm-revision.src/polly/trunk/include/polly/CodeGen/PPCGCodeGeneration.h
The file was modified/polly/trunk/include/polly/LinkAllPasses.h (diff)llvm-revision.src/polly/trunk/include/polly/LinkAllPasses.h
The file was modified/polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp (diff)llvm-revision.src/polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp
The file was modified/polly/trunk/lib/Support/RegisterPasses.cpp (diff)llvm-revision.src/polly/trunk/lib/Support/RegisterPasses.cpp
The file was modified/polly/trunk/test/GPGPU/cuda-managed-memory-simple.ll (diff)llvm-revision.src/polly/trunk/test/GPGPU/cuda-managed-memory-simple.ll
The file was modified/polly/trunk/test/GPGPU/size-cast.ll (diff)llvm-revision.src/polly/trunk/test/GPGPU/size-cast.ll
The file was modified/polly/trunk/tools/CMakeLists.txt (diff)llvm-revision.src/polly/trunk/tools/CMakeLists.txt
The file was modified/polly/trunk/tools/GPURuntime/GPUJIT.c (diff)llvm-revision.src/polly/trunk/tools/GPURuntime/GPUJIT.c
The file was modified/polly/trunk/tools/GPURuntime/GPUJIT.h (diff)llvm-revision.src/polly/trunk/tools/GPURuntime/GPUJIT.h