Hi Michal,
For pocl:
../configure --with-hsa-runtime-dir=/opt/hsa
LLVM_CONFIG=/home/zwang3/workspace/dividend2/build/llvmhsail/bin/llvm-config
HSAILASM=/usr/local/bin/HSAILasm --disable-icd
for LLVM:
cmake .. -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=HSAIL -DBUILD_SHARED_LIBS=off
-DCMAKE_INSTALL_PREFIX=/home/zwang3/workspace/dividend2/build/llvmhsail
-DLLVM_ENABLE_RTTI=on -DLLVM_BUILD_LLVM_DYLIB=on -DLLVM_ENABLE_EH=ON
-DWITH_TARGET="AMDGPU;X86_64;HSAIL"
Cheers,
Zheng
On 21 January 2016 at 10:13, Michal Babej <[email protected]>
wrote:
> Hi,
>
> On Tue, 19 Jan 2016 23:47:21 +0000
> Zheng Wang <[email protected]> wrote:
>
> > undefined reference to `HSAIL_ASM::OperandOperandList::initBrig()'
> > /home/zwang3/workspace/dividend/pocl/build/lib/CL/.libs/libpocl.so:
>
> These symbols are from HSAIL-Tools which means your libpocl.so (or
> libllvm.so) is somehow built, but not linked to, either libHSAIL or
> HSAILasm. Neither of that should happen; your llvm should be built
> completely without libHSAIL. can you post the *exact* commands you used
> to configure llvm and pocl ?
>
> Cheers,
> -- mb
>
>
> ------------------------------------------------------------------------------
> 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