Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rocm-hip.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1651985586.695704/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.by0lpwbz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.by0lpwbz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fc9ec0872bdd47568379ea4009ab094b', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1651985586.695704/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.by0lpwbz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rocm-hip.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1651881600 Wrote: /builddir/build/SRPMS/rocm-hip-5.1.0-4.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rocm-hip.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1651985586.695704/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.by0lpwbz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.by0lpwbz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '10cc2802ecfe4d76854837db17aeb4a7', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1651985586.695704/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.by0lpwbz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rocm-hip.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1651881600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yI6EjP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hipamd-rocm-5.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hipamd-5.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hipamd-rocm-5.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/HIP-5.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Revert-hip-Fix-and-install-cmake-targets-for-hip-pac.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Revert-hip-Switch-to-component-based-packaging.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Use-installed-rocclr-if-available.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Fix-CL-icd-header-include.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Use-GNUInstallDirs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's/-${HIP_VERSION_GITHASH}//' CMakeLists.txt + sed -i /CMAKE_INSTALL_RPATH/d CMakeLists.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GVH6Di + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/hipamd-rocm-5.1.0/.package_note-rocm-hip-5.1.0-4.fc37.aarch64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh rocm-hip 5.1.0-4.fc37 aarch64 + cd hipamd-rocm-5.1.0 + export HIP_CLANG_PATH=/usr/bin + HIP_CLANG_PATH=/usr/bin + mkdir build + cd build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/hipamd-rocm-5.1.0/.package_note-rocm-hip-5.1.0-4.fc37.aarch64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX ++ pwd + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -S.. -B. -DHIP_COMMON_DIR=/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0 -DCMAKE_INSTALL_LIBDIR=lib64 -DHIP_COMPILER=clang -DCMAKE_BUILD_TYPE=RelWithDebInfo -- The C compiler identification is GNU 12.0.1 -- The CXX compiler identification is GNU 12.0.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- HIPCC_BIN_DIR found at -- HIP_COMMON_DIR found at /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0 -- Found Perl: /usr/bin/perl (found version "5.34.1") -- Found Git: /usr/bin/git (found version "2.36.1") fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git -- Using CPACK_DEBIAN_PACKAGE_RELEASE local -- CPACK_RPM_PACKAGE_RELEASE: local%{?dist} -- HIP Platform: amd -- HIP Runtime: rocclr -- HIP Compiler: clang -- ROCM Installation path(ROCM_PATH): /opt/rocm -- HIP will be installed in: /usr -- Using rocclr from /usr/lib64 -- Performing Test HAVE_FFI_CALL -- Performing Test HAVE_FFI_CALL - Success -- Found FFI: /usr/lib64/libffi.so -- Performing Test Terminfo_LINKABLE -- Performing Test Terminfo_LINKABLE - Success -- Found Terminfo: /usr/lib64/libtinfo.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") 'sh' '-c' '/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/bin/hip_embed_pch.sh /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include /builddir/build/BUILD/hipamd-rocm-5.1.0/build/include /builddir/build/BUILD/hipamd-rocm-5.1.0/include /usr/lib64/cmake/llvm/../../..' + /usr/lib64/cmake/llvm/../../../bin/clang -O3 --rocm-path=/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include/.. -std=c++17 -nogpulib -isystem /builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -isystem /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -isystem /builddir/build/BUILD/hipamd-rocm-5.1.0/include --cuda-device-only -x hip /tmp/hip_pch.212/hip_pch.h -E + cat /tmp/hip_pch.212/hip_macros.h + /usr/lib64/cmake/llvm/../../../bin/clang -cc1 -O3 -emit-pch -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -fcuda-is-device -std=c++17 -fgnuc-version=4.2.1 -o /tmp/hip_pch.212/hip.pch -x hip-cpp-output - + /usr/lib64/cmake/llvm/../../../bin/llvm-mc -o hip_pch.o /tmp/hip_pch.212/hip_pch.mcin --filetype=obj + rm -rf /tmp/hip_pch.212 -- HIP RTC enabled. CMake Deprecation Warning at CMakeLists.txt:488 (cmake_policy): The OLD behavior for policy CMP0037 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- Found HIP: /builddir/build/BUILD/hipamd-rocm-5.1.0/build (found version "5.1.20531") -- host interface - found -- HIP runtime lib type - shared -- CMAKE_TESTING_TOOL: -- CMAKE HIP ARCHITECTURES: OFF -- ROCm Agent Enumurator Not Found -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/hipamd-rocm-5.1.0/build + /usr/bin/cmake --build . -j4 --verbose /usr/bin/cmake -S/builddir/build/BUILD/hipamd-rocm-5.1.0 -B/builddir/build/BUILD/hipamd-rocm-5.1.0/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/hipamd-rocm-5.1.0/build/CMakeFiles /builddir/build/BUILD/hipamd-rocm-5.1.0/build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/hipamd-rocm-5.1.0/build' /usr/bin/gmake -f src/CMakeFiles/hiprtc-builtins.dir/build.make src/CMakeFiles/hiprtc-builtins.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/hipamd-rocm-5.1.0/build' [ 0%] Generating hip_rtc_gen/hipRTC cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/clang-14 -O3 --rocm-path=/builddir/build/BUILD/hipamd-rocm-5.1.0/include/.. -std=c++17 -nogpulib --hip-version=3.6 -isystem /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -isystem /builddir/build/BUILD/hipamd-rocm-5.1.0/include -isystem /builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -isystem /builddir/build/BUILD/hipamd-rocm-5.1.0/src/include --cuda-device-only -D__HIPCC_RTC__ -x hip /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src/hip_rtc_gen/hipRTC_header.h -E -o /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src/hip_rtc_gen/hipRTC cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/cmake -DHIPRTC_ADD_MACROS=1 -DHIPRTC_PREPROCESSED_FILE=/builddir/build/BUILD/hipamd-rocm-5.1.0/build/src/hip_rtc_gen/hipRTC -P /builddir/build/BUILD/hipamd-rocm-5.1.0/src/cmake/HIPRTC.cmake -- Appending hiprtc macros to /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src/hip_rtc_gen/hipRTC. [ 0%] Generating hip_rtc_gen/hipRTC_header.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/llvm-mc -o /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src/hip_rtc_gen/hipRTC_header.o /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src/hip_rtc_gen/hipRTC_header.mcin --filetype=obj cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/hipamd-rocm-5.1.0 /builddir/build/BUILD/hipamd-rocm-5.1.0/src /builddir/build/BUILD/hipamd-rocm-5.1.0/build /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src/CMakeFiles/hiprtc-builtins.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/hipamd-rocm-5.1.0/build' /usr/bin/gmake -f src/CMakeFiles/hiprtc-builtins.dir/build.make src/CMakeFiles/hiprtc-builtins.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/hipamd-rocm-5.1.0/build' [ 0%] Linking CXX shared library ../lib/libhiprtc-builtins.so cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/hiprtc-builtins.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/hipamd-rocm-5.1.0/.package_note-rocm-hip-5.1.0-4.fc37.aarch64.ld -shared -Wl,-soname,libhiprtc-builtins.so.5 -o ../lib/libhiprtc-builtins.so.5.1.20531 hip_rtc_gen/hipRTC_header.o -L/builddir/build/BUILD/hipamd-rocm-5.1.0/src/PUBLIC cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/cmake -E cmake_symlink_library ../lib/libhiprtc-builtins.so.5.1.20531 ../lib/libhiprtc-builtins.so.5 ../lib/libhiprtc-builtins.so gmake[2]: Leaving directory '/builddir/build/BUILD/hipamd-rocm-5.1.0/build' [ 0%] Built target hiprtc-builtins /usr/bin/gmake -f src/CMakeFiles/amdhip64.dir/build.make src/CMakeFiles/amdhip64.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/hipamd-rocm-5.1.0/build' cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/hipamd-rocm-5.1.0 /builddir/build/BUILD/hipamd-rocm-5.1.0/src /builddir/build/BUILD/hipamd-rocm-5.1.0/build /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src/CMakeFiles/amdhip64.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/hipamd-rocm-5.1.0/build' /usr/bin/gmake -f src/CMakeFiles/amdhip64.dir/build.make src/CMakeFiles/amdhip64.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/hipamd-rocm-5.1.0/build' [ 0%] Building CXX object src/CMakeFiles/amdhip64.dir/cl_lqdflash_amd.cpp.o [ 0%] Building CXX object src/CMakeFiles/amdhip64.dir/fixme.cpp.o [ 0%] Building CXX object src/CMakeFiles/amdhip64.dir/cl_gl.cpp.o [ 0%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_activity.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/cl_gl.cpp.o -MF CMakeFiles/amdhip64.dir/cl_gl.cpp.o.d -o CMakeFiles/amdhip64.dir/cl_gl.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/cl_gl.cpp cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/cl_lqdflash_amd.cpp.o -MF CMakeFiles/amdhip64.dir/cl_lqdflash_amd.cpp.o.d -o CMakeFiles/amdhip64.dir/cl_lqdflash_amd.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/cl_lqdflash_amd.cpp cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/fixme.cpp.o -MF CMakeFiles/amdhip64.dir/fixme.cpp.o.d -o CMakeFiles/amdhip64.dir/fixme.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/fixme.cpp cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_activity.cpp.o -MF CMakeFiles/amdhip64.dir/hip_activity.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_activity.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_activity.cpp [ 0%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_code_object.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_code_object.cpp.o -MF CMakeFiles/amdhip64.dir/hip_code_object.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_code_object.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp /builddir/build/BUILD/hipamd-rocm-5.1.0/src/cl_gl.cpp: In function '_cl_mem* amd::clCreateFromGLBufferAMD(Context&, cl_mem_flags, GLuint, cl_int*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/cl_gl.cpp:1404:9: warning: unused variable 'gliMapped' [-Wunused-variable] 1404 | GLint gliMapped = 0; | ^~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/cl_gl.cpp: In member function 'bool amd::ClGlEvent::waitForFence()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/cl_gl.cpp:2118:15: warning: unused variable 'tempDrawable_' [-Wunused-variable] 2118 | GLXDrawable tempDrawable_ = context().glenv()->glXGetCurrentDrawable_(); | ^~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/cl_gl.cpp: At global scope: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/cl_gl.cpp:1357:15: warning: 'GLenum amd::glInternalFormatToGlFormat(GLenum)' defined but not used [-Wunused-function] 1357 | static GLenum glInternalFormatToGlFormat(GLenum internalFormat) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/cl_gl.cpp:1318:15: warning: 'GLenum amd::clChannelDataTypeToGlType(cl_channel_type)' defined but not used [-Wunused-function] 1318 | static GLenum clChannelDataTypeToGlType(cl_channel_type channel_type) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_global.hpp:9, from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.hpp:26, from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp:22: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp: In destructor 'virtual hip::DynCO::~DynCO()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp:521:15: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 521 | ihipFree(elem.second->getManagedVarPtr()); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp:36:12: note: in call to 'hipError_t ihipFree(void*)', declared here 36 | hipError_t ihipFree(void* ptr); | ^~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_global.hpp:7: /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp: In member function 'hipError_t hip::DynCO::getDeviceVar(hip::DeviceVar**, std::string)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp:546:27: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 546 | it->second->getDeviceVar(dvar, device_id_, module()); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_global.hpp:97:14: note: in call to 'hipError_t hip::Var::getDeviceVar(hip::DeviceVar**, int, hipModule_t)', declared here 97 | hipError_t getDeviceVar(DeviceVar** dvar, int deviceId, hipModule_t hmod); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp: In member function 'hipError_t hip::DynCO::populateDynGlobalVars()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp:646:25: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 646 | initDynManagedVars(managedVar); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp:569:12: note: in call to 'hipError_t hip::DynCO::initDynManagedVars(const std::string&)', declared here 569 | hipError_t DynCO::initDynManagedVars(const std::string& managedVar) { | ^~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp: In member function 'hip::FatBinaryInfo** hip::StatCO::addFatBinary(const void*, bool)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp:709:20: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 709 | digestFatBinary(data, modules_[data]); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp:691:12: note: in call to 'hipError_t hip::StatCO::digestFatBinary(const void*, hip::FatBinaryInfo*&)', declared here 691 | hipError_t StatCO::digestFatBinary(const void* data, FatBinaryInfo*& programs) { | ^~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp: In member function 'hipError_t hip::StatCO::removeFatBinary(hip::FatBinaryInfo**)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp:730:15: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 730 | ihipFree((*it)->getManagedVarPtr()); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp:36:12: note: in call to 'hipError_t ihipFree(void*)', declared here 36 | hipError_t ihipFree(void* ptr); | ^~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp: In member function 'hipError_t hip::StatCO::initStatManagedVarDevicePtr(int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp:838:19: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 838 | ihipMemcpy(reinterpret_cast
(dvar->device_ptr()), var->getManagedVarPtr(), | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 839 | dvar->size(), hipMemcpyHostToDevice, *queue); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp:34:12: note: in call to 'hipError_t ihipMemcpy(void*, const void*, size_t, hipMemcpyKind, amd::HostQueue&, bool)', declared here 34 | hipError_t ihipMemcpy(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind kind, | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ [ 0%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_context.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_context.cpp.o -MF CMakeFiles/amdhip64.dir/hip_context.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_context.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_context.cpp [ 0%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_device_runtime.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_device_runtime.cpp.o -MF CMakeFiles/amdhip64.dir/hip_device_runtime.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_device_runtime.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp [ 0%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_device.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_device.cpp.o -MF CMakeFiles/amdhip64.dir/hip_device.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_device.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device.cpp In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_context.cpp:22: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:25: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_context.cpp: In function 'hipError_t hipCtxSynchronize()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_context.cpp:325:3: note: in expansion of macro 'HIP_INIT_API' 325 | HIP_INIT_API(hipCtxSynchronize, 1); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp:23: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp: In function 'hipError_t hipChooseDevice(int*, const hipDeviceProp_t*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp:36:21: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 36 | ihipDeviceGetCount(&count); | ~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:436:19: note: in call to 'hipError_t ihipDeviceGetCount(int*)', declared here 436 | extern hipError_t ihipDeviceGetCount(int* count); | ^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime.h:113, from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp:21: /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp:42:16: warning: unused variable 'err' [-Wunused-variable] 42 | hipError_t err = ihipGetDeviceProperties(¤tProp, i); | ^~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp: In function 'hipError_t hipDeviceGetAttribute(int*, hipDeviceAttribute_t, int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp:148:21: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 148 | ihipDeviceGetCount(&count); | ~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:436:19: note: in call to 'hipError_t ihipDeviceGetCount(int*)', declared here 436 | extern hipError_t ihipDeviceGetCount(int* count); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp: In function 'hipError_t hipDeviceGetByPCIBusId(int*, const char*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp:350:23: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 350 | ihipDeviceGetCount(&count); | ~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:436:19: note: in call to 'hipError_t ihipDeviceGetCount(int*)', declared here 436 | extern hipError_t ihipDeviceGetCount(int* count); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp:353:20: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 353 | ihipDeviceGet(&dev, i); | ~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:447:19: note: in call to 'hipError_t ihipDeviceGet(hipDevice_t*, int)', declared here 447 | extern hipError_t ihipDeviceGet(hipDevice_t* device, int deviceId); | ^~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp:355:30: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 355 | ihipGetDeviceProperties(&prop, dev); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:445:19: note: in call to 'hipError_t ihipGetDeviceProperties(hipDeviceProp_t*, hipDevice_t)', declared here 445 | extern hipError_t ihipGetDeviceProperties(hipDeviceProp_t* props, hipDevice_t device); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp: In function 'hipError_t hipDeviceGetLimit(size_t*, hipLimit_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp:393:28: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 393 | ihipGetDeviceProperties(&prop, ihipGetDevice()); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:445:19: note: in call to 'hipError_t ihipGetDeviceProperties(hipDeviceProp_t*, hipDevice_t)', declared here 445 | extern hipError_t ihipGetDeviceProperties(hipDeviceProp_t* props, hipDevice_t device); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp: In function 'hipError_t hipDeviceGetPCIBusId(char*, int, int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp:407:21: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 407 | ihipDeviceGetCount(&count); | ~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:436:19: note: in call to 'hipError_t ihipDeviceGetCount(int*)', declared here 436 | extern hipError_t ihipDeviceGetCount(int* count); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp:417:26: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 417 | ihipGetDeviceProperties(&prop, device); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:445:19: note: in call to 'hipError_t ihipGetDeviceProperties(hipDeviceProp_t*, hipDevice_t)', declared here 445 | extern hipError_t ihipGetDeviceProperties(hipDeviceProp_t* props, hipDevice_t device); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:25: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp: In function 'hipError_t hipDeviceReset()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp:438:3: note: in expansion of macro 'HIP_INIT_API' 438 | HIP_INIT_API(hipDeviceReset); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp: In function 'hipError_t hipDeviceSynchronize()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp:468:3: note: in expansion of macro 'HIP_INIT_API' 468 | HIP_INIT_API(hipDeviceSynchronize); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp: In function 'hipError_t hipSetValidDevices(int*, int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device_runtime.cpp:568:3: note: in expansion of macro 'HIP_INIT_API' 568 | HIP_INIT_API(hipSetValidDevices, device_arr, len); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device.cpp:23: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:25: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device.cpp: In function 'hipError_t hipDeviceGetCount(int*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device.cpp:95:3: note: in expansion of macro 'HIP_INIT_API' 95 | HIP_INIT_API(hipDeviceGetCount, count); | ^~~~~~~~~~~~ [ 33%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_error.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_error.cpp.o -MF CMakeFiles/amdhip64.dir/hip_error.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_error.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_error.cpp In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_error.cpp:23: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:25: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_error.cpp: In function 'hipError_t hipGetLastError()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_error.cpp:27:3: note: in expansion of macro 'HIP_INIT_API' 27 | HIP_INIT_API(hipGetLastError); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_error.cpp: In function 'hipError_t hipPeekAtLastError()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_error.cpp:35:3: note: in expansion of macro 'HIP_INIT_API' 35 | HIP_INIT_API(hipPeekAtLastError); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device.cpp: In function 'hipDeviceGetName': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device.cpp:137:12: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 137 | ::strncpy(name, info.boardName_, (nameLen + 1)); | ^ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_device.cpp:129:32: note: length computed here 129 | const auto nameLen = ::strlen(info.boardName_); | ~~~~~~~~^~~~~~~~~~~~~~~~~ [ 33%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_event.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_event.cpp.o -MF CMakeFiles/amdhip64.dir/hip_event.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_event.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.cpp [ 33%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_event_ipc.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_event_ipc.cpp.o -MF CMakeFiles/amdhip64.dir/hip_event_ipc.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_event_ipc.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event_ipc.cpp [ 33%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_fatbin.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_fatbin.cpp.o -MF CMakeFiles/amdhip64.dir/hip_fatbin.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_fatbin.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_fatbin.cpp [ 33%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_global.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_global.cpp.o -MF CMakeFiles/amdhip64.dir/hip_global.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_global.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_global.cpp In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:24, from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.cpp:23: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp: In constructor 'hip::Event::Event(unsigned int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:152:8: warning: 'hip::Event::recorded_' will be initialized after [-Wreorder] 152 | bool recorded_; | ^~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:146:19: warning: 'amd::HostQueue* hip::Event::stream_' [-Wreorder] 146 | amd::HostQueue* stream_; | ^~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:74:3: warning: when initialized here [-Wreorder] 74 | Event(unsigned int flags) : flags(flags), lock_("hipEvent_t", true), | ^~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp: In destructor 'virtual hip::IPCEvent::~IPCEvent()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:172:11: warning: unused variable 'owners' [-Wunused-variable] 172 | int owners = --ipc_evt_.ipc_shmem_->owners; | ^~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:174:18: warning: unused variable 'status' [-Wunused-variable] 174 | hipError_t status = synchronize(); | ^~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:24, from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event_ipc.cpp:23: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp: In constructor 'hip::Event::Event(unsigned int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:152:8: warning: 'hip::Event::recorded_' will be initialized after [-Wreorder] 152 | bool recorded_; | ^~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:146:19: warning: 'amd::HostQueue* hip::Event::stream_' [-Wreorder] 146 | amd::HostQueue* stream_; | ^~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:74:3: warning: when initialized here [-Wreorder] 74 | Event(unsigned int flags) : flags(flags), lock_("hipEvent_t", true), | ^~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp: In destructor 'virtual hip::IPCEvent::~IPCEvent()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:172:11: warning: unused variable 'owners' [-Wunused-variable] 172 | int owners = --ipc_evt_.ipc_shmem_->owners; | ^~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:174:18: warning: unused variable 'status' [-Wunused-variable] 174 | hipError_t status = synchronize(); | ^~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event_ipc.cpp: In member function 'virtual hipError_t hip::IPCEvent::enqueueRecordCommand(hipStream_t, amd::Command*, bool)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event_ipc.cpp:144:19: warning: unused variable 'queue' [-Wunused-variable] 144 | amd::HostQueue* queue = hip::getQueue(stream); | ^~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_fatbin.hpp:6, from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_fatbin.cpp:1: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_global.hpp:9, from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_global.cpp:1: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_global.cpp: In destructor 'hip::DeviceVar::~DeviceVar()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_global.cpp:65:22: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 65 | ihipUnbindTexture(texRef); | ~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:443:19: note: in call to 'hipError_t ihipUnbindTexture(textureReference*)', declared here 443 | extern hipError_t ihipUnbindTexture(textureReference* texRef); | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_global.hpp:7: /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_global.hpp: In constructor 'hip::Var::Var(const std::string&, DeviceVarKind, void*, size_t, unsigned int, hip::FatBinaryInfo**)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_global.hpp:123:16: warning: 'hip::Var::align_' will be initialized after [-Wreorder] 123 | unsigned int align_; // Managed memory alignment | ^~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_global.hpp:118:7: warning: 'int hip::Var::type_' [-Wreorder] 118 | int type_; // Type(Textures/Surfaces only) | ^~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_global.cpp:176:1: warning: when initialized here [-Wreorder] 176 | Var::Var(const std::string& name, DeviceVarKind dVarKind, void *pointer, size_t size, | ^~~ [ 33%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_graph_internal.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_graph_internal.cpp.o -MF CMakeFiles/amdhip64.dir/hip_graph_internal.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_graph_internal.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.cpp [ 33%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_graph.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_graph.cpp.o -MF CMakeFiles/amdhip64.dir/hip_graph.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_graph.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp [ 33%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_hmm.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_hmm.cpp.o -MF CMakeFiles/amdhip64.dir/hip_hmm.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_hmm.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_hmm.cpp [ 66%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_intercept.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_intercept.cpp.o -MF CMakeFiles/amdhip64.dir/hip_intercept.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_intercept.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_intercept.cpp In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:31, from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.cpp:21: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:33: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp: In constructor 'hip::Event::Event(unsigned int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:152:8: warning: 'hip::Event::recorded_' will be initialized after [-Wreorder] 152 | bool recorded_; | ^~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:146:19: warning: 'amd::HostQueue* hip::Event::stream_' [-Wreorder] 146 | amd::HostQueue* stream_; | ^~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:74:3: warning: when initialized here [-Wreorder] 74 | Event(unsigned int flags) : flags(flags), lock_("hipEvent_t", true), | ^~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp: In destructor 'virtual hip::IPCEvent::~IPCEvent()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:172:11: warning: unused variable 'owners' [-Wunused-variable] 172 | int owners = --ipc_evt_.ipc_shmem_->owners; | ^~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:174:18: warning: unused variable 'status' [-Wunused-variable] 174 | hipError_t status = synchronize(); | ^~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp: In constructor 'hipGraphNode::hipGraphNode(hipGraphNodeType)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:49:20: warning: 'hipGraphNode::type_' will be initialized after [-Wreorder] 49 | hipGraphNodeType type_; | ^~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:47:12: warning: 'uint32_t hipGraphNode::level_' [-Wreorder] 47 | uint32_t level_; | ^~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:62:3: warning: when initialized here [-Wreorder] 62 | hipGraphNode(hipGraphNodeType type) | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:57:10: warning: 'hipGraphNode::outDegree_' will be initialized after [-Wreorder] 57 | size_t outDegree_; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:48:16: warning: 'unsigned int hipGraphNode::id_' [-Wreorder] 48 | unsigned int id_; | ^~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:62:3: warning: when initialized here [-Wreorder] 62 | hipGraphNode(hipGraphNodeType type) | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:31, from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:21: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:33: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp: In constructor 'hip::Event::Event(unsigned int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:152:8: warning: 'hip::Event::recorded_' will be initialized after [-Wreorder] 152 | bool recorded_; | ^~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:146:19: warning: 'amd::HostQueue* hip::Event::stream_' [-Wreorder] 146 | amd::HostQueue* stream_; | ^~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:74:3: warning: when initialized here [-Wreorder] 74 | Event(unsigned int flags) : flags(flags), lock_("hipEvent_t", true), | ^~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp: In destructor 'virtual hip::IPCEvent::~IPCEvent()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:172:11: warning: unused variable 'owners' [-Wunused-variable] 172 | int owners = --ipc_evt_.ipc_shmem_->owners; | ^~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:174:18: warning: unused variable 'status' [-Wunused-variable] 174 | hipError_t status = synchronize(); | ^~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp: In constructor 'hipGraphExec::hipGraphExec(std::vector&, std::vector >&, std::unordered_map >&, std::unordered_map&)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:255:17: warning: 'hipGraphExec::lastEnqueuedCommand_' will be initialized after [-Wreorder] 255 | amd::Command* lastEnqueuedCommand_; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:253:8: warning: 'uint hipGraphExec::currentQueueIndex_' [-Wreorder] 253 | uint currentQueueIndex_; | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:258:3: warning: when initialized here [-Wreorder] 258 | hipGraphExec(std::vector& levelOrder, std::vector>& lists, | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp: In constructor 'hipGraphNode::hipGraphNode(hipGraphNodeType)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:49:20: warning: 'hipGraphNode::type_' will be initialized after [-Wreorder] 49 | hipGraphNodeType type_; | ^~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:47:12: warning: 'uint32_t hipGraphNode::level_' [-Wreorder] 47 | uint32_t level_; | ^~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:62:3: warning: when initialized here [-Wreorder] 62 | hipGraphNode(hipGraphNodeType type) | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:57:10: warning: 'hipGraphNode::outDegree_' will be initialized after [-Wreorder] 57 | size_t outDegree_; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:48:16: warning: 'unsigned int hipGraphNode::id_' [-Wreorder] 48 | unsigned int id_; | ^~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:62:3: warning: when initialized here [-Wreorder] 62 | hipGraphNode(hipGraphNodeType type) | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp: In constructor 'hipGraphExec::hipGraphExec(std::vector&, std::vector >&, std::unordered_map >&, std::unordered_map&)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:255:17: warning: 'hipGraphExec::lastEnqueuedCommand_' will be initialized after [-Wreorder] 255 | amd::Command* lastEnqueuedCommand_; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:253:8: warning: 'uint hipGraphExec::currentQueueIndex_' [-Wreorder] 253 | uint currentQueueIndex_; | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph_internal.hpp:258:3: warning: when initialized here [-Wreorder] 258 | hipGraphExec(std::vector& levelOrder, std::vector>& lists, | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp: In function 'hipError_t hipGraphGetNodes(hipGraph_t, hipGraphNode**, size_t*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:955:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 955 | for (int i = 0; i < *numNodes; i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:959:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 959 | for (int i = 0; i < graphNodes.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:962:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 962 | for (int i = graphNodes.size(); i < *numNodes; i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp: In function 'hipError_t hipGraphGetRootNodes(hipGraph_t, hipGraphNode**, size_t*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:982:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 982 | for (int i = 0; i < *pNumRootNodes; i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:986:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 986 | for (int i = 0; i < nodes.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:989:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 989 | for (int i = nodes.size(); i < *pNumRootNodes; i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp: In function 'hipError_t hipStreamUpdateCaptureDependencies(hipStream_t, hipGraphNode**, size_t, unsigned int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:1194:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1194 | for (int i = 0; i < numDependencies; i++) { | ~~^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_hmm.cpp:22: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp: In function 'hipError_t hipGraphGetEdges(hipGraph_t, hipGraphNode**, hipGraphNode**, size_t*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:1233:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1233 | for (int i = 0; i < *numEdges; i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:1238:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1238 | for (int i = 0; i < edges.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:1244:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1244 | for (int i = edges.size(); i < *numEdges; i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp: In function 'hipError_t hipGraphNodeGetDependencies(hipGraphNode_t, hipGraphNode**, size_t*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:1265:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1265 | for (int i = 0; i < *pNumDependencies; i++) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:1269:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1269 | for (int i = 0; i < dependencies.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:1274:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1274 | for (int i = dependencies.size(); i < *pNumDependencies; i++) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp: In function 'hipError_t hipGraphNodeGetDependentNodes(hipGraphNode_t, hipGraphNode**, size_t*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:1293:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1293 | for (int i = 0; i < *pNumDependentNodes; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:1297:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1297 | for (int i = 0; i < dependents.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_graph.cpp:1302:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1302 | for (int i = dependents.size(); i < *pNumDependentNodes; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_intercept.cpp:22: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ [ 66%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_memory.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_memory.cpp.o -MF CMakeFiles/amdhip64.dir/hip_memory.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_memory.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp [ 66%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_module.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_module.cpp.o -MF CMakeFiles/amdhip64.dir/hip_module.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_module.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp [ 66%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_peer.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_peer.cpp.o -MF CMakeFiles/amdhip64.dir/hip_peer.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_peer.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_peer.cpp In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:22: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp: In function 'hipError_t ihipMemsetCommand(std::vector&, void*, int64_t, size_t, size_t, amd::HostQueue*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:2293:8: warning: unused variable 'aligned_dst' [-Wunused-variable] 2293 | auto aligned_dst = amd::alignUp(reinterpret_cast
(dst), sizeof(uint64_t)); | ^~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:2296:10: warning: unused variable 'n_head_bytes' [-Wunused-variable] 2296 | size_t n_head_bytes = 0; | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:2297:10: warning: unused variable 'n_tail_bytes' [-Wunused-variable] 2297 | size_t n_tail_bytes = 0; | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp: In function 'hipError_t hipIpcOpenMemHandle(void**, hipIpcMemHandle_t, unsigned int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:2539:16: warning: unused variable 'amd_mem_obj' [-Wunused-variable] 2539 | amd::Memory* amd_mem_obj = nullptr; | ^~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp: In function 'hipError_t hipIpcCloseMemHandle(void*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:2569:16: warning: unused variable 'amd_mem_obj' [-Wunused-variable] 2569 | amd::Memory* amd_mem_obj = nullptr; | ^~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp: In function 'hipError_t hipPointerGetAttributes(hipPointerAttribute_t*, const void*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:2614:7: warning: unused variable 'device' [-Wunused-variable] 2614 | int device = 0; | ^~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:25: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp: In function 'hipError_t hipArray3DGetDescriptor(HIP_ARRAY3D_DESCRIPTOR*, hipArray*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:2866:3: note: in expansion of macro 'HIP_INIT_API' 2866 | HIP_INIT_API(hipArray3DGetDescriptor, pArrayDescriptor, array); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp: In function 'hipError_t hipArrayGetDescriptor(HIP_ARRAY_DESCRIPTOR*, hipArray*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:2875:3: note: in expansion of macro 'HIP_INIT_API' 2875 | HIP_INIT_API(hipArrayGetDescriptor, pArrayDescriptor, array); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp: In function 'hipError_t hipMemcpy2DArrayToArray(hipArray_t, size_t, size_t, hipArray_const_t, size_t, size_t, size_t, size_t, hipMemcpyKind)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:2915:3: note: in expansion of macro 'HIP_INIT_API' 2915 | HIP_INIT_API(hipMemcpy2DArrayToArray, dst, wOffsetDst, hOffsetDst, src, wOffsetSrc, hOffsetSrc, width, height, kind); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp: In function 'hipError_t hipMemcpyArrayToArray(hipArray_t, size_t, size_t, hipArray_const_t, size_t, size_t, size_t, size_t, hipMemcpyKind)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:2921:3: note: in expansion of macro 'HIP_INIT_API' 2921 | HIP_INIT_API(hipMemcpyArrayToArray, dst, wOffsetDst, hOffsetDst, src, wOffsetSrc, hOffsetSrc, width, height, kind); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp: In function 'hipError_t hipMemcpyFromArrayAsync(void*, hipArray_const_t, size_t, size_t, size_t, hipMemcpyKind, hipStream_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:2949:3: note: in expansion of macro 'HIP_INIT_API' 2949 | HIP_INIT_API(hipMemcpyFromArrayAsync, dst, src, wOffsetSrc, hOffsetSrc, count, kind, stream); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp: In function 'hipError_t hipMemcpyToArrayAsync(hipArray_t, size_t, size_t, const void*, size_t, hipMemcpyKind, hipStream_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:2976:3: note: in expansion of macro 'HIP_INIT_API' 2976 | HIP_INIT_API(hipMemcpyToArrayAsync, dst, wOffset, hOffset, src, count, kind); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp:25: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp: In function 'hipError_t hipMemcpyAtoA(hipArray*, size_t, hipArray*, size_t, size_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:2996:3: note: in expansion of macro 'HIP_INIT_API' 2996 | HIP_INIT_API(hipMemcpyAtoA, dstArray, dstOffset, srcArray, srcOffset, ByteCount); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp: In function 'hipError_t hipMemcpyAtoD(hipDeviceptr_t, hipArray*, size_t, size_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:3005:3: note: in expansion of macro 'HIP_INIT_API' 3005 | HIP_INIT_API(hipMemcpyAtoD, dstDevice, srcArray, srcOffset, ByteCount); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp: In function 'hipError_t hipMemcpyAtoHAsync(void*, hipArray*, size_t, size_t, hipStream_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:3015:3: note: in expansion of macro 'HIP_INIT_API' 3015 | HIP_INIT_API(hipMemcpyAtoHAsync, dstHost, srcArray, srcOffset, ByteCount, stream); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp: In function 'hipError_t hipMemcpyDtoA(hipArray*, size_t, hipDeviceptr_t, size_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:3024:3: note: in expansion of macro 'HIP_INIT_API' 3024 | HIP_INIT_API(hipMemcpyDtoA, dstArray, dstOffset, srcDevice, ByteCount); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp: In function 'hipError_t hipMemcpyHtoAAsync(hipArray*, size_t, const void*, size_t, hipStream_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_memory.cpp:3034:3: note: in expansion of macro 'HIP_INIT_API' 3034 | HIP_INIT_API(hipMemcpyHtoAAsync, dstArray, dstOffset, srcHost, ByteCount, stream); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp:27: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp: In constructor 'hip::Event::Event(unsigned int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:152:8: warning: 'hip::Event::recorded_' will be initialized after [-Wreorder] 152 | bool recorded_; | ^~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:146:19: warning: 'amd::HostQueue* hip::Event::stream_' [-Wreorder] 146 | amd::HostQueue* stream_; | ^~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:74:3: warning: when initialized here [-Wreorder] 74 | Event(unsigned int flags) : flags(flags), lock_("hipEvent_t", true), | ^~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp: In destructor 'virtual hip::IPCEvent::~IPCEvent()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:172:11: warning: unused variable 'owners' [-Wunused-variable] 172 | int owners = --ipc_evt_.ipc_shmem_->owners; | ^~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:174:18: warning: unused variable 'status' [-Wunused-variable] 174 | hipError_t status = synchronize(); | ^~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp: In function 'hipError_t ihipLaunchKernel_validate(hipFunction_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, void**, void**, int, uint32_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp:268:60: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 268 | hip_impl::ihipOccupancyMaxActiveBlocksPerMultiprocessor(&num_blocks, &max_blocks_per_grid, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | &best_block_size, *device, f, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | block_size, sharedMemBytes, true); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp:28: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.hpp:29:12: note: in call to 'hipError_t hip_impl::ihipOccupancyMaxActiveBlocksPerMultiprocessor(int*, int*, int*, const amd::Device&, hipFunction_t, int, size_t, bool)', declared here 29 | hipError_t ihipOccupancyMaxActiveBlocksPerMultiprocessor( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime.h:113, from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp:21: /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp: In function 'hipError_t ihipLaunchKernelCommand(amd::Command*&, hipFunction_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, amd::HostQueue*, void**, void**, hipEvent_t, hipEvent_t, uint32_t, uint32_t, uint32_t, uint32_t, uint64_t, uint64_t, uint32_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp:327:11: warning: unused variable 'kernargs' [-Wunused-variable] 327 | address kernargs = nullptr; | ^~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:25: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp: In function 'hipError_t ihipModuleLaunchKernel(hipFunction_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, hipStream_t, void**, void**, hipEvent_t, hipEvent_t, uint32_t, uint32_t, uint32_t, uint32_t, uint64_t, uint64_t, uint32_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp:360:3: note: in expansion of macro 'HIP_INIT_API' 360 | HIP_INIT_API(ihipModuleLaunchKernel, f, globalWorkSizeX, globalWorkSizeY, globalWorkSizeZ, | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp:371:16: warning: unused variable 'kernel' [-Wunused-variable] 371 | amd::Kernel* kernel = function->kernel(); | ^~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp: In function 'hipError_t hipModuleLaunchKernelExt(hipFunction_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, size_t, hipStream_t, void**, void**, hipEvent_t, hipEvent_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp:477:3: note: in expansion of macro 'HIP_INIT_API' 477 | HIP_INIT_API(hipModuleLaunchKernelExt, f, globalWorkSizeX, globalWorkSizeY, globalWorkSizeZ, | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp: In function 'hipError_t ihipLaunchCooperativeKernelMultiDevice(hipLaunchParams*, int, unsigned int, uint32_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp:547:21: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 547 | ihipDeviceGetCount(&numActiveGPUs); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:436:19: note: in call to 'hipError_t ihipDeviceGetCount(int*)', declared here 436 | extern hipError_t ihipDeviceGetCount(int* count); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp: In function 'hipError_t hipModuleGetTexRef(textureReference**, hipModule_t, const char*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp:686:43: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 686 | PlatformState::instance().registerTexRef(*texRef, hmod, std::string(name)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.hpp:55:14: note: in call to 'hipError_t PlatformState::registerTexRef(textureReference*, hipModule_t, std::string)', declared here 55 | hipError_t registerTexRef(textureReference* texRef, hipModule_t hmod, std::string name); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp: At global scope: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_module.cpp:46:17: warning: 'uint64_t ElfSize(const void*)' defined but not used [-Wunused-function] 46 | static uint64_t ElfSize(const void *emi) | ^~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_peer.cpp:23: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:25: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_peer.cpp: In function 'hipError_t hipDeviceCanAccessPeer(int*, hipCtx_t, hipCtx_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_peer.cpp:26:3: note: in expansion of macro 'HIP_INIT_API' 26 | HIP_INIT_API(NONE, canAccessPeer, thisCtx, peerCtx); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_peer.cpp: In function 'hipError_t hipMemcpyPeer(void*, hipCtx_t, const void*, hipCtx_t, size_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_peer.cpp:35:3: note: in expansion of macro 'HIP_INIT_API' 35 | HIP_INIT_API(NONE, dst, dstCtx, src, srcCtx, sizeBytes); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_peer.cpp: In function 'hipError_t hipMemcpyPeerAsync(void*, hipCtx_t, const void*, hipCtx_t, size_t, hipStream_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_peer.cpp:44:3: note: in expansion of macro 'HIP_INIT_API' 44 | HIP_INIT_API(NONE, dst, dstDevice, src, srcDevice, sizeBytes, stream); | ^~~~~~~~~~~~ [ 66%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_platform.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_platform.cpp.o -MF CMakeFiles/amdhip64.dir/hip_platform.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_platform.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp [ 66%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_profile.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_profile.cpp.o -MF CMakeFiles/amdhip64.dir/hip_profile.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_profile.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_profile.cpp In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.hpp:22, from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp:23: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp: In function 'void __hipRegisterFunction(hip::FatBinaryInfo**, const void*, char*, const char*, unsigned int, uint3*, uint3*, dim3*, dim3*, int*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp:104:49: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 104 | PlatformState::instance().registerStatFunction(hostFunction, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.hpp:74:14: note: in call to 'hipError_t PlatformState::registerStatFunction(const void*, hip::Function*)', declared here 74 | hipError_t registerStatFunction(const void* hostFunction, hip::Function* func); | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime.h:113, from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp:21: /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp: In function 'void __hipRegisterVar(hip::FatBinaryInfo**, void*, char*, char*, int, size_t, int, int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp:133:50: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 133 | PlatformState::instance().registerStatGlobalVar(var, var_ptr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.hpp:75:14: note: in call to 'hipError_t PlatformState::registerStatGlobalVar(const void*, hip::Var*)', declared here 75 | hipError_t registerStatGlobalVar(const void* hostVar, hip::Var* var); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp: In function 'void __hipRegisterSurface(hip::FatBinaryInfo**, void*, char*, char*, int, int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp:142:50: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 142 | PlatformState::instance().registerStatGlobalVar(var, var_ptr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.hpp:75:14: note: in call to 'hipError_t PlatformState::registerStatGlobalVar(const void*, hip::Var*)', declared here 75 | hipError_t registerStatGlobalVar(const void* hostVar, hip::Var* var); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp: In function 'void __hipRegisterManagedVar(void*, void**, void*, const char*, size_t, unsigned int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp:157:17: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 157 | ihipMemcpy(*pointer, init_value, size, hipMemcpyHostToDevice, *queue); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp:37:12: note: in call to 'hipError_t ihipMemcpy(void*, const void*, size_t, hipMemcpyKind, amd::HostQueue&, bool)', declared here 37 | hipError_t ihipMemcpy(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind kind, | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp:166:51: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 166 | PlatformState::instance().registerStatManagedVar(var_ptr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.hpp:76:14: note: in call to 'hipError_t PlatformState::registerStatManagedVar(hip::Var*)', declared here 76 | hipError_t registerStatManagedVar(hip::Var* var); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp: In function 'void __hipRegisterTexture(hip::FatBinaryInfo**, void*, char*, char*, int, int, int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp:175:50: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 175 | PlatformState::instance().registerStatGlobalVar(var, var_ptr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.hpp:75:14: note: in call to 'hipError_t PlatformState::registerStatGlobalVar(const void*, hip::Var*)', declared here 75 | hipError_t registerStatGlobalVar(const void* hostVar, hip::Var* var); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp: In function 'void __hipUnregisterFatBinary(hip::FatBinaryInfo**)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp:180:44: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 180 | PlatformState::instance().removeFatBinary(modules); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.hpp:71:14: note: in call to 'hipError_t PlatformState::removeFatBinary(hip::FatBinaryInfo**)', declared here 71 | hipError_t removeFatBinary(hip::FatBinaryInfo** module); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp: In function 'hipError_t hipGetSymbolAddress(void**, const void*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp:273:14: warning: unused variable 'hip_error' [-Wunused-variable] 273 | hipError_t hip_error = hipSuccess; | ^~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp: In function 'void hip_impl::hipLaunchKernelGGLImpl(uintptr_t, const dim3&, const dim3&, uint32_t, hipStream_t, void**)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp:611:24: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 611 | hipModuleLaunchKernel(func, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ 612 | numBlocks.x, numBlocks.y, numBlocks.z, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 613 | dimBlocks.x, dimBlocks.y, dimBlocks.z, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 614 | sharedMemBytes, stream, nullptr, kernarg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:3799:12: note: in call to 'hipError_t hipModuleLaunchKernel(hipFunction_t, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, hipStream_t, void**, void**)', declared here 3799 | hipError_t hipModuleLaunchKernel(hipFunction_t f, unsigned int gridDimX, unsigned int gridDimY, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp: In function 'void hip_impl::hipLaunchCooperativeKernelGGLImpl(uintptr_t, const dim3&, const dim3&, uint32_t, hipStream_t, void**)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp:627:29: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 627 | hipLaunchCooperativeKernel(reinterpret_cast(function_address), | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 628 | numBlocks, dimBlocks, kernarg, sharedMemBytes, stream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:5582:19: note: in call to 'hipError_t hipLaunchCooperativeKernel(T, dim3, dim3, void**, unsigned int, hipStream_t) [with T = void*; hipError_t = hipError_t; dim3 = dim3; hipStream_t = ihipStream_t*]', declared here 5582 | inline hipError_t hipLaunchCooperativeKernel(T f, dim3 gridDim, dim3 blockDim, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp: In member function 'void PlatformState::init()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp:733:20: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 733 | digestFatBinary(it.first, it.second); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.hpp:72:14: note: in call to 'hipError_t PlatformState::digestFatBinary(const void*, hip::FatBinaryInfo*&)', declared here 72 | hipError_t digestFatBinary(const void* data, hip::FatBinaryInfo*& programs); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp: In member function 'hipError_t PlatformState::getDynGlobalVar(const char*, hipModule_t, void**, size_t*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp:822:35: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 822 | it->second->getManagedVarPointer(hostVar, dev_ptr, size_ptr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.hpp:25: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.hpp:95:14: note: in call to 'hipError_t hip::DynCO::getManagedVarPointer(std::string, void**, size_t*) const', declared here 95 | hipError_t getManagedVarPointer(std::string name, void** pointer, size_t* size_ptr) const { | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp: At global scope: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_platform.cpp:61:13: warning: 'bool isCompatibleCodeObject(const std::string&, const char*)' defined but not used [-Wunused-function] 61 | static bool isCompatibleCodeObject(const std::string& codeobj_target_id, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_profile.cpp:23: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:25: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_profile.cpp: In function 'hipError_t hipProfilerStart()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_profile.cpp:26:3: note: in expansion of macro 'HIP_INIT_API' 26 | HIP_INIT_API(hipProfilerStart); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_profile.cpp: In function 'hipError_t hipProfilerStop()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_profile.cpp:35:3: note: in expansion of macro 'HIP_INIT_API' 35 | HIP_INIT_API(hipProfilerStop); | ^~~~~~~~~~~~ [ 66%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_rtc.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_rtc.cpp.o -MF CMakeFiles/amdhip64.dir/hip_rtc.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_rtc.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_rtc.cpp [ 66%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_stream_ops.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_stream_ops.cpp.o -MF CMakeFiles/amdhip64.dir/hip_stream_ops.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_stream_ops.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_stream_ops.cpp In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hiprtc_internal.hpp:24, from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_rtc.cpp:22: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_stream_ops.cpp:22: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ [100%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_stream.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_stream.cpp.o -MF CMakeFiles/amdhip64.dir/hip_stream.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_stream.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_stream.cpp In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_stream.cpp:22: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_stream.cpp:23: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp: In constructor 'hip::Event::Event(unsigned int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:152:8: warning: 'hip::Event::recorded_' will be initialized after [-Wreorder] 152 | bool recorded_; | ^~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:146:19: warning: 'amd::HostQueue* hip::Event::stream_' [-Wreorder] 146 | amd::HostQueue* stream_; | ^~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:74:3: warning: when initialized here [-Wreorder] 74 | Event(unsigned int flags) : flags(flags), lock_("hipEvent_t", true), | ^~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp: In destructor 'virtual hip::IPCEvent::~IPCEvent()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:172:11: warning: unused variable 'owners' [-Wunused-variable] 172 | int owners = --ipc_evt_.ipc_shmem_->owners; | ^~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_event.hpp:174:18: warning: unused variable 'status' [-Wunused-variable] 174 | hipError_t status = synchronize(); | ^~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_stream.cpp: In member function 'hipError_t hip::Stream::EndCapture()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_stream.cpp:65:18: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 65 | s->EndCapture(); | ~~~~~~~~~~~~~^~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_stream.cpp:58:12: note: in call to 'hipError_t hip::Stream::EndCapture()', declared here 58 | hipError_t Stream::EndCapture() { | ^~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime.h:113, from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_stream.cpp:21: /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_stream.cpp: In member function 'ihipStream_t*& stream_per_thread::get()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_stream.cpp:310:23: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 310 | ihipStreamCreate(&m_stream, hipStreamDefault, hip::Stream::Priority::Normal); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_stream.cpp:273:19: note: in call to 'hipError_t ihipStreamCreate(ihipStream_t**, unsigned int, hip::Stream::Priority, const std::vector&)', declared here 273 | static hipError_t ihipStreamCreate(hipStream_t* stream, | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ [100%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_surface.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_surface.cpp.o -MF CMakeFiles/amdhip64.dir/hip_surface.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_surface.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_surface.cpp [100%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_texture.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_texture.cpp.o -MF CMakeFiles/amdhip64.dir/hip_texture.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_texture.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_surface.cpp:23: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_surface.cpp: In function 'hipError_t ihipCreateSurfaceObject(__hip_surface**, const hipResourceDesc*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_surface.cpp:67:13: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 67 | ihipMalloc(&surfObjectBuffer, sizeof(__hip_surface), CL_MEM_SVM_FINE_GRAIN_BUFFER); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:439:19: note: in call to 'hipError_t ihipMalloc(void**, size_t, unsigned int)', declared here 439 | extern hipError_t ihipMalloc(void** ptr, size_t sizeBytes, unsigned int flags); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime.h:113, from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_surface.cpp:21: /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_surface.cpp:46:23: warning: unused variable 'info' [-Wunused-variable] 46 | const device::Info& info = device->info(); | ^~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:23: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t ihipCreateTextureObject(__hip_texture**, const hipResourceDesc*, const hipTextureDesc*, const hipResourceViewDesc*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:300:13: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result] 300 | ihipMalloc(&texObjectBuffer, sizeof(__hip_texture), CL_MEM_SVM_FINE_GRAIN_BUFFER); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:439:19: note: in call to 'hipError_t ihipMalloc(void**, size_t, unsigned int)', declared here 439 | extern hipError_t ihipMalloc(void** ptr, size_t sizeBytes, unsigned int flags); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime.h:113, from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:21: /builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here 317 | } hipError_t; | ^~~~~~~~~~ In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:25: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipCreateTextureObject(__hip_texture**, const hipResourceDesc*, const hipTextureDesc*, const hipResourceViewDesc*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:313:3: note: in expansion of macro 'HIP_INIT_API' 313 | HIP_INIT_API(hipCreateTextureObject, pTexObject, pResDesc, pTexDesc, pResViewDesc); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipDestroyTextureObject(hipTextureObject_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:376:3: note: in expansion of macro 'HIP_INIT_API' 376 | HIP_INIT_API(hipDestroyTextureObject, texObject); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipGetTextureObjectResourceDesc(hipResourceDesc*, hipTextureObject_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:400:3: note: in expansion of macro 'HIP_INIT_API' 400 | HIP_INIT_API(hipGetTextureObjectResourceDesc, pResDesc, texObject); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipGetTextureObjectResourceViewDesc(hipResourceViewDesc*, hipTextureObject_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:407:3: note: in expansion of macro 'HIP_INIT_API' 407 | HIP_INIT_API(hipGetTextureObjectResourceViewDesc, pResViewDesc, texObject); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipGetTextureObjectTextureDesc(hipTextureDesc*, hipTextureObject_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:426:3: note: in expansion of macro 'HIP_INIT_API' 426 | HIP_INIT_API(hipGetTextureObjectTextureDesc, pTexDesc, texObject); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipBindTexture2D(size_t*, const textureReference*, const void*, const hipChannelFormatDesc*, size_t, size_t, size_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:552:3: note: in expansion of macro 'HIP_INIT_API' 552 | HIP_INIT_API(hipBindTexture2D, offset, texref, devPtr, desc, width, height, pitch); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipBindTextureToArray(const textureReference*, hipArray_const_t, const hipChannelFormatDesc*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:602:3: note: in expansion of macro 'HIP_INIT_API' 602 | HIP_INIT_API(hipBindTextureToArray, texref, array, desc); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipBindTextureToMipmappedArray(const textureReference*, hipMipmappedArray_const_t, const hipChannelFormatDesc*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:651:3: note: in expansion of macro 'HIP_INIT_API' 651 | HIP_INIT_API(hipBindTextureToMipmappedArray, texref, mipmappedArray, desc); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipUnbindTexture(const textureReference*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:670:3: note: in expansion of macro 'HIP_INIT_API' 670 | HIP_INIT_API(hipUnbindTexture, texref); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipBindTexture(size_t*, const textureReference*, const void*, const hipChannelFormatDesc*, size_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:680:3: note: in expansion of macro 'HIP_INIT_API' 680 | HIP_INIT_API(hipBindTexture, offset, texref, devPtr, desc, size); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipGetChannelDesc(hipChannelFormatDesc*, hipArray_const_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:698:3: note: in expansion of macro 'HIP_INIT_API' 698 | HIP_INIT_API(hipGetChannelDesc, desc, array); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipGetTextureAlignmentOffset(size_t*, const textureReference*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:719:3: note: in expansion of macro 'HIP_INIT_API' 719 | HIP_INIT_API(hipGetTextureAlignmentOffset, offset, texref); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipGetTextureReference(const textureReference**, const void*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:738:3: note: in expansion of macro 'HIP_INIT_API' 738 | HIP_INIT_API(hipGetTextureReference, texref, symbol); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipTexRefSetFlags(textureReference*, unsigned int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:778:3: note: in expansion of macro 'HIP_INIT_API' 778 | HIP_INIT_API(hipTexRefSetFlags, texRef, Flags); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipTexRefSetFilterMode(textureReference*, hipTextureFilterMode)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:811:3: note: in expansion of macro 'HIP_INIT_API' 811 | HIP_INIT_API(hipTexRefSetFilterMode, texRef, fm); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipTexRefGetAddressMode(hipTextureAddressMode*, const textureReference*, int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:832:3: note: in expansion of macro 'HIP_INIT_API' 832 | HIP_INIT_API(hipTexRefGetAddressMode, pam, texRef, dim); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipTexRefSetAddressMode(textureReference*, int, hipTextureAddressMode)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:861:3: note: in expansion of macro 'HIP_INIT_API' 861 | HIP_INIT_API(hipTexRefSetAddressMode, texRef, dim, am); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipTexRefGetArray(hipArray**, const textureReference*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:889:3: note: in expansion of macro 'HIP_INIT_API' 889 | HIP_INIT_API(hipTexRefGetArray, pArray, texRef); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipTexRefGetBorderColor(float*, const textureReference*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:1093:3: note: in expansion of macro 'HIP_INIT_API' 1093 | HIP_INIT_API(hipTexRefGetBorderColor, pBorderColor, texRef); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipTexRefGetFilterMode(hipTextureFilterMode*, const textureReference*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:1115:3: note: in expansion of macro 'HIP_INIT_API' 1115 | HIP_INIT_API(hipTexRefGetFilterMode, pfm, texRef); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipTexRefGetMipmapFilterMode(hipTextureFilterMode*, const textureReference*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:1210:3: note: in expansion of macro 'HIP_INIT_API' 1210 | HIP_INIT_API(hipTexRefGetMipmapFilterMode, pfm, texRef); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipTexRefGetMipmappedArray(hipMipmappedArray**, const textureReference*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:1273:3: note: in expansion of macro 'HIP_INIT_API' 1273 | HIP_INIT_API(hipTexRefGetMipmappedArray, pArray, &texRef); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipTexRefSetMipmapFilterMode(textureReference*, hipTextureFilterMode)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:1348:3: note: in expansion of macro 'HIP_INIT_API' 1348 | HIP_INIT_API(hipTexRefSetMipmapFilterMode, texRef, fm); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipTexRefSetMipmapLevelBias(textureReference*, float)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:1367:3: note: in expansion of macro 'HIP_INIT_API' 1367 | HIP_INIT_API(hipTexRefSetMipmapLevelBias, texRef, bias); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipTexObjectCreate(__hip_texture**, const HIP_RESOURCE_DESC*, const HIP_TEXTURE_DESC*, const HIP_RESOURCE_VIEW_DESC*)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:1453:3: note: in expansion of macro 'HIP_INIT_API' 1453 | HIP_INIT_API(hipTexObjectCreate, pTexObject, pResDesc, pTexDesc, pResViewDesc); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipTexObjectDestroy(hipTextureObject_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:1471:3: note: in expansion of macro 'HIP_INIT_API' 1471 | HIP_INIT_API(hipTexObjectDestroy, texObject); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipTexObjectGetResourceDesc(HIP_RESOURCE_DESC*, hipTextureObject_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:1478:3: note: in expansion of macro 'HIP_INIT_API' 1478 | HIP_INIT_API(hipTexObjectGetResourceDesc, pResDesc, texObject); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipTexObjectGetResourceViewDesc(HIP_RESOURCE_VIEW_DESC*, hipTextureObject_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:1497:3: note: in expansion of macro 'HIP_INIT_API' 1497 | HIP_INIT_API(hipTexObjectGetResourceViewDesc, pResViewDesc, texObject); | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp: In function 'hipError_t hipTexObjectGetTextureDesc(HIP_TEXTURE_DESC*, hipTextureObject_t)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable] 38 | hip_api_data_t& api_data_ref = *api_data; \ | ^~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT' 123 | HIP_CB_SPAWNER_OBJECT(cid); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_texture.cpp:1516:3: note: in expansion of macro 'HIP_INIT_API' 1516 | HIP_INIT_API(hipTexObjectGetTextureDesc, pTexDesc, texObject); | ^~~~~~~~~~~~ [100%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_gl.cpp.o cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/usr/include/rocm-opencl -I/usr/include/rocclr -I/usr/include/rocclr/include -I/usr/include/rocclr/amdocl -I/usr/include/rocclr/elf -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/../HIP-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/include -I/builddir/build/BUILD/hipamd-rocm-5.1.0/build/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_gl.cpp.o -MF CMakeFiles/amdhip64.dir/hip_gl.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_gl.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_gl.cpp In file included from /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_gl.cpp:23: /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (int i = 0; i < queues_.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_gl.cpp: In function 'hipError_t hipGLGetDevices(unsigned int*, int*, unsigned int, hipGLDeviceList)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_gl.cpp:124:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 124 | for (int i = 0; i < hipDeviceCount; ++i) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_gl.cpp:137:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 137 | for (int i = 0; i < hipDeviceCount; ++i) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_gl.cpp: In function 'hipError_t hipGraphicsGLRegisterBuffer(hipGraphicsResource**, GLuint, unsigned int)': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_gl.cpp:548:9: warning: unused variable 'gliMapped' [-Wunused-variable] 548 | GLint gliMapped = 0; | ^~~~~~~~~ [100%] Linking CXX shared library ../lib/libamdhip64.so cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/amdhip64.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/hipamd-rocm-5.1.0/.package_note-rocm-hip-5.1.0-4.fc37.aarch64.ld -shared -Wl,-soname,libamdhip64.so.5 -o ../lib/libamdhip64.so.5.1.20531 CMakeFiles/amdhip64.dir/cl_gl.cpp.o CMakeFiles/amdhip64.dir/cl_lqdflash_amd.cpp.o CMakeFiles/amdhip64.dir/fixme.cpp.o CMakeFiles/amdhip64.dir/hip_activity.cpp.o CMakeFiles/amdhip64.dir/hip_code_object.cpp.o CMakeFiles/amdhip64.dir/hip_context.cpp.o CMakeFiles/amdhip64.dir/hip_device_runtime.cpp.o CMakeFiles/amdhip64.dir/hip_device.cpp.o CMakeFiles/amdhip64.dir/hip_error.cpp.o CMakeFiles/amdhip64.dir/hip_event.cpp.o CMakeFiles/amdhip64.dir/hip_event_ipc.cpp.o CMakeFiles/amdhip64.dir/hip_fatbin.cpp.o CMakeFiles/amdhip64.dir/hip_global.cpp.o CMakeFiles/amdhip64.dir/hip_graph_internal.cpp.o CMakeFiles/amdhip64.dir/hip_graph.cpp.o CMakeFiles/amdhip64.dir/hip_hmm.cpp.o CMakeFiles/amdhip64.dir/hip_intercept.cpp.o CMakeFiles/amdhip64.dir/hip_memory.cpp.o CMakeFiles/amdhip64.dir/hip_module.cpp.o CMakeFiles/amdhip64.dir/hip_peer.cpp.o CMakeFiles/amdhip64.dir/hip_platform.cpp.o CMakeFiles/amdhip64.dir/hip_profile.cpp.o CMakeFiles/amdhip64.dir/hip_rtc.cpp.o CMakeFiles/amdhip64.dir/hip_stream_ops.cpp.o CMakeFiles/amdhip64.dir/hip_stream.cpp.o CMakeFiles/amdhip64.dir/hip_surface.cpp.o CMakeFiles/amdhip64.dir/hip_texture.cpp.o CMakeFiles/amdhip64.dir/hip_gl.cpp.o ../hip_pch.o -L/builddir/build/BUILD/hipamd-rocm-5.1.0/src/PUBLIC -Wl,-rpath,/builddir/build/BUILD/hipamd-rocm-5.1.0/src/PUBLIC: hip_rtc_gen/hipRTC_header.o -Wl,--version-script=/builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_hcc.map.in -ldl -lrocclr In function 'copy', inlined from '__ct ' at /usr/include/c++/12/bits/basic_string.h:675:23, inlined from 'operator+' at /usr/include/c++/12/bits/basic_string.h:3562:46, inlined from 'isCodeObjectCompatibleWithDevice' at /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp:340:71, inlined from 'extractCodeObjectFromFatBinary' at /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp:450:43: /usr/include/c++/12/bits/char_traits.h:431:56: warning: '__builtin_memcpy' writing 20 bytes into a region of size 16 overflows the destination [-Wstringop-overflow=] 431 | return static_cast(__builtin_memcpy(__s1, __s2, __n)); | ^ /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp: In function 'extractCodeObjectFromFatBinary': /builddir/build/BUILD/hipamd-rocm-5.1.0/src/hip_code_object.cpp:340:73: note: at offset 16 into destination object '' of size 32 340 | if (!consume(co_triple_target_id, std::string(AMDGCN_TARGET_TRIPLE) + '-')) { | ^ cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/cmake -E cmake_symlink_library ../lib/libamdhip64.so.5.1.20531 ../lib/libamdhip64.so.5 ../lib/libamdhip64.so cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/cmake -E copy /builddir/build/BUILD/hipamd-rocm-5.1.0/build/.hipInfo /builddir/build/BUILD/hipamd-rocm-5.1.0/build/lib/.hipInfo cd /builddir/build/BUILD/hipamd-rocm-5.1.0/build/src && /usr/bin/cmake -E copy_directory /builddir/build/BUILD/hipamd-rocm-5.1.0/include /builddir/build/BUILD/hipamd-rocm-5.1.0/build/include gmake[2]: Leaving directory '/builddir/build/BUILD/hipamd-rocm-5.1.0/build' [100%] Built target amdhip64 gmake[1]: Leaving directory '/builddir/build/BUILD/hipamd-rocm-5.1.0/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/hipamd-rocm-5.1.0/build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yIZnkO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64 ++ dirname /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/hipamd-rocm-5.1.0/.package_note-rocm-hip-5.1.0-4.fc37.aarch64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hipamd-rocm-5.1.0 + cd build + DESTDIR=/builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64 + /usr/bin/cmake --install . -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/libhiprtc-builtins.so.5.1.20531 -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/libhiprtc-builtins.so.5 -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/libhiprtc-builtins.so -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/libamdhip64.so.5.1.20531 -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/libamdhip64.so.5 -- Set runtime path of "/builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/libamdhip64.so.5.1.20531" to "" -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/libamdhip64.so -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/cmake/hip/hip-targets.cmake -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/cmake/hip/hip-targets-relwithdebinfo.cmake -- Up-to-date: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/libamdhip64.so.5.1.20531 -- Up-to-date: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/libamdhip64.so.5 -- Up-to-date: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/libamdhip64.so -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/cmake/hip-lang/hip-lang-targets.cmake -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/cmake/hip-lang/hip-lang-targets-relwithdebinfo.cmake -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/cmake/hip-lang/hip-lang-config.cmake -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/cmake/hip-lang/hip-lang-config-version.cmake -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/.hipInfo -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/bin/.hipVersion -- Up-to-date: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./bin -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./bin/hipvars.pm -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./bin/hipdemangleatp -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./bin/hipconfig.pl -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./bin/hipconfig -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./bin/hipcc_cmake_linker_helper -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./bin/hipcc.pl -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./bin/hipcc -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./bin/hip_embed_pch.sh Removing /usr/include -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/nvidia_detail -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/nvidia_detail/nvidia_hiprtc.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/nvidia_detail/nvidia_hip_texture_types.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/nvidia_detail/nvidia_hip_runtime_api.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/nvidia_detail/nvidia_hip_runtime.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/nvidia_detail/nvidia_hip_cooperative_groups.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/nvidia_detail/nvidia_hip_complex.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/nvidia_detail/nvidia_channel_descriptor.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/nvcc_detail -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/hcc_detail -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/texture_indirect_functions.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/texture_fetch_functions.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/program_state.hpp -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/ockl_image.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/math_fwd.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/macro_based_grid_launch.hpp -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/llvm_intrinsics.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/hsa_helpers.hpp -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/host_defines.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/hip_runtime_prof.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/hip_prof_str.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/hip_memory.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/hip_ldg.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/hip_fp16_math_fwd.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/hip_fp16_gcc.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/hip_cooperative_groups_helper.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/helpers.hpp -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/grid_launch_GGL.hpp -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/grid_launch.hpp -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/grid_launch.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/functional_grid_launch.hpp -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/device_library_decls.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/concepts.hpp -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/amd_surface_functions.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/amd_math_functions.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/amd_hip_vector_types.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/amd_hip_unsafe_atomics.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/amd_hip_runtime.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/amd_hip_fp16.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/amd_hip_cooperative_groups.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/amd_hip_complex.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/amd_hip_common.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/amd_hip_atomic.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/amd_device_functions.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./include/hip/amd_detail/amd_channel_descriptor.h -- Up-to-date: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip/ -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//texture_types.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//surface_types.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//math_functions.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//library_types.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//hiprtc.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//hip_vector_types.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//hip_texture_types.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//hip_runtime_api.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//hip_runtime.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//hip_profile.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//hip_hcc.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//hip_fp16.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//hip_ext.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//hip_cooperative_groups.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//hip_complex.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//hip_common.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//hip_bfloat16.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//driver_types.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//device_functions.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip//channel_descriptor.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./cmake -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./cmake/FindHIP -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./cmake/FindHIP/run_make2cmake.cmake -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./cmake/FindHIP/run_hipcc.cmake -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./cmake/FindHIP.cmake -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip/amd_detail/hip_prof_str.h -- Up-to-date: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./bin -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./bin/roc-obj-ls -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./bin/roc-obj-extract -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/./bin/roc-obj -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/include/hip/hip_version.h -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/cmake/hip/hip-config.cmake -- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/cmake/hip/hip-config-version.cmake + mkdir -p /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/share/cmake + mv /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/cmake /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/share/cmake/Modules + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 5.1.0-4.fc37 --unique-debug-suffix -5.1.0-4.fc37.aarch64 --unique-debug-src-base rocm-hip-5.1.0-4.fc37.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/hipamd-rocm-5.1.0 extracting debug info from /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/libamdhip64.so.5.1.20531 extracting debug info from /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/libhiprtc-builtins.so.5.1.20531 This GDB supports auto-downloading debuginfo from the following URLs: https://debuginfod.fedoraproject.org/ Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] Debuginfod has been disabled. To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. gdb-add-index: No index was created for /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/lib64/libhiprtc-builtins.so.5.1.20531 gdb-add-index: [Was there no debuginfo? Was there already an index?] dwz: Too few files for multifile optimization original debug info size: 27560kB, size after compression: 23336kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 1 CRC32s did match. 3188 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/roc-obj from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/hip_embed_pch.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/hipcc from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/bin/hipcc.pl from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/bin/hipcc_cmake_linker_helper from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/hipconfig from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/bin/hipconfig.pl from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/bin/hipdemangleatp from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: rocm-hip-5.1.0-4.fc37.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WhVaGE + umask 022 + cd /builddir/build/BUILD + cd hipamd-rocm-5.1.0 + DOCDIR=/builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/share/doc/rocm-hip + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/share/doc/rocm-hip + cp -pr README.md /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/share/doc/rocm-hip + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.JcaefN + umask 022 + cd /builddir/build/BUILD + cd hipamd-rocm-5.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/share/licenses/rocm-hip + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/share/licenses/rocm-hip + cp -pr LICENSE.txt /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64/usr/share/licenses/rocm-hip + RPM_EC=0 ++ jobs -p + exit 0 Provides: libamdhip64.so.5()(64bit) libamdhip64.so.5(hip_4.2)(64bit) libamdhip64.so.5(hip_4.3)(64bit) libamdhip64.so.5(hip_4.4)(64bit) libamdhip64.so.5(hip_4.5)(64bit) libamdhip64.so.5(hip_5.0)(64bit) libhiprtc-builtins.so.5()(64bit) rocm-hip = 5.1.0-4.fc37 rocm-hip(aarch-64) = 5.1.0-4.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) librocclr.so.5.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: rocm-hip-devel-5.1.0-4.fc37.aarch64 Provides: cmake(hip) = 5.1.22180 cmake(hip-lang) = 5.1.22180 rocm-hip-devel = 5.1.0-4.fc37 rocm-hip-devel(aarch-64) = 5.1.0-4.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash /usr/bin/perl cmake-filesystem(aarch-64) libamdhip64.so.5()(64bit) libhiprtc-builtins.so.5()(64bit) Processing files: rocm-hip-debugsource-5.1.0-4.fc37.aarch64 Provides: rocm-hip-debugsource = 5.1.0-4.fc37 rocm-hip-debugsource(aarch-64) = 5.1.0-4.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rocm-hip-debuginfo-5.1.0-4.fc37.aarch64 Provides: debuginfo(build-id) = 1747fdb5300ae289a42cb970ffe25436cb17ebb5 debuginfo(build-id) = daef5184decd939aac0b97860a6ece2bd9877e51 libamdhip64.so.5.1.20531-5.1.0-4.fc37.aarch64.debug()(64bit) libhiprtc-builtins.so.5.1.20531-5.1.0-4.fc37.aarch64.debug()(64bit) rocm-hip-debuginfo = 5.1.0-4.fc37 rocm-hip-debuginfo(aarch-64) = 5.1.0-4.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rocm-hip-debugsource(aarch-64) = 5.1.0-4.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64 Wrote: /builddir/build/RPMS/rocm-hip-devel-5.1.0-4.fc37.aarch64.rpm Wrote: /builddir/build/RPMS/rocm-hip-debugsource-5.1.0-4.fc37.aarch64.rpm Wrote: /builddir/build/RPMS/rocm-hip-5.1.0-4.fc37.aarch64.rpm Wrote: /builddir/build/RPMS/rocm-hip-debuginfo-5.1.0-4.fc37.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.99P5rU + umask 022 + cd /builddir/build/BUILD + cd hipamd-rocm-5.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rocm-hip-5.1.0-4.fc37.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0