cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

vancenyriad
Journeyman III

Runtime crash on APU when using HCC compiler

Ubuntu VERSION="16.04.1 LTS (Xenial Xerus)"

AMD A10-7860K Radeon R7, 12 Compute Cores 4C+8G

Attempting to compile and run the saxpy code found at:https://gist.github.com/scchan/540d410456e3e2682dbf018d3c179008 saved in a file called hcctestfile.cpp

Compiling using : hcc hcc-config --cxxflags --ldflags hcctestfile.cpp -o test && ./test

compiles successfully but when run produces: HCC STATUS_CHECK Error: HSA_STATUS_ERROR_INCOMPATIBLE_ARGUMENTS (0x100d) at file:/home/scchan/code/github/radeonopencompute/hcc.1.3/hcc/lib/hsa/mcwamp_hsa.cpp line:2504 Aborted (core dumped)

I have tried adding: --amdgpu-target=AMD:AMDGPU:7:0:1 or --amdgpu-target=AMD:AMDGPU:8:0:1

Same error

The code compiles and runs correctly on a different pc with a discrete gpu: Fiji [Radeon R9 FURY / NANO Series]

0 Likes
1 Reply
dipak
Big Boss

Hi,

Please use the below link to report your HCC related issue.

Issues · RadeonOpenCompute/hcc · GitHub

Regards,

0 Likes