I follow the instructions given here:
http://pocl.sourceforge.net/docs/html/hsa.html
But I constantly get some undefined reference errors when compile the test
cases:
Such as:
../../lib/CL/libOpenCL.so: undefined reference to
`llvm::Type::getScalarSizeInBits() const'
../../lib/CL/libOpenCL.so: undefined reference to
`llvm::ConstantDataArray::getString(llvm::LLVMContext&, llvm::StringRef,
bool)'
../../lib/CL/libOpenCL.so: undefined reference to
`llvm::StructType::create(llvm::StringRef, llvm::Type*, ...)'
../../lib/CL/libOpenCL.so: undefined reference to
`llvm::AttributeSet::get(llvm::LLVMContext&,
llvm::ArrayRef<llvm::AttributeSet>)'
It does not help if I add -lLLVM to link.txt for CMake.
I have spent two days on this and will appreciate if somebody can share
some light on this.
--
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