[PATCH] D24735: Triple: Add opencl environment type

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 20 05:04:36 PDT 2016


tstellarAMD added a comment.

In https://reviews.llvm.org/D24735#547257, @pekka.jaaskelainen wrote:

> Makes sense to me. How to differentiate between OpenCL implementations? With the OS setting?


I was thinking  the vendor field could be used for this.  So, for example, if pocl used the hsa runtime, the triple would be: amdgcn-pocl-amdhsa-opencl.


https://reviews.llvm.org/D24735





More information about the llvm-commits mailing list