Hi,

On 01/15/2016 07:56 PM, Zheng Wang wrote:
> I wonder could I use pocl to emit LLVM IR of an OpenCL kernel?

Yes, but you don't even need pocl for that. Clang and a header
with the OpenCL C built-in declarations should suffice.

pocl provides the OpenCL C built-in API implementations, runtime
implementation, and LLVM compiler passes that enhances performance
portability towards non-GPU, but if LLVM IR of the kernel description
is all you need, you might get by with Clang only.

-- 
Pekka

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to