This appears to be the same error Dan mentioned previously, where you are
using gcc instead of hipcc.  Did you try applying the fix he suggested
there?

Having said that, the first few lines appear to be making square already,
so I'm not sure why you are trying to make it again?

Matt

On Tue, Sep 1, 2020 at 3:13 AM Samaksh Sethi via gem5-users <
[email protected]> wrote:

> Hi Matt,
> I had originally sent that message before the changes were implemented,
> so, now the "make" command seems to work (I'm not completely sure from the
> output) but "make square" is still stuck where it was before (As previously
> posted before at
> https://www.mail-archive.com/[email protected]/msg18296.html)
>
> $ docker run -it -v $PWD/gem5-resources:/gem5-resources -v $PWD/gem5:/gem5
> -w /gem5-resources/src/square gcn-gpu bash
> root@8ea50cb89263:/gem5-resources/src/square# make
> mkdir -p ./bin
> /opt/rocm/hip/bin/hipcc --amdgpu-target=gfx801  square.cpp -o
> ./bin/square.o
> objdump: './bin/square.o': No such file
> root@8ea50cb89263:/gem5-resources/src/square# make
> make: Nothing to be done for 'gfx8-apu'.
> root@8ea50cb89263:/gem5-resources/src/square# make square
> g++     square.cpp   -o square
> square.cpp:24:29: fatal error: hip/hip_runtime.h: No such file or directory
> compilation terminated.
> <builtin>: recipe for target 'square' failed
> make: *** [square] Error 1
>
> I can't find hip_runtime.h file manually too, so I think that might be
> missing from the repository
>
> Thanks,
> Samaksh
> _______________________________________________
> gem5-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to