summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
diff options
context:
space:
mode:
authorSiddharth Bhat <siddu.druid@gmail.com>2017-08-02 12:23:22 +0000
committerSiddharth Bhat <siddu.druid@gmail.com>2017-08-02 12:23:22 +0000
commitf23bb4a8ba9e0e30a954d52175845e21833dfa37 (patch)
treeb22fc26ea482f5ca6375966a456b30e38243e87b /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
parentead67dbbd6dcfa058f572382f641225b7e9ee35c (diff)
downloadbcm5719-llvm-f23bb4a8ba9e0e30a954d52175845e21833dfa37.tar.gz
bcm5719-llvm-f23bb4a8ba9e0e30a954d52175845e21833dfa37.zip
[GPUJIT] Add GPUJIT APIs for allocating and freeing managed memory.
We introduce `polly_mallocManaged` and `polly_freeManaged` as proxies for `cudaMallocManaged` / `cudaFree`. This is currently not used by Polly. It is auxiliary code that is used in `COSMO`. This is useful because `polly_mallocManaged` matches the signature of `malloc`, while `cudaMallocManaged` does not. We introduce `polly_freeManaged` for symmetry. We use this in COSMO to use the unified memory feature of the newer CUDA APIs (>= 6). Differential Revision: https://reviews.llvm.org/D35991 llvm-svn: 309808
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud