ROCm / AMDMIGraphX

AMD's graph optimization engine.
https://rocm.docs.amd.com/projects/AMDMIGraphX/en/latest/
MIT License
183 stars 84 forks source link

Build from very new commit version of AMDMIGraphX and run some program will cause severe errors #2113

Open terU3760 opened 1 year ago

terU3760 commented 1 year ago

Factually installed AMDMIGraphX by building from source in the docker by the following commands in the Dockerfile:

RUN git clone -b develop https://github.com/ROCmSoftwarePlatform/AMDMIGraphX.git && \
    cd AMDMIGraphX && \
    git checkout ea32ca702b1d81ea3bf7bebb8fcd3c897f61df5d && \
    rbuild build -d depend -B build --cxx=/opt/rocm/llvm/bin/clang++ && \
    cd build && make package && dpkg -i *.deb

and also installed some other softwares. When running some program, it shows the following severe errors:

In file included from <built-in>:1:
/tmp/comgr-672545/include/hiprtc_runtime.h:1:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h"
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:1:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "<built-in>" 1
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:5:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_runtime.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:6:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_fp16.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:7:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_bfloat16.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:33:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define _HIP_BFLOAT16_H_
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:59:35: error: identifier '__hip_ds_bpermute' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_bpermute(int index, unsigned src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:65:32: error: identifier '__hip_ds_bpermutef' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_bpermutef(int index, float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:71:35: error: identifier '__hip_ds_permute' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_permute(int index, unsigned src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:77:32: error: identifier '__hip_ds_permutef' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_permutef(int index, float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:83:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_ds_swizzle(src, pattern)  __hip_ds_swizzle_N<(pattern)>((src))
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:84:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_ds_swizzlef(src, pattern) __hip_ds_swizzlef_N<(pattern)>((src))
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:87:35: error: identifier '__hip_ds_swizzle_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_swizzle_N(unsigned int src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:94:32: error: identifier '__hip_ds_swizzlef_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_swizzlef_N(float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:100:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_move_dpp(src, dpp_ctrl, row_mask, bank_mask, bound_ctrl) \
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:104:30: error: identifier '__hip_move_dpp_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline int __hip_move_dpp_N(int src) {
                             ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:113:5: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
int __shfl(int var, int src_lane, int width = warpSize) {
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:120:14: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
unsigned int __shfl(unsigned int var, int src_lane, int width = warpSize) {
             ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:127:7: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
float __shfl(float var, int src_lane, int width = warpSize) {
      ^
......
......
......
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated when compiling for gfx90a.

In file included from <built-in>:1:
/tmp/comgr-b7a327/include/hiprtc_runtime.h:1:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h"
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:1:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "<built-in>" 1
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:5:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_runtime.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:6:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_fp16.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:7:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_bfloat16.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:33:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define _HIP_BFLOAT16_H_
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:59:35: error: identifier '__hip_ds_bpermute' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_bpermute(int index, unsigned src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:65:32: error: identifier '__hip_ds_bpermutef' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_bpermutef(int index, float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:71:35: error: identifier '__hip_ds_permute' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_permute(int index, unsigned src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:77:32: error: identifier '__hip_ds_permutef' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_permutef(int index, float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:83:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_ds_swizzle(src, pattern)  __hip_ds_swizzle_N<(pattern)>((src))
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:84:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_ds_swizzlef(src, pattern) __hip_ds_swizzlef_N<(pattern)>((src))
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:87:35: error: identifier '__hip_ds_swizzle_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_swizzle_N(unsigned int src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:94:32: error: identifier '__hip_ds_swizzlef_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_swizzlef_N(float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:100:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_move_dpp(src, dpp_ctrl, row_mask, bank_mask, bound_ctrl) \
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:104:30: error: identifier '__hip_move_dpp_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline int __hip_move_dpp_N(int src) {
                             ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:113:5: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
int __shfl(int var, int src_lane, int width = warpSize) {
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:120:14: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
unsigned int __shfl(unsigned int var, int src_lane, int width = warpSize) {
             ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:127:7: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
float __shfl(float var, int src_lane, int width = warpSize) {
      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated when compiling for gfx90a.

In file included from <built-in>:1:
/tmp/comgr-26fa0e/include/hiprtc_runtime.h:1:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h"
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:1:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "<built-in>" 1
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:5:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_runtime.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:6:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_fp16.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:7:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_bfloat16.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:33:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define _HIP_BFLOAT16_H_
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:59:35: error: identifier '__hip_ds_bpermute' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_bpermute(int index, unsigned src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:65:32: error: identifier '__hip_ds_bpermutef' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_bpermutef(int index, float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:71:35: error: identifier '__hip_ds_permute' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_permute(int index, unsigned src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:77:32: error: identifier '__hip_ds_permutef' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_permutef(int index, float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:83:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_ds_swizzle(src, pattern)  __hip_ds_swizzle_N<(pattern)>((src))
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:84:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_ds_swizzlef(src, pattern) __hip_ds_swizzlef_N<(pattern)>((src))
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:87:35: error: identifier '__hip_ds_swizzle_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_swizzle_N(unsigned int src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:94:32: error: identifier '__hip_ds_swizzlef_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_swizzlef_N(float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:100:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_move_dpp(src, dpp_ctrl, row_mask, bank_mask, bound_ctrl) \
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:104:30: error: identifier '__hip_move_dpp_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline int __hip_move_dpp_N(int src) {
                             ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:113:5: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
int __shfl(int var, int src_lane, int width = warpSize) {
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:120:14: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
unsigned int __shfl(unsigned int var, int src_lane, int width = warpSize) {
             ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:127:7: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
float __shfl(float var, int src_lane, int width = warpSize) {
      ^
......
......
......
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated when compiling for gfx90a.
In file included from <built-in>:1:
/tmp/comgr-0fbf10/include/hiprtc_runtime.h:1:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h"
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:1:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "<built-in>" 1
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:5:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_runtime.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:6:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_fp16.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:7:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_bfloat16.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:33:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define _HIP_BFLOAT16_H_
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:59:35: error: identifier '__hip_ds_bpermute' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_bpermute(int index, unsigned src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:65:32: error: identifier '__hip_ds_bpermutef' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_bpermutef(int index, float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:71:35: error: identifier '__hip_ds_permute' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_permute(int index, unsigned src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:77:32: error: identifier '__hip_ds_permutef' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_permutef(int index, float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:83:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_ds_swizzle(src, pattern)  __hip_ds_swizzle_N<(pattern)>((src))
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:84:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_ds_swizzlef(src, pattern) __hip_ds_swizzlef_N<(pattern)>((src))
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:87:35: error: identifier '__hip_ds_swizzle_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_swizzle_N(unsigned int src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:94:32: error: identifier '__hip_ds_swizzlef_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_swizzlef_N(float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:100:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_move_dpp(src, dpp_ctrl, row_mask, bank_mask, bound_ctrl) \
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:104:30: error: identifier '__hip_move_dpp_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline int __hip_move_dpp_N(int src) {
                             ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:113:5: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
int __shfl(int var, int src_lane, int width = warpSize) {
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:120:14: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
unsigned int __shfl(unsigned int var, int src_lane, int width = warpSize) {
             ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:127:7: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
float __shfl(float var, int src_lane, int width = warpSize) {
      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated when compiling for gfx90a.

In file included from <built-in>:1:
/tmp/comgr-bf86a9/include/hiprtc_runtime.h:1:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h"
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:1:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "<built-in>" 1
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:5:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_runtime.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:6:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_fp16.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:7:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_bfloat16.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:33:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define _HIP_BFLOAT16_H_
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:59:35: error: identifier '__hip_ds_bpermute' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_bpermute(int index, unsigned src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:65:32: error: identifier '__hip_ds_bpermutef' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_bpermutef(int index, float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:71:35: error: identifier '__hip_ds_permute' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_permute(int index, unsigned src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:77:32: error: identifier '__hip_ds_permutef' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_permutef(int index, float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:83:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_ds_swizzle(src, pattern)  __hip_ds_swizzle_N<(pattern)>((src))
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:84:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_ds_swizzlef(src, pattern) __hip_ds_swizzlef_N<(pattern)>((src))
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:87:35: error: identifier '__hip_ds_swizzle_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_swizzle_N(unsigned int src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:94:32: error: identifier '__hip_ds_swizzlef_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_swizzlef_N(float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:100:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_move_dpp(src, dpp_ctrl, row_mask, bank_mask, bound_ctrl) \
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:104:30: error: identifier '__hip_move_dpp_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline int __hip_move_dpp_N(int src) {
                             ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:113:5: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
int __shfl(int var, int src_lane, int width = warpSize) {
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:120:14: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
unsigned int __shfl(unsigned int var, int src_lane, int width = warpSize) {
             ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:127:7: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
float __shfl(float var, int src_lane, int width = warpSize) {
      ^
......
......
......
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated when compiling for gfx90a.

terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
In file included from <built-in>:1:
/tmp/comgr-837881/include/hiprtc_runtime.h:1:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h"
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:1:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "<built-in>" 1
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:5:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_runtime.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:6:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_fp16.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:7:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_bfloat16.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:33:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define _HIP_BFLOAT16_H_
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:59:35: error: identifier '__hip_ds_bpermute' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_bpermute(int index, unsigned src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:65:32: error: identifier '__hip_ds_bpermutef' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_bpermutef(int index, float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:71:35: error: identifier '__hip_ds_permute' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_permute(int index, unsigned src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:77:32: error: identifier '__hip_ds_permutef' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_permutef(int index, float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:83:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_ds_swizzle(src, pattern)  __hip_ds_swizzle_N<(pattern)>((src))
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:84:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_ds_swizzlef(src, pattern) __hip_ds_swizzlef_N<(pattern)>((src))
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:87:35: error: identifier '__hip_ds_swizzle_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_swizzle_N(unsigned int src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:94:32: error: identifier '__hip_ds_swizzlef_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_swizzlef_N(float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:100:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_move_dpp(src, dpp_ctrl, row_mask, bank_mask, bound_ctrl) \
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:104:30: error: identifier '__hip_move_dpp_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline int __hip_move_dpp_N(int src) {
                             ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:113:5: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
int __shfl(int var, int src_lane, int width = warpSize) {
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:120:14: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
unsigned int __shfl(unsigned int var, int src_lane, int width = warpSize) {
             ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:127:7: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
float __shfl(float var, int src_lane, int width = warpSize) {
      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated when compiling for gfx90a.

In file included from <built-in>:1:
/tmp/comgr-4eafe6/include/hiprtc_runtime.h:1:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h"
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:1:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "<built-in>" 1
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:5:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_runtime.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:6:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_fp16.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:7:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_bfloat16.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:33:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define _HIP_BFLOAT16_H_
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:59:35: error: identifier '__hip_ds_bpermute' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_bpermute(int index, unsigned src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:65:32: error: identifier '__hip_ds_bpermutef' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_bpermutef(int index, float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:71:35: error: identifier '__hip_ds_permute' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_permute(int index, unsigned src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:77:32: error: identifier '__hip_ds_permutef' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_permutef(int index, float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:83:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_ds_swizzle(src, pattern)  __hip_ds_swizzle_N<(pattern)>((src))
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:84:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_ds_swizzlef(src, pattern) __hip_ds_swizzlef_N<(pattern)>((src))
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:87:35: error: identifier '__hip_ds_swizzle_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_swizzle_N(unsigned int src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:94:32: error: identifier '__hip_ds_swizzlef_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_swizzlef_N(float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:100:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_move_dpp(src, dpp_ctrl, row_mask, bank_mask, bound_ctrl) \
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:104:30: error: identifier '__hip_move_dpp_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline int __hip_move_dpp_N(int src) {
                             ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:113:5: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
int __shfl(int var, int src_lane, int width = warpSize) {
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:120:14: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
unsigned int __shfl(unsigned int var, int src_lane, int width = warpSize) {
             ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:127:7: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
float __shfl(float var, int src_lane, int width = warpSize) {
      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated when compiling for gfx90a.

In file included from <built-in>:1:
/tmp/comgr-31c023/include/hiprtc_runtime.h:1:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h"
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:1:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "<built-in>" 1
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:5:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_runtime.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:6:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_fp16.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:7:5: error: this style of line directive is a GNU extension [-Werror,-Wgnu-line-marker]
# 1 "/long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/hip_bfloat16.h" 1 3
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:33:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define _HIP_BFLOAT16_H_
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:59:35: error: identifier '__hip_ds_bpermute' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_bpermute(int index, unsigned src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:65:32: error: identifier '__hip_ds_bpermutef' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_bpermutef(int index, float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:71:35: error: identifier '__hip_ds_permute' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_permute(int index, unsigned src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:77:32: error: identifier '__hip_ds_permutef' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_permutef(int index, float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:83:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_ds_swizzle(src, pattern)  __hip_ds_swizzle_N<(pattern)>((src))
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:84:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_ds_swizzlef(src, pattern) __hip_ds_swizzlef_N<(pattern)>((src))
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:87:35: error: identifier '__hip_ds_swizzle_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline unsigned __hip_ds_swizzle_N(unsigned int src) {
                                  ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:94:32: error: identifier '__hip_ds_swizzlef_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline float __hip_ds_swizzlef_N(float src) {
                               ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:100:9: error: macro name is a reserved identifier [-Werror,-Wreserved-macro-identifier]
#define __hip_move_dpp(src, dpp_ctrl, row_mask, bank_mask, bound_ctrl) \
        ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:104:30: error: identifier '__hip_move_dpp_N' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
__device__ static inline int __hip_move_dpp_N(int src) {
                             ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:113:5: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
int __shfl(int var, int src_lane, int width = warpSize) {
    ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:120:14: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
unsigned int __shfl(unsigned int var, int src_lane, int width = warpSize) {
             ^
/long_pathname_so_that_rpms_can_package_the_debug_info/src/out/ubuntu-20.04/20.04/build/hip-on-rocclr/src/hiprtc/hip_rtc_gen/hipRTC_header.h:127:7: error: identifier '__shfl' is reserved because it starts with '__' [-Werror,-Wreserved-identifier]
float __shfl(float var, int src_lane, int width = warpSize) {
      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated when compiling for gfx90a.

terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
Aborted
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
Aborted
Aborted
Aborted
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
Aborted
Aborted
Aborted
Aborted
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
Aborted
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
Aborted
Aborted
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
Aborted
Aborted
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
Aborted
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
Aborted
Aborted
Aborted
Aborted
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
Aborted
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
migraphx::version_2_7_0::exception'
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():    what():    what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed./root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed./root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.

terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
Aborted
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
terminate called after throwing an instance of 'migraphx::version_2_7_0::exception'
  what():  /root/AMDMIGraphX/src/targets/gpu/compile_hip.cpp:156: compile: hiprtc: HIPRTC_ERROR_COMPILATION: Compilation failed.
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Traceback (most recent call last):
  File "byte_mlperf/core/perf_engine.py", line 387, in <module>
    engine.start_engine()
  File "byte_mlperf/core/perf_engine.py", line 90, in start_engine
    status, workload_report = self.single_workload_perf(self.workload)
  File "byte_mlperf/core/perf_engine.py", line 162, in single_workload_perf
    compile_info = self.compile_backend.compile(pre_compile_config,
  File "/root/ByteMLPerf/byte_mlperf/backends/MIGRAPHX/compile_backend_migraphx.py", line 95, in compile
    model.compile(migraphx.get_target("gpu"))
RuntimeError: /root/AMDMIGraphX/src/targets/gpu/compile_ops.cpp:175: benchmark: No configs to tune

What could be the cause? How to fix it? Which recent commit version of AMDMIGraphX could be built and run without errors?

pfultz2 commented 1 year ago

This is an error with hiprtc. Which version of rocm are you using?

terU3760 commented 1 year ago

This is an error with hiprtc. Which version of rocm are you using?

I'm using ROCm 5.5.

umangyadav commented 1 year ago

I'm using ROCm 5.5.

With 5.5 if you want to use HIPRTC you need to enable some compile fixes using export MIGRAPHX_ENABLE_HIPRTC_WORKAROUNDS=1

better to use latest 5.6.1