Thanks Pekka.

One more question does POCL generate HSAIL or BRIG for HSA support?

It looks like that the implementation of hsail-stable-3.7 is not completed
and it gives an error when compiling the code:

In member function ‘void llvm::BRIGAsmPrinter::BrigEmitOperand(const
llvm::MachineInstr*, unsigned int, HSAIL_ASM::Inst)’:
HSAIL/BRIGAsmPrinter/BRIGAsmPrinter.cpp:1261:32: error: ‘getOperandType’ is
not a member of ‘HSAIL_ASM’

getOperandType is not declared in HSAIL_ASM (although an earlier version of
libHSAIL provides this method, but libHSAIL is not part of the build tree.

If POCL doesn't generate BRIG, I can simply comment out the code to build
the binary.

Cheers,
Zheng


On 19 January 2016 at 17:23, Pekka Jääskeläinen <[email protected]>
wrote:

> On 01/19/2016 05:54 PM, Zheng Wang wrote:
> > I wonder could I reads in an OpenCL code, translate it to LLVM IR, do
> > some optimization on the IR, and dump OpenCL code as output?
>
> No, there's no OpenCL backend in LLVM to my knowledge.
> At least not in upstream.
>
> --
> 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
>



-- 
Cheers,
Zheng
------------------------------------------------------------------------------
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