Skip to content
  • Siddharth Bhat's avatar
    [Polly] Added OpenCL Runtime to GPURuntime Library for GPGPU CodeGen · 51904ae3
    Siddharth Bhat authored
    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
    
    llvm-svn: 302215
    51904ae3
Loading