[PATCH] D32431: [Polly] Added OpenCL Runtime to GPURuntime Library for GPGPU CodeGen

Philipp Schaad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 09:34:40 PDT 2017


PhilippSchaad added a comment.

In https://reviews.llvm.org/D32431#736600, @Meinersbur wrote:

> I wrote a runtime with similar scope here: https://github.com/Meinersbur/prl . We were one discussing to use it for Polly as well. What's the status of that?


I have looked into it a tiny little bit about a month ago, but had then decided to write a basic OpenCL Runtime from scratch in GPUJIT. So to my knowledge, nothing has changed on that status **yet**.

Currently looking into the rest of your comment-mentioned points.



================
Comment at: lib/CodeGen/PPCGCodeGeneration.cpp:1562
+  else if (GPUNodeBuilder::Runtime == GPU_RUNTIME_OPENCL)
+    GPUModule->setTargetTriple(Triple::normalize("nvptx64-nvidia-nvcl"));
+
----------------
Meinersbur wrote:
> Is there some vendor-neutral triple?
Do you mean like `nvptx64-nvcl` / `nvptx64-cuda`?


https://reviews.llvm.org/D32431





More information about the llvm-commits mailing list