Open wangzy0327 opened 1 year ago
how to correctly execute code in MI100 with compile option gfx906 instead of gfx908?
This is not possible, you have to specify the correct architecture for your hardware, this also fails with hipcc
, for example with a gfx908 GPU I get:
$ hipcc -std=c++14 -Wall -O3 --offload-arch=gfx906 main.cu -o main
$ ./main
$ "hipErrorNoBinaryForGpu: Unable to find code object for all current devices!"
Describe the bug "hipErrorNoBinaryForGpu: Unable to find code object for all current devices!" Abort(core dumped)
how to correctly execute code in MI100 with compile option gfx906 instead of gfx908?
To Reproduce
compile 2022-09 version sycl-hip refer to sycl-compile
Environment (please complete the following information):
There is a simple test code.
Additional context Add any other context about the problem here.