Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 719325 Details for
Bug 789717
dev-libs/rocm-opencl-runtime-4.1.0 error: ‘CL_COMMAND_GL_FENCE_SYNC_OBJECT_KHR’ was not declared in this scope; did you mean ‘CL_COMMAND_EGL_FENCE_SYNC_OBJECT_KHR’?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Failed build log after applying f3e27f81.patch
build.log (text/x-log), 108.22 KB, created by
A Schenck
on 2021-06-25 20:46:58 UTC
(
hide
)
Description:
Failed build log after applying f3e27f81.patch
Filename:
MIME Type:
Creator:
A Schenck
Created:
2021-06-25 20:46:58 UTC
Size:
108.22 KB
patch
obsolete
> * Package: dev-libs/rocm-opencl-runtime-4.1.0 > * Repository: gentoo > * Maintainer: candrews@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking rocm-opencl-runtime-4.1.0.tar.gz to /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work >>>> Source unpacked in /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work >>>> Preparing source in /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0 ... > * Applying rocm-opencl-runtime-3.7.0-change-install-location.patch ... > [ ok ] > * Applying rocm-opencl-runtime-3.5.0-do-not-install-libopencl.patch ... > [ ok ] > * Applying rocm-opencl-runtime-3.10.0-add-rocclr-include-directories.patch ... > [ ok ] > * Applying rocm-opencl-runtime-3.7.0-amdocl64icd.patch ... >patching file amdocl/CMakeLists.txt >Hunk #1 succeeded at 83 with fuzz 1 (offset 7 lines). > [ ok ] > * Applying f3e27f81adbed599baa2e34214ea19c84362f946.patch ... >patching file CMakeLists.txt >Hunk #1 succeeded at 16 with fuzz 1. >patching file amdocl/CMakeLists.txt >Hunk #1 succeeded at 20 (offset 1 line). >patching file amdocl/cl_execute.cpp >patching file amdocl/cl_icd.cpp >patching file khronos/headers/EGL/egl.h >patching file khronos/headers/EGL/eglext.h >patching file khronos/headers/EGL/eglplatform.h >patching file khronos/headers/GL/glext.h >patching file khronos/headers/KHR/khrplatform.h >patching file khronos/headers/opencl1.2/CL/cl.h >patching file khronos/headers/opencl1.2/CL/cl.hpp >patching file khronos/headers/opencl1.2/CL/cl_d3d10.h >patching file khronos/headers/opencl1.2/CL/cl_d3d11.h >patching file khronos/headers/opencl1.2/CL/cl_dx9_media_sharing.h >patching file khronos/headers/opencl1.2/CL/cl_ext.h >patching file khronos/headers/opencl1.2/CL/cl_gl.h >patching file khronos/headers/opencl1.2/CL/cl_gl_ext.h >patching file khronos/headers/opencl1.2/CL/cl_platform.h >patching file khronos/headers/opencl1.2/CL/opencl.h >patching file khronos/headers/opencl2.0/CL/cl.h >patching file khronos/headers/opencl2.0/CL/cl.hpp >patching file khronos/headers/opencl2.0/CL/cl2.hpp >patching file khronos/headers/opencl2.0/CL/cl_d3d10.h >patching file khronos/headers/opencl2.0/CL/cl_d3d11.h >patching file khronos/headers/opencl2.0/CL/cl_dx9_media_sharing.h >patching file khronos/headers/opencl2.0/CL/cl_egl.h >patching file khronos/headers/opencl2.0/CL/cl_ext.h >patching file khronos/headers/opencl2.0/CL/cl_gl.h >patching file khronos/headers/opencl2.0/CL/cl_gl_ext.h >patching file khronos/headers/opencl2.0/CL/cl_platform.h >patching file khronos/headers/opencl2.0/CL/opencl.h >patching file khronos/headers/opencl2.1/CL/cl.h >patching file khronos/headers/opencl2.1/CL/cl.hpp >patching file khronos/headers/opencl2.1/CL/cl2.hpp >patching file khronos/headers/opencl2.1/CL/cl_d3d10.h >patching file khronos/headers/opencl2.1/CL/cl_d3d11.h >patching file khronos/headers/opencl2.1/CL/cl_dx9_media_sharing.h >patching file khronos/headers/opencl2.1/CL/cl_egl.h >patching file khronos/headers/opencl2.1/CL/cl_ext.h >patching file khronos/headers/opencl2.1/CL/cl_gl.h >patching file khronos/headers/opencl2.1/CL/cl_gl_ext.h >patching file khronos/headers/opencl2.1/CL/cl_platform.h >patching file khronos/headers/opencl2.1/CL/opencl.h >patching file khronos/headers/opencl2.2/CL/cl.h >patching file khronos/headers/opencl2.2/CL/cl.hpp >patching file khronos/headers/opencl2.2/CL/cl2.hpp >patching file khronos/headers/opencl2.2/CL/cl_d3d10.h >patching file khronos/headers/opencl2.2/CL/cl_d3d11.h >patching file khronos/headers/opencl2.2/CL/cl_dx9_media_sharing.h >patching file khronos/headers/opencl2.2/CL/cl_dx9_media_sharing_intel.h >patching file khronos/headers/opencl2.2/CL/cl_egl.h >patching file khronos/headers/opencl2.2/CL/cl_ext.h >patching file khronos/headers/opencl2.2/CL/cl_ext_intel.h >patching file khronos/headers/opencl2.2/CL/cl_gl.h >patching file khronos/headers/opencl2.2/CL/cl_gl_ext.h >patching file khronos/headers/opencl2.2/CL/cl_icd.h >patching file khronos/headers/opencl2.2/CL/cl_platform.h >patching file khronos/headers/opencl2.2/CL/cl_va_api_media_sharing_intel.h >patching file khronos/headers/opencl2.2/CL/cl_version.h >patching file khronos/headers/opencl2.2/CL/opencl.h >patching file khronos/headers/opencl2.2/CODE_OF_CONDUCT.md >patching file khronos/headers/opencl2.2/LICENSE >patching file khronos/headers/opencl2.2/LICENSE.txt >patching file khronos/headers/opencl2.2/README.md >patching file khronos/headers/opencl2.2/tests/CMakeLists.txt >patching file khronos/headers/opencl2.2/tests/README.md >patching file khronos/headers/opencl2.2/tests/test_cl.h.c >patching file khronos/headers/opencl2.2/tests/test_cl_egl.h.c >patching file khronos/headers/opencl2.2/tests/test_cl_ext.h.c >patching file khronos/headers/opencl2.2/tests/test_cl_ext_intel.h.c >patching file khronos/headers/opencl2.2/tests/test_cl_gl.h.c >patching file khronos/headers/opencl2.2/tests/test_cl_gl_ext.h.c >patching file khronos/headers/opencl2.2/tests/test_cl_icd.h.c >patching file khronos/headers/opencl2.2/tests/test_cl_platform.h.c >patching file khronos/headers/opencl2.2/tests/test_cl_version.h.c >patching file khronos/headers/opencl2.2/tests/test_headers.c >patching file khronos/headers/opencl2.2/tests/test_opencl.h.c >patching file khronos/icd/.gitignore >patching file khronos/icd/CMakeLists.txt >patching file khronos/icd/CODE_OF_CONDUCT.md >patching file khronos/icd/LICENSE >patching file khronos/icd/LICENSE.txt >patching file khronos/icd/README.md >patching file khronos/icd/inc/README.txt >patching file khronos/icd/loader/icd.c >patching file khronos/icd/loader/icd.h >patching file khronos/icd/loader/icd_cmake_config.h.in >patching file khronos/icd/loader/icd_dispatch.c >patching file khronos/icd/loader/icd_dispatch.h >patching file khronos/icd/loader/icd_envvars.h >patching file khronos/icd/loader/icd_platform.h >patching file khronos/icd/loader/linux/icd_exports.map >patching file khronos/icd/loader/linux/icd_linux.c >patching file khronos/icd/loader/linux/icd_linux_envvars.c >patching file khronos/icd/loader/windows/OpenCL.def >patching file khronos/icd/loader/windows/OpenCL.rc >patching file khronos/icd/loader/windows/icd_windows.c >patching file khronos/icd/loader/windows/icd_windows.h >patching file khronos/icd/loader/windows/icd_windows_dxgk.c >patching file khronos/icd/loader/windows/icd_windows_dxgk.h >patching file khronos/icd/loader/windows/icd_windows_envvars.c >patching file khronos/icd/loader/windows/icd_windows_hkr.c >patching file khronos/icd/loader/windows/icd_windows_hkr.h >patching file khronos/icd/test/CMakeLists.txt >patching file khronos/icd/test/driver_stub/CMakeLists.txt >patching file khronos/icd/test/driver_stub/cl.c >patching file khronos/icd/test/driver_stub/cl_ext.c >patching file khronos/icd/test/driver_stub/cl_gl.c >patching file khronos/icd/test/driver_stub/driver_stub.def >patching file khronos/icd/test/driver_stub/icd.c >patching file khronos/icd/test/driver_stub/icd_driver_exports.map >patching file khronos/icd/test/driver_stub/icd_structs.h >patching file khronos/icd/test/driver_stub/rename_api.h >patching file khronos/icd/test/inc/platform/icd_test_log.h >patching file khronos/icd/test/loader_test/CMakeLists.txt >patching file khronos/icd/test/loader_test/callbacks.c >patching file khronos/icd/test/loader_test/icd_test_match.c >patching file khronos/icd/test/loader_test/main.c >patching file khronos/icd/test/loader_test/param_struct.h >patching file khronos/icd/test/loader_test/test_buffer_object.c >patching file khronos/icd/test/loader_test/test_cl_runtime.c >patching file khronos/icd/test/loader_test/test_clgl.c >patching file khronos/icd/test/loader_test/test_create_calls.c >patching file khronos/icd/test/loader_test/test_image_objects.c >patching file khronos/icd/test/loader_test/test_kernel.c >patching file khronos/icd/test/loader_test/test_platforms.c >patching file khronos/icd/test/loader_test/test_program_objects.c >patching file khronos/icd/test/loader_test/test_sampler_objects.c >patching file khronos/icd/test/log/CMakeLists.txt >patching file khronos/icd/test/log/icd_test_log.c >patching file packaging/rocm-opencl-dev.txt >patching file packaging/rocm-opencl.txt >patching file tools/cltrace/CMakeLists.txt >Hunk #1 succeeded at 6 with fuzz 1 (offset -2 lines). >patching file tools/cltrace/cltrace.cpp > [ ok ] > * Applying test2.patch ... >patching file CMakeLists.txt >Hunk #1 succeeded at 72 with fuzz 2 (offset 2 lines). >Hunk #2 succeeded at 94 with fuzz 2 (offset 1 line). >Hunk #3 succeeded at 159 (offset 65 lines). >Hunk #4 succeeded at 170 (offset 65 lines). > [ ok ] > * User patches applied. > * Working in BUILD_DIR: "/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/rocm-opencl-runtime-4.1.0_build" >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0 ... > * Working in BUILD_DIR: "/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/rocm-opencl-runtime-4.1.0_build" >cmake -C /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/rocm-opencl-runtime-4.1.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DUSE_COMGR_LIBRARY=yes -DROCclr_DIR=/usr/include/rocclr -DLIBROCclr_STATIC_DIR=/usr/lib/cmake/rocclr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/rocm-opencl-runtime-4.1.0_build/gentoo_toolchain.cmake /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0 >loading initial cache file /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/rocm-opencl-runtime-4.1.0_build/gentoo_common_config.cmake >-- The C compiler identification is GNU 10.3.0 >-- The CXX compiler identification is GNU 10.3.0 >-- Detecting C compiler ABI info >-- Detecting C compiler ABI info - done >-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-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/x86_64-pc-linux-gnu-g++ - skipped >-- Detecting CXX compile features >-- Detecting CXX compile features - done >-- Looking for CL_VERSION_2_2 >-- Looking for CL_VERSION_2_2 - found >-- Found OpenCL: /usr/lib64/libOpenCL.so (found version "2.2") >CMake Warning (dev) at CMakeLists.txt:44 (option): > Policy CMP0077 is not set: option() honors normal variables. Run "cmake > --help-policy CMP0077" for policy details. Use the cmake_policy command to > set the policy and suppress this warning. > > For compatibility with older versions of CMake, option is clearing the > normal variable 'USE_COMGR_LIBRARY'. >This warning is for project developers. Use -Wno-dev to suppress it. > >-- Looking for pthread.h >-- Looking for pthread.h - found >-- Performing Test CMAKE_HAVE_LIBC_PTHREAD >-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed >-- Check if compiler accepts -pthread >-- Check if compiler accepts -pthread - yes >-- Found Threads: TRUE >-- LINK_COMGR_STATIC :OFF >-- Code Object Manager found at /usr/lib/cmake/amd_comgr. >-- ROCclr at /usr/lib/cmake/rocclr >CMake Warning (dev) at /usr/share/cmake/Modules/FindOpenGL.cmake:315 (message): > Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when > available. Run "cmake --help-policy CMP0072" for policy details. Use the > cmake_policy command to set the policy and suppress this warning. > > FindOpenGL found both a legacy GL library: > > OPENGL_gl_LIBRARY: /usr/lib64/libGL.so > > and GLVND libraries for OpenGL and GLX: > > OPENGL_opengl_LIBRARY: /usr/lib64/libOpenGL.so > OPENGL_glx_LIBRARY: /usr/lib64/libGLX.so > > OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for > compatibility with CMake 3.10 and below the legacy GL library will be used. >Call Stack (most recent call first): > tests/ocltst/CMakeLists.txt:5 (find_package) >This warning is for project developers. Use -Wno-dev to suppress it. > >-- Found OpenGL: /usr/lib64/libOpenGL.so >-- Found GLEW: /usr/include (found version "2.2.0") >fatal: not a git repository (or any of the parent directories): .git >-- ROCM Installation path(ROCM_PATH): /opt/rocm >CMake Deprecation Warning at CMakeLists.txt:178 (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. > > >-- <<< Gentoo configuration >>> >Build type Gentoo >Install path /usr >Compiler flags: >C -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fcommon >C++ -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe >Linker flags: >Executable -Wl,-O1 -Wl,--as-needed >Module -Wl,-O1 -Wl,--as-needed >Shared -Wl,-O1 -Wl,--as-needed > >-- Configuring done >-- Generating done >-- Build files have been written to: /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/rocm-opencl-runtime-4.1.0_build >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0 ... > * Working in BUILD_DIR: "/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/rocm-opencl-runtime-4.1.0_build" >ninja -v -j10 -l8.0 >[1/37] /usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_d3d10.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_d3d10.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_d3d10.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_d3d10.cpp >[2/37] /usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_d3d9.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_d3d9.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_d3d9.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_d3d9.cpp >[3/37] /usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_sdi_amd.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_sdi_amd.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_sdi_amd.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp >FAILED: amdocl/CMakeFiles/amdocl64.dir/cl_sdi_amd.cpp.o >/usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_sdi_amd.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_sdi_amd.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_sdi_amd.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp >In file included from /usr/include/vdi_agent_amd.h:25, > from /usr/include/rocclr/platform/agent.hpp:27, > from /usr/include/rocclr/platform/command.hpp:34, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp:21: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/../amdocl/cl_icd_amd.h:159:33: error: expected initializer before âCL_EXT_SUFFIX__VERSION_2_0â > 159 | cl_int * /* errcode_ret */) CL_EXT_SUFFIX__VERSION_2_0; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/rocclr/device/device.hpp:29, > from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp:21: >/usr/include/rocclr/platform/memory.hpp:358:3: error: âcl_bus_address_amdâ does not name a type > 358 | cl_bus_address_amd busAddress_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:392:3: error: âcl_bus_address_amdâ does not name a type > 392 | cl_bus_address_amd busAddress() const { return busAddress_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:623:3: error: âcl_file_flags_amdâ does not name a type; did you mean âcl_file_amdâ? > 623 | cl_file_flags_amd flags_; > | ^~~~~~~~~~~~~~~~~ > | cl_file_amd >/usr/include/rocclr/platform/memory.hpp:629:40: error: âcl_file_flags_amdâ has not been declared > 629 | LiquidFlashFile(const wchar_t* name, cl_file_flags_amd flags) > | ^~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp: In constructor âamd::LiquidFlashFile::LiquidFlashFile(const wchar_t*, int)â: >/usr/include/rocclr/platform/memory.hpp:630:22: error: class âamd::LiquidFlashFileâ does not have any field named âflags_â > 630 | : name_(name), flags_(flags), handle_(NULL), blockSize_(0), fileSize_(0) {} > | ^~~~~~ >In file included from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp:21: >/usr/include/rocclr/device/device.hpp: At global scope: >/usr/include/rocclr/device/device.hpp:456:3: error: âcl_device_topology_amdâ does not name a type > 456 | cl_device_topology_amd deviceTopology_; > | ^~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp:21: >/usr/include/rocclr/platform/command.hpp:1140:3: error: âcl_bus_address_amdâ does not name a type > 1140 | cl_bus_address_amd* busAddresses_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1146:30: error: âcl_bus_address_amdâ has not been declared > 1146 | cl_bus_address_amd* busAddr) > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1165:3: error: âcl_bus_address_amdâ does not name a type > 1165 | cl_bus_address_amd* busAddress() const { return busAddresses_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: In constructor âamd::MakeBuffersResidentCommand::MakeBuffersResidentCommand(amd::HostQueue&, cl_command_type, const EventWaitList&, const std::vector<amd::Memory*>&, int*)â: >/usr/include/rocclr/platform/command.hpp:1147:46: error: class âamd::MakeBuffersResidentCommandâ does not have any field named âbusAddresses_â > 1147 | : Command(queue, type, eventWaitList), busAddresses_(busAddr) { > | ^~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: At global scope: >/usr/include/rocclr/platform/command.hpp:1323:48: error: âCL_MEM_USE_PERSISTENT_MEM_AMDâ was not declared in this scope > 1323 | static constexpr uint StagingBufferMemType = CL_MEM_USE_PERSISTENT_MEM_AMD; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp:22: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.h:33:55: error: expected initializer before âCL_EXT_SUFFIX__VERSION_1_2â > 33 | const cl_event* event_wait_list, cl_event* event) CL_EXT_SUFFIX__VERSION_1_2; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.h:38:70: error: expected initializer before âCL_EXT_SUFFIX__VERSION_1_2â > 38 | cl_uint num_events, const cl_event* event_list, cl_event* event) CL_EXT_SUFFIX__VERSION_1_2; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.h:43:37: error: âcl_bus_address_amdâ has not been declared > 43 | cl_bool blocking_make_resident, cl_bus_address_amd* bus_addresses, cl_uint num_events, > | ^~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.h:44:50: error: expected initializer before âCL_EXT_SUFFIX__VERSION_1_2â > 44 | const cl_event* event_list, cl_event* event) CL_EXT_SUFFIX__VERSION_1_2; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp: In function âcl_int clEnqueueWaitSignalAMD(cl_command_queue, cl_mem, cl_uint, cl_uint, _cl_event* const*, _cl_event**)â: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp:45:33: error: âCL_MEM_BUS_ADDRESSABLE_AMDâ was not declared in this scope > 45 | if (!(buffer->getMemFlags() & CL_MEM_BUS_ADDRESSABLE_AMD)) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp:68:41: error: âCL_COMMAND_WAIT_SIGNAL_AMDâ was not declared in this scope > 68 | new amd::SignalCommand(hostQueue, CL_COMMAND_WAIT_SIGNAL_AMD, eventWaitList, *buffer, value); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp: In function âcl_int clEnqueueWriteSignalAMD(cl_command_queue, cl_mem, cl_uint, cl_ulong, cl_uint, _cl_event* const*, _cl_event**)â: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp:110:33: error: âCL_MEM_EXTERNAL_PHYSICAL_AMDâ was not declared in this scope > 110 | if (!(buffer->getMemFlags() & CL_MEM_EXTERNAL_PHYSICAL_AMD)) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp:136:67: error: âCL_COMMAND_WRITE_SIGNAL_AMDâ was not declared in this scope; did you mean âCL_COMMAND_WRITE_IMAGEâ? > 136 | amd::SignalCommand* command = new amd::SignalCommand(hostQueue, CL_COMMAND_WRITE_SIGNAL_AMD, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > | CL_COMMAND_WRITE_IMAGE >In file included from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp:21: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp: At global scope: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp:163:48: error: âcl_bus_address_amdâ has not been declared > 163 | cl_bool blocking_make_resident, cl_bus_address_amd* bus_addresses, > | ^~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp: In function âcl_int clEnqueueMakeBuffersResidentAMD(cl_command_queue, cl_uint, _cl_mem**, cl_bool, int*, cl_uint, _cl_event* const*, _cl_event**)â: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp:177:35: error: âcl_bus_address_amdâ was not declared in this scope > 177 | memset(bus_addresses, 0, sizeof(cl_bus_address_amd) * num_mem_objs); > | ^~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp:196:35: error: âCL_MEM_BUS_ADDRESSABLE_AMDâ was not declared in this scope > 196 | if (!(buffer->getMemFlags() & CL_MEM_BUS_ADDRESSABLE_AMD)) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sdi_amd.cpp:216:18: error: âCL_COMMAND_MAKE_BUFFERS_RESIDENT_AMDâ was not declared in this scope > 216 | hostQueue, CL_COMMAND_MAKE_BUFFERS_RESIDENT_AMD, eventWaitList, memObjects, bus_addresses); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[4/37] /usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_sampler.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_sampler.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_sampler.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sampler.cpp >FAILED: amdocl/CMakeFiles/amdocl64.dir/cl_sampler.cpp.o >/usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_sampler.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_sampler.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_sampler.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sampler.cpp >In file included from /usr/include/vdi_agent_amd.h:25, > from /usr/include/rocclr/platform/agent.hpp:27, > from /usr/include/rocclr/platform/command.hpp:34, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sampler.cpp:21: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/../amdocl/cl_icd_amd.h:159:33: error: expected initializer before âCL_EXT_SUFFIX__VERSION_2_0â > 159 | cl_int * /* errcode_ret */) CL_EXT_SUFFIX__VERSION_2_0; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/rocclr/device/device.hpp:29, > from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sampler.cpp:21: >/usr/include/rocclr/platform/memory.hpp:358:3: error: âcl_bus_address_amdâ does not name a type > 358 | cl_bus_address_amd busAddress_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:392:3: error: âcl_bus_address_amdâ does not name a type > 392 | cl_bus_address_amd busAddress() const { return busAddress_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:623:3: error: âcl_file_flags_amdâ does not name a type; did you mean âcl_file_amdâ? > 623 | cl_file_flags_amd flags_; > | ^~~~~~~~~~~~~~~~~ > | cl_file_amd >/usr/include/rocclr/platform/memory.hpp:629:40: error: âcl_file_flags_amdâ has not been declared > 629 | LiquidFlashFile(const wchar_t* name, cl_file_flags_amd flags) > | ^~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp: In constructor âamd::LiquidFlashFile::LiquidFlashFile(const wchar_t*, int)â: >/usr/include/rocclr/platform/memory.hpp:630:22: error: class âamd::LiquidFlashFileâ does not have any field named âflags_â > 630 | : name_(name), flags_(flags), handle_(NULL), blockSize_(0), fileSize_(0) {} > | ^~~~~~ >In file included from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sampler.cpp:21: >/usr/include/rocclr/device/device.hpp: At global scope: >/usr/include/rocclr/device/device.hpp:456:3: error: âcl_device_topology_amdâ does not name a type > 456 | cl_device_topology_amd deviceTopology_; > | ^~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_sampler.cpp:21: >/usr/include/rocclr/platform/command.hpp:1140:3: error: âcl_bus_address_amdâ does not name a type > 1140 | cl_bus_address_amd* busAddresses_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1146:30: error: âcl_bus_address_amdâ has not been declared > 1146 | cl_bus_address_amd* busAddr) > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1165:3: error: âcl_bus_address_amdâ does not name a type > 1165 | cl_bus_address_amd* busAddress() const { return busAddresses_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: In constructor âamd::MakeBuffersResidentCommand::MakeBuffersResidentCommand(amd::HostQueue&, cl_command_type, const EventWaitList&, const std::vector<amd::Memory*>&, int*)â: >/usr/include/rocclr/platform/command.hpp:1147:46: error: class âamd::MakeBuffersResidentCommandâ does not have any field named âbusAddresses_â > 1147 | : Command(queue, type, eventWaitList), busAddresses_(busAddr) { > | ^~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: At global scope: >/usr/include/rocclr/platform/command.hpp:1323:48: error: âCL_MEM_USE_PERSISTENT_MEM_AMDâ was not declared in this scope > 1323 | static constexpr uint StagingBufferMemType = CL_MEM_USE_PERSISTENT_MEM_AMD; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[5/37] /usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_debugger_amd.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_debugger_amd.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_debugger_amd.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_debugger_amd.cpp >FAILED: amdocl/CMakeFiles/amdocl64.dir/cl_debugger_amd.cpp.o >/usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_debugger_amd.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_debugger_amd.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_debugger_amd.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_debugger_amd.cpp >In file included from /usr/include/vdi_agent_amd.h:25, > from /usr/include/rocclr/platform/agent.hpp:27, > from /usr/include/rocclr/platform/command.hpp:34, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_debugger_amd.cpp:21: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/../amdocl/cl_icd_amd.h:159:33: error: expected initializer before âCL_EXT_SUFFIX__VERSION_2_0â > 159 | cl_int * /* errcode_ret */) CL_EXT_SUFFIX__VERSION_2_0; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/rocclr/device/device.hpp:29, > from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_debugger_amd.cpp:21: >/usr/include/rocclr/platform/memory.hpp:358:3: error: âcl_bus_address_amdâ does not name a type > 358 | cl_bus_address_amd busAddress_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:392:3: error: âcl_bus_address_amdâ does not name a type > 392 | cl_bus_address_amd busAddress() const { return busAddress_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:623:3: error: âcl_file_flags_amdâ does not name a type; did you mean âcl_file_amdâ? > 623 | cl_file_flags_amd flags_; > | ^~~~~~~~~~~~~~~~~ > | cl_file_amd >/usr/include/rocclr/platform/memory.hpp:629:40: error: âcl_file_flags_amdâ has not been declared > 629 | LiquidFlashFile(const wchar_t* name, cl_file_flags_amd flags) > | ^~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp: In constructor âamd::LiquidFlashFile::LiquidFlashFile(const wchar_t*, int)â: >/usr/include/rocclr/platform/memory.hpp:630:22: error: class âamd::LiquidFlashFileâ does not have any field named âflags_â > 630 | : name_(name), flags_(flags), handle_(NULL), blockSize_(0), fileSize_(0) {} > | ^~~~~~ >In file included from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_debugger_amd.cpp:21: >/usr/include/rocclr/device/device.hpp: At global scope: >/usr/include/rocclr/device/device.hpp:456:3: error: âcl_device_topology_amdâ does not name a type > 456 | cl_device_topology_amd deviceTopology_; > | ^~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_debugger_amd.cpp:21: >/usr/include/rocclr/platform/command.hpp:1140:3: error: âcl_bus_address_amdâ does not name a type > 1140 | cl_bus_address_amd* busAddresses_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1146:30: error: âcl_bus_address_amdâ has not been declared > 1146 | cl_bus_address_amd* busAddr) > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1165:3: error: âcl_bus_address_amdâ does not name a type > 1165 | cl_bus_address_amd* busAddress() const { return busAddresses_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: In constructor âamd::MakeBuffersResidentCommand::MakeBuffersResidentCommand(amd::HostQueue&, cl_command_type, const EventWaitList&, const std::vector<amd::Memory*>&, int*)â: >/usr/include/rocclr/platform/command.hpp:1147:46: error: class âamd::MakeBuffersResidentCommandâ does not have any field named âbusAddresses_â > 1147 | : Command(queue, type, eventWaitList), busAddresses_(busAddr) { > | ^~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: At global scope: >/usr/include/rocclr/platform/command.hpp:1323:48: error: âCL_MEM_USE_PERSISTENT_MEM_AMDâ was not declared in this scope > 1323 | static constexpr uint StagingBufferMemType = CL_MEM_USE_PERSISTENT_MEM_AMD; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[6/37] /usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_thread_trace_amd.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_thread_trace_amd.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_thread_trace_amd.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_thread_trace_amd.cpp >FAILED: amdocl/CMakeFiles/amdocl64.dir/cl_thread_trace_amd.cpp.o >/usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_thread_trace_amd.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_thread_trace_amd.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_thread_trace_amd.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_thread_trace_amd.cpp >In file included from /usr/include/vdi_agent_amd.h:25, > from /usr/include/rocclr/platform/agent.hpp:27, > from /usr/include/rocclr/platform/command.hpp:34, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_thread_trace_amd.cpp:21: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/../amdocl/cl_icd_amd.h:159:33: error: expected initializer before âCL_EXT_SUFFIX__VERSION_2_0â > 159 | cl_int * /* errcode_ret */) CL_EXT_SUFFIX__VERSION_2_0; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/rocclr/device/device.hpp:29, > from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_thread_trace_amd.cpp:21: >/usr/include/rocclr/platform/memory.hpp:358:3: error: âcl_bus_address_amdâ does not name a type > 358 | cl_bus_address_amd busAddress_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:392:3: error: âcl_bus_address_amdâ does not name a type > 392 | cl_bus_address_amd busAddress() const { return busAddress_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:623:3: error: âcl_file_flags_amdâ does not name a type; did you mean âcl_file_amdâ? > 623 | cl_file_flags_amd flags_; > | ^~~~~~~~~~~~~~~~~ > | cl_file_amd >/usr/include/rocclr/platform/memory.hpp:629:40: error: âcl_file_flags_amdâ has not been declared > 629 | LiquidFlashFile(const wchar_t* name, cl_file_flags_amd flags) > | ^~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp: In constructor âamd::LiquidFlashFile::LiquidFlashFile(const wchar_t*, int)â: >/usr/include/rocclr/platform/memory.hpp:630:22: error: class âamd::LiquidFlashFileâ does not have any field named âflags_â > 630 | : name_(name), flags_(flags), handle_(NULL), blockSize_(0), fileSize_(0) {} > | ^~~~~~ >In file included from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_thread_trace_amd.cpp:21: >/usr/include/rocclr/device/device.hpp: At global scope: >/usr/include/rocclr/device/device.hpp:456:3: error: âcl_device_topology_amdâ does not name a type > 456 | cl_device_topology_amd deviceTopology_; > | ^~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_thread_trace_amd.cpp:21: >/usr/include/rocclr/platform/command.hpp:1140:3: error: âcl_bus_address_amdâ does not name a type > 1140 | cl_bus_address_amd* busAddresses_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1146:30: error: âcl_bus_address_amdâ has not been declared > 1146 | cl_bus_address_amd* busAddr) > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1165:3: error: âcl_bus_address_amdâ does not name a type > 1165 | cl_bus_address_amd* busAddress() const { return busAddresses_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: In constructor âamd::MakeBuffersResidentCommand::MakeBuffersResidentCommand(amd::HostQueue&, cl_command_type, const EventWaitList&, const std::vector<amd::Memory*>&, int*)â: >/usr/include/rocclr/platform/command.hpp:1147:46: error: class âamd::MakeBuffersResidentCommandâ does not have any field named âbusAddresses_â > 1147 | : Command(queue, type, eventWaitList), busAddresses_(busAddr) { > | ^~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: At global scope: >/usr/include/rocclr/platform/command.hpp:1323:48: error: âCL_MEM_USE_PERSISTENT_MEM_AMDâ was not declared in this scope > 1323 | static constexpr uint StagingBufferMemType = CL_MEM_USE_PERSISTENT_MEM_AMD; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[7/37] /usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_counter.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_counter.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_counter.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_counter.cpp >FAILED: amdocl/CMakeFiles/amdocl64.dir/cl_counter.cpp.o >/usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_counter.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_counter.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_counter.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_counter.cpp >In file included from /usr/include/vdi_agent_amd.h:25, > from /usr/include/rocclr/platform/agent.hpp:27, > from /usr/include/rocclr/platform/command.hpp:34, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_counter.cpp:21: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/../amdocl/cl_icd_amd.h:159:33: error: expected initializer before âCL_EXT_SUFFIX__VERSION_2_0â > 159 | cl_int * /* errcode_ret */) CL_EXT_SUFFIX__VERSION_2_0; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/rocclr/device/device.hpp:29, > from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_counter.cpp:21: >/usr/include/rocclr/platform/memory.hpp:358:3: error: âcl_bus_address_amdâ does not name a type > 358 | cl_bus_address_amd busAddress_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:392:3: error: âcl_bus_address_amdâ does not name a type > 392 | cl_bus_address_amd busAddress() const { return busAddress_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:623:3: error: âcl_file_flags_amdâ does not name a type; did you mean âcl_file_amdâ? > 623 | cl_file_flags_amd flags_; > | ^~~~~~~~~~~~~~~~~ > | cl_file_amd >/usr/include/rocclr/platform/memory.hpp:629:40: error: âcl_file_flags_amdâ has not been declared > 629 | LiquidFlashFile(const wchar_t* name, cl_file_flags_amd flags) > | ^~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp: In constructor âamd::LiquidFlashFile::LiquidFlashFile(const wchar_t*, int)â: >/usr/include/rocclr/platform/memory.hpp:630:22: error: class âamd::LiquidFlashFileâ does not have any field named âflags_â > 630 | : name_(name), flags_(flags), handle_(NULL), blockSize_(0), fileSize_(0) {} > | ^~~~~~ >In file included from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_counter.cpp:21: >/usr/include/rocclr/device/device.hpp: At global scope: >/usr/include/rocclr/device/device.hpp:456:3: error: âcl_device_topology_amdâ does not name a type > 456 | cl_device_topology_amd deviceTopology_; > | ^~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_counter.cpp:21: >/usr/include/rocclr/platform/command.hpp:1140:3: error: âcl_bus_address_amdâ does not name a type > 1140 | cl_bus_address_amd* busAddresses_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1146:30: error: âcl_bus_address_amdâ has not been declared > 1146 | cl_bus_address_amd* busAddr) > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1165:3: error: âcl_bus_address_amdâ does not name a type > 1165 | cl_bus_address_amd* busAddress() const { return busAddresses_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: In constructor âamd::MakeBuffersResidentCommand::MakeBuffersResidentCommand(amd::HostQueue&, cl_command_type, const EventWaitList&, const std::vector<amd::Memory*>&, int*)â: >/usr/include/rocclr/platform/command.hpp:1147:46: error: class âamd::MakeBuffersResidentCommandâ does not have any field named âbusAddresses_â > 1147 | : Command(queue, type, eventWaitList), busAddresses_(busAddr) { > | ^~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: At global scope: >/usr/include/rocclr/platform/command.hpp:1323:48: error: âCL_MEM_USE_PERSISTENT_MEM_AMDâ was not declared in this scope > 1323 | static constexpr uint StagingBufferMemType = CL_MEM_USE_PERSISTENT_MEM_AMD; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[8/37] /usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_command.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_command.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_command.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_command.cpp >FAILED: amdocl/CMakeFiles/amdocl64.dir/cl_command.cpp.o >/usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_command.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_command.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_command.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_command.cpp >In file included from /usr/include/vdi_agent_amd.h:25, > from /usr/include/rocclr/platform/agent.hpp:27, > from /usr/include/rocclr/platform/command.hpp:34, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_command.cpp:21: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/../amdocl/cl_icd_amd.h:159:33: error: expected initializer before âCL_EXT_SUFFIX__VERSION_2_0â > 159 | cl_int * /* errcode_ret */) CL_EXT_SUFFIX__VERSION_2_0; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/rocclr/device/device.hpp:29, > from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_command.cpp:21: >/usr/include/rocclr/platform/memory.hpp:358:3: error: âcl_bus_address_amdâ does not name a type > 358 | cl_bus_address_amd busAddress_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:392:3: error: âcl_bus_address_amdâ does not name a type > 392 | cl_bus_address_amd busAddress() const { return busAddress_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:623:3: error: âcl_file_flags_amdâ does not name a type; did you mean âcl_file_amdâ? > 623 | cl_file_flags_amd flags_; > | ^~~~~~~~~~~~~~~~~ > | cl_file_amd >/usr/include/rocclr/platform/memory.hpp:629:40: error: âcl_file_flags_amdâ has not been declared > 629 | LiquidFlashFile(const wchar_t* name, cl_file_flags_amd flags) > | ^~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp: In constructor âamd::LiquidFlashFile::LiquidFlashFile(const wchar_t*, int)â: >/usr/include/rocclr/platform/memory.hpp:630:22: error: class âamd::LiquidFlashFileâ does not have any field named âflags_â > 630 | : name_(name), flags_(flags), handle_(NULL), blockSize_(0), fileSize_(0) {} > | ^~~~~~ >In file included from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_command.cpp:21: >/usr/include/rocclr/device/device.hpp: At global scope: >/usr/include/rocclr/device/device.hpp:456:3: error: âcl_device_topology_amdâ does not name a type > 456 | cl_device_topology_amd deviceTopology_; > | ^~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_command.cpp:21: >/usr/include/rocclr/platform/command.hpp:1140:3: error: âcl_bus_address_amdâ does not name a type > 1140 | cl_bus_address_amd* busAddresses_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1146:30: error: âcl_bus_address_amdâ has not been declared > 1146 | cl_bus_address_amd* busAddr) > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1165:3: error: âcl_bus_address_amdâ does not name a type > 1165 | cl_bus_address_amd* busAddress() const { return busAddresses_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: In constructor âamd::MakeBuffersResidentCommand::MakeBuffersResidentCommand(amd::HostQueue&, cl_command_type, const EventWaitList&, const std::vector<amd::Memory*>&, int*)â: >/usr/include/rocclr/platform/command.hpp:1147:46: error: class âamd::MakeBuffersResidentCommandâ does not have any field named âbusAddresses_â > 1147 | : Command(queue, type, eventWaitList), busAddresses_(busAddr) { > | ^~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: At global scope: >/usr/include/rocclr/platform/command.hpp:1323:48: error: âCL_MEM_USE_PERSISTENT_MEM_AMDâ was not declared in this scope > 1323 | static constexpr uint StagingBufferMemType = CL_MEM_USE_PERSISTENT_MEM_AMD; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_command.cpp: In function âcl_int clGetCommandQueueInfo(cl_command_queue, cl_command_queue_info, size_t, void*, size_t*)â: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_command.cpp:348:10: error: âCL_QUEUE_THREAD_HANDLE_AMDâ was not declared in this scope > 348 | case CL_QUEUE_THREAD_HANDLE_AMD: { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >[9/37] /usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_svm.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_svm.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_svm.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_svm.cpp >FAILED: amdocl/CMakeFiles/amdocl64.dir/cl_svm.cpp.o >/usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_svm.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_svm.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_svm.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_svm.cpp >In file included from /usr/include/vdi_agent_amd.h:25, > from /usr/include/rocclr/platform/agent.hpp:27, > from /usr/include/rocclr/platform/command.hpp:34, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_svm.cpp:21: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/../amdocl/cl_icd_amd.h:159:33: error: expected initializer before âCL_EXT_SUFFIX__VERSION_2_0â > 159 | cl_int * /* errcode_ret */) CL_EXT_SUFFIX__VERSION_2_0; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/rocclr/device/device.hpp:29, > from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_svm.cpp:21: >/usr/include/rocclr/platform/memory.hpp:358:3: error: âcl_bus_address_amdâ does not name a type > 358 | cl_bus_address_amd busAddress_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:392:3: error: âcl_bus_address_amdâ does not name a type > 392 | cl_bus_address_amd busAddress() const { return busAddress_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:623:3: error: âcl_file_flags_amdâ does not name a type; did you mean âcl_file_amdâ? > 623 | cl_file_flags_amd flags_; > | ^~~~~~~~~~~~~~~~~ > | cl_file_amd >/usr/include/rocclr/platform/memory.hpp:629:40: error: âcl_file_flags_amdâ has not been declared > 629 | LiquidFlashFile(const wchar_t* name, cl_file_flags_amd flags) > | ^~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp: In constructor âamd::LiquidFlashFile::LiquidFlashFile(const wchar_t*, int)â: >/usr/include/rocclr/platform/memory.hpp:630:22: error: class âamd::LiquidFlashFileâ does not have any field named âflags_â > 630 | : name_(name), flags_(flags), handle_(NULL), blockSize_(0), fileSize_(0) {} > | ^~~~~~ >In file included from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_svm.cpp:21: >/usr/include/rocclr/device/device.hpp: At global scope: >/usr/include/rocclr/device/device.hpp:456:3: error: âcl_device_topology_amdâ does not name a type > 456 | cl_device_topology_amd deviceTopology_; > | ^~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_svm.cpp:21: >/usr/include/rocclr/platform/command.hpp:1140:3: error: âcl_bus_address_amdâ does not name a type > 1140 | cl_bus_address_amd* busAddresses_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1146:30: error: âcl_bus_address_amdâ has not been declared > 1146 | cl_bus_address_amd* busAddr) > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1165:3: error: âcl_bus_address_amdâ does not name a type > 1165 | cl_bus_address_amd* busAddress() const { return busAddresses_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: In constructor âamd::MakeBuffersResidentCommand::MakeBuffersResidentCommand(amd::HostQueue&, cl_command_type, const EventWaitList&, const std::vector<amd::Memory*>&, int*)â: >/usr/include/rocclr/platform/command.hpp:1147:46: error: class âamd::MakeBuffersResidentCommandâ does not have any field named âbusAddresses_â > 1147 | : Command(queue, type, eventWaitList), busAddresses_(busAddr) { > | ^~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: At global scope: >/usr/include/rocclr/platform/command.hpp:1323:48: error: âCL_MEM_USE_PERSISTENT_MEM_AMDâ was not declared in this scope > 1323 | static constexpr uint StagingBufferMemType = CL_MEM_USE_PERSISTENT_MEM_AMD; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_svm.cpp: In function âcl_int clSetKernelExecInfo(cl_kernel, cl_kernel_exec_info, size_t, const void*)â: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_svm.cpp:1029:10: error: âCL_KERNEL_EXEC_INFO_NEW_VCOP_AMDâ was not declared in this scope; did you mean âCL_KERNEL_EXEC_INFO_SVM_PTRS_ARMâ? > 1029 | case CL_KERNEL_EXEC_INFO_NEW_VCOP_AMD: > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | CL_KERNEL_EXEC_INFO_SVM_PTRS_ARM >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_svm.cpp:1037:10: error: âCL_KERNEL_EXEC_INFO_PFPA_VCOP_AMDâ was not declared in this scope; did you mean âCL_KERNEL_EXEC_INFO_SVM_PTRS_ARMâ? > 1037 | case CL_KERNEL_EXEC_INFO_PFPA_VCOP_AMD: > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | CL_KERNEL_EXEC_INFO_SVM_PTRS_ARM >[10/37] /usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_device.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_device.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_device.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_device.cpp >FAILED: amdocl/CMakeFiles/amdocl64.dir/cl_device.cpp.o >/usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_device.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_device.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_device.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_device.cpp >In file included from /usr/include/vdi_agent_amd.h:25, > from /usr/include/rocclr/platform/agent.hpp:27, > from /usr/include/rocclr/platform/command.hpp:34, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_device.cpp:21: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/../amdocl/cl_icd_amd.h:159:33: error: expected initializer before âCL_EXT_SUFFIX__VERSION_2_0â > 159 | cl_int * /* errcode_ret */) CL_EXT_SUFFIX__VERSION_2_0; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/rocclr/device/device.hpp:29, > from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_device.cpp:21: >/usr/include/rocclr/platform/memory.hpp:358:3: error: âcl_bus_address_amdâ does not name a type > 358 | cl_bus_address_amd busAddress_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:392:3: error: âcl_bus_address_amdâ does not name a type > 392 | cl_bus_address_amd busAddress() const { return busAddress_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:623:3: error: âcl_file_flags_amdâ does not name a type; did you mean âcl_file_amdâ? > 623 | cl_file_flags_amd flags_; > | ^~~~~~~~~~~~~~~~~ > | cl_file_amd >/usr/include/rocclr/platform/memory.hpp:629:40: error: âcl_file_flags_amdâ has not been declared > 629 | LiquidFlashFile(const wchar_t* name, cl_file_flags_amd flags) > | ^~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp: In constructor âamd::LiquidFlashFile::LiquidFlashFile(const wchar_t*, int)â: >/usr/include/rocclr/platform/memory.hpp:630:22: error: class âamd::LiquidFlashFileâ does not have any field named âflags_â > 630 | : name_(name), flags_(flags), handle_(NULL), blockSize_(0), fileSize_(0) {} > | ^~~~~~ >In file included from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_device.cpp:21: >/usr/include/rocclr/device/device.hpp: At global scope: >/usr/include/rocclr/device/device.hpp:456:3: error: âcl_device_topology_amdâ does not name a type > 456 | cl_device_topology_amd deviceTopology_; > | ^~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_device.cpp:21: >/usr/include/rocclr/platform/command.hpp:1140:3: error: âcl_bus_address_amdâ does not name a type > 1140 | cl_bus_address_amd* busAddresses_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1146:30: error: âcl_bus_address_amdâ has not been declared > 1146 | cl_bus_address_amd* busAddr) > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1165:3: error: âcl_bus_address_amdâ does not name a type > 1165 | cl_bus_address_amd* busAddress() const { return busAddresses_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: In constructor âamd::MakeBuffersResidentCommand::MakeBuffersResidentCommand(amd::HostQueue&, cl_command_type, const EventWaitList&, const std::vector<amd::Memory*>&, int*)â: >/usr/include/rocclr/platform/command.hpp:1147:46: error: class âamd::MakeBuffersResidentCommandâ does not have any field named âbusAddresses_â > 1147 | : Command(queue, type, eventWaitList), busAddresses_(busAddr) { > | ^~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: At global scope: >/usr/include/rocclr/platform/command.hpp:1323:48: error: âCL_MEM_USE_PERSISTENT_MEM_AMDâ was not declared in this scope > 1323 | static constexpr uint StagingBufferMemType = CL_MEM_USE_PERSISTENT_MEM_AMD; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_device.cpp: In function âcl_int clGetDeviceInfo(cl_device_id, cl_device_info, size_t, void*, size_t*)â: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_device.cpp:335:12: error: âCL_DEVICE_MAX_ATOMIC_COUNTERS_EXTâ was not declared in this scope; did you mean âCL_DEVICE_PARTITION_BY_COUNTS_EXTâ? > 335 | CASE(CL_DEVICE_MAX_ATOMIC_COUNTERS_EXT, maxAtomicCounters_); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_device.cpp:255:8: note: in definition of macro âCASEâ > 255 | case param_name: \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_device.cpp:336:36: error: âconst struct device::Infoâ has no member named âdeviceTopology_â > 336 | CASE(CL_DEVICE_TOPOLOGY_AMD, deviceTopology_); > | ^~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_device.cpp:256:50: note: in definition of macro âCASEâ > 256 | return amd::clGetInfo(as_amd(device)->info().field_name, param_value_size, param_value, \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_device.cpp:426:12: error: âCL_DEVICE_NUM_P2P_DEVICES_AMDâ was not declared in this scope > 426 | case CL_DEVICE_NUM_P2P_DEVICES_AMD: { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_device.cpp:430:12: error: âCL_DEVICE_P2P_DEVICES_AMDâ was not declared in this scope; did you mean âCL_DEVICE_PCIE_ID_AMDâ? > 430 | case CL_DEVICE_P2P_DEVICES_AMD: { > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > | CL_DEVICE_PCIE_ID_AMD >[11/37] /usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_memobj.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_memobj.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_memobj.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp >FAILED: amdocl/CMakeFiles/amdocl64.dir/cl_memobj.cpp.o >/usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_memobj.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_memobj.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_memobj.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp >In file included from /usr/include/vdi_agent_amd.h:25, > from /usr/include/rocclr/platform/agent.hpp:27, > from /usr/include/rocclr/platform/command.hpp:34, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:21: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/../amdocl/cl_icd_amd.h:159:33: error: expected initializer before âCL_EXT_SUFFIX__VERSION_2_0â > 159 | cl_int * /* errcode_ret */) CL_EXT_SUFFIX__VERSION_2_0; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/rocclr/device/device.hpp:29, > from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:21: >/usr/include/rocclr/platform/memory.hpp:358:3: error: âcl_bus_address_amdâ does not name a type > 358 | cl_bus_address_amd busAddress_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:392:3: error: âcl_bus_address_amdâ does not name a type > 392 | cl_bus_address_amd busAddress() const { return busAddress_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:623:3: error: âcl_file_flags_amdâ does not name a type; did you mean âcl_file_amdâ? > 623 | cl_file_flags_amd flags_; > | ^~~~~~~~~~~~~~~~~ > | cl_file_amd >/usr/include/rocclr/platform/memory.hpp:629:40: error: âcl_file_flags_amdâ has not been declared > 629 | LiquidFlashFile(const wchar_t* name, cl_file_flags_amd flags) > | ^~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp: In constructor âamd::LiquidFlashFile::LiquidFlashFile(const wchar_t*, int)â: >/usr/include/rocclr/platform/memory.hpp:630:22: error: class âamd::LiquidFlashFileâ does not have any field named âflags_â > 630 | : name_(name), flags_(flags), handle_(NULL), blockSize_(0), fileSize_(0) {} > | ^~~~~~ >In file included from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:21: >/usr/include/rocclr/device/device.hpp: At global scope: >/usr/include/rocclr/device/device.hpp:456:3: error: âcl_device_topology_amdâ does not name a type > 456 | cl_device_topology_amd deviceTopology_; > | ^~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:21: >/usr/include/rocclr/platform/command.hpp:1140:3: error: âcl_bus_address_amdâ does not name a type > 1140 | cl_bus_address_amd* busAddresses_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1146:30: error: âcl_bus_address_amdâ has not been declared > 1146 | cl_bus_address_amd* busAddr) > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1165:3: error: âcl_bus_address_amdâ does not name a type > 1165 | cl_bus_address_amd* busAddress() const { return busAddresses_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: In constructor âamd::MakeBuffersResidentCommand::MakeBuffersResidentCommand(amd::HostQueue&, cl_command_type, const EventWaitList&, const std::vector<amd::Memory*>&, int*)â: >/usr/include/rocclr/platform/command.hpp:1147:46: error: class âamd::MakeBuffersResidentCommandâ does not have any field named âbusAddresses_â > 1147 | : Command(queue, type, eventWaitList), busAddresses_(busAddr) { > | ^~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: At global scope: >/usr/include/rocclr/platform/command.hpp:1323:48: error: âCL_MEM_USE_PERSISTENT_MEM_AMDâ was not declared in this scope > 1323 | static constexpr uint StagingBufferMemType = CL_MEM_USE_PERSISTENT_MEM_AMD; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp: In function âbool validateFlags(cl_mem_flags, bool)â: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:90:16: error: âCL_MEM_EXTERNAL_PHYSICAL_AMDâ was not declared in this scope > 90 | if ((flags & CL_MEM_EXTERNAL_PHYSICAL_AMD) && > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:96:16: error: âCL_MEM_BUS_ADDRESSABLE_AMDâ was not declared in this scope > 96 | if ((flags & CL_MEM_BUS_ADDRESSABLE_AMD) && > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp: In function â_cl_mem* clCreateBuffer(cl_context, cl_mem_flags, size_t, void*, cl_int*)â: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:364:63: error: âCL_MEM_EXTERNAL_PHYSICAL_AMDâ was not declared in this scope > 364 | if (flags & (CL_MEM_USE_HOST_PTR | CL_MEM_COPY_HOST_PTR | CL_MEM_EXTERNAL_PHYSICAL_AMD)) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:370:65: error: âCL_MEM_EXTERNAL_PHYSICAL_AMDâ was not declared in this scope > 370 | if (!(flags & (CL_MEM_USE_HOST_PTR | CL_MEM_COPY_HOST_PTR | CL_MEM_EXTERNAL_PHYSICAL_AMD))) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:376:17: error: âCL_MEM_EXTERNAL_PHYSICAL_AMDâ was not declared in this scope > 376 | if (flags & CL_MEM_EXTERNAL_PHYSICAL_AMD) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:379:7: error: âcl_bus_address_amdâ was not declared in this scope > 379 | cl_bus_address_amd* bus_address = reinterpret_cast<cl_bus_address_amd*>(host_ptr); > | ^~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:379:27: error: âbus_addressâ was not declared in this scope > 379 | cl_bus_address_amd* bus_address = reinterpret_cast<cl_bus_address_amd*>(host_ptr); > | ^~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:379:58: error: âcl_bus_address_amdâ does not name a type > 379 | cl_bus_address_amd* bus_address = reinterpret_cast<cl_bus_address_amd*>(host_ptr); > | ^~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:379:76: error: expected â>â before â*â token > 379 | cl_bus_address_amd* bus_address = reinterpret_cast<cl_bus_address_amd*>(host_ptr); > | ^ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:379:76: error: expected â(â before â*â token > 379 | cl_bus_address_amd* bus_address = reinterpret_cast<cl_bus_address_amd*>(host_ptr); > | ^ > | ( >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:379:77: error: expected primary-expression before â>â token > 379 | cl_bus_address_amd* bus_address = reinterpret_cast<cl_bus_address_amd*>(host_ptr); > | ^ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:379:88: error: expected â)â before â;â token > 379 | cl_bus_address_amd* bus_address = reinterpret_cast<cl_bus_address_amd*>(host_ptr); > | ^ > | ) >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:408:16: error: âCL_MEM_USE_PERSISTENT_MEM_AMDâ was not declared in this scope > 408 | if ((flags & CL_MEM_USE_PERSISTENT_MEM_AMD) && > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:409:63: error: âCL_MEM_EXTERNAL_PHYSICAL_AMDâ was not declared in this scope > 409 | (flags & (CL_MEM_USE_HOST_PTR | CL_MEM_ALLOC_HOST_PTR | CL_MEM_EXTERNAL_PHYSICAL_AMD | > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:410:17: error: âCL_MEM_BUS_ADDRESSABLE_AMDâ was not declared in this scope > 410 | CL_MEM_BUS_ADDRESSABLE_AMD))) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:416:16: error: âCL_MEM_EXTERNAL_PHYSICAL_AMDâ was not declared in this scope > 416 | if ((flags & CL_MEM_EXTERNAL_PHYSICAL_AMD) || (flags & CL_MEM_BUS_ADDRESSABLE_AMD)) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:416:58: error: âCL_MEM_BUS_ADDRESSABLE_AMDâ was not declared in this scope > 416 | if ((flags & CL_MEM_EXTERNAL_PHYSICAL_AMD) || (flags & CL_MEM_BUS_ADDRESSABLE_AMD)) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp: In function â_cl_mem* clCreateSubBuffer(cl_mem, cl_mem_flags, cl_buffer_create_type, const void*, cl_int*)â: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:468:31: error: âCL_MEM_EXTERNAL_PHYSICAL_AMDâ was not declared in this scope > 468 | if (buffer.getMemFlags() & (CL_MEM_EXTERNAL_PHYSICAL_AMD | CL_MEM_BUS_ADDRESSABLE_AMD)) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:468:62: error: âCL_MEM_BUS_ADDRESSABLE_AMDâ was not declared in this scope > 468 | if (buffer.getMemFlags() & (CL_MEM_EXTERNAL_PHYSICAL_AMD | CL_MEM_BUS_ADDRESSABLE_AMD)) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp: In function âvoid* clEnqueueMapBuffer(cl_command_queue, cl_mem, cl_bool, cl_map_flags, size_t, size_t, cl_uint, _cl_event* const*, _cl_event**, cl_int*)â: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:3064:34: error: âCL_MEM_EXTERNAL_PHYSICAL_AMDâ was not declared in this scope > 3064 | if (srcBuffer->getMemFlags() & CL_MEM_EXTERNAL_PHYSICAL_AMD) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:3116:34: error: âCL_MEM_USE_PERSISTENT_MEM_AMDâ was not declared in this scope > 3116 | if (srcBuffer->getMemFlags() & CL_MEM_USE_PERSISTENT_MEM_AMD) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp: In function âvoid* clEnqueueMapImage(cl_command_queue, cl_mem, cl_bool, cl_map_flags, const size_t*, const size_t*, size_t*, size_t*, cl_uint, _cl_event* const*, _cl_event**, cl_int*)â: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:3389:33: error: âCL_MEM_USE_PERSISTENT_MEM_AMDâ was not declared in this scope > 3389 | if (srcImage->getMemFlags() & CL_MEM_USE_PERSISTENT_MEM_AMD) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp: In function âcl_int clGetImageInfo(cl_mem, cl_image_info, size_t, void*, size_t*)â: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_memobj.cpp:3783:10: error: âCL_IMAGE_BYTE_PITCH_AMDâ was not declared in this scope; did you mean âCL_IMAGE_ROW_PITCHâ? > 3783 | case CL_IMAGE_BYTE_PITCH_AMD: { > | ^~~~~~~~~~~~~~~~~~~~~~~ > | CL_IMAGE_ROW_PITCH >[12/37] /usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_program.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_program.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_program.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_program.cpp >FAILED: amdocl/CMakeFiles/amdocl64.dir/cl_program.cpp.o >/usr/bin/x86_64-pc-linux-gnu-g++ -DATI_ARCH_X86 -DATI_BITS_64 -DATI_COMP_GCC -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 -DLINUX -DLITTLEENDIAN_CPU -DOPENCL_EXPORTS -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DUNIX_OS -DUSE_COMGR_LIBRARY -DVEGA10_ONLY=false -DWITH_AQL -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_ONLINE_COMPILER -DWITH_TARGET_AMDGCN -D__AMD64__ -D__x86_64__ -Damdocl64_EXPORTS -DqLittleEndian -I/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/.. -I/usr/include/rocclr -I/usr/include/rocclr/compiler/lib/include -I/usr/include/rocclr/elf -O2 -march=native -msse -msse2 -msse3 -mmmx -fomit-frame-pointer -pipe -fPIC -Wall -Wno-unused-variable -Wno-unused-function -pthread -std=c++11 -MD -MT amdocl/CMakeFiles/amdocl64.dir/cl_program.cpp.o -MF amdocl/CMakeFiles/amdocl64.dir/cl_program.cpp.o.d -o amdocl/CMakeFiles/amdocl64.dir/cl_program.cpp.o -c /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_program.cpp >In file included from /usr/include/vdi_agent_amd.h:25, > from /usr/include/rocclr/platform/agent.hpp:27, > from /usr/include/rocclr/platform/command.hpp:34, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_program.cpp:21: >/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/../amdocl/cl_icd_amd.h:159:33: error: expected initializer before âCL_EXT_SUFFIX__VERSION_2_0â > 159 | cl_int * /* errcode_ret */) CL_EXT_SUFFIX__VERSION_2_0; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/rocclr/device/device.hpp:29, > from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_program.cpp:21: >/usr/include/rocclr/platform/memory.hpp:358:3: error: âcl_bus_address_amdâ does not name a type > 358 | cl_bus_address_amd busAddress_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:392:3: error: âcl_bus_address_amdâ does not name a type > 392 | cl_bus_address_amd busAddress() const { return busAddress_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp:623:3: error: âcl_file_flags_amdâ does not name a type; did you mean âcl_file_amdâ? > 623 | cl_file_flags_amd flags_; > | ^~~~~~~~~~~~~~~~~ > | cl_file_amd >/usr/include/rocclr/platform/memory.hpp:629:40: error: âcl_file_flags_amdâ has not been declared > 629 | LiquidFlashFile(const wchar_t* name, cl_file_flags_amd flags) > | ^~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/memory.hpp: In constructor âamd::LiquidFlashFile::LiquidFlashFile(const wchar_t*, int)â: >/usr/include/rocclr/platform/memory.hpp:630:22: error: class âamd::LiquidFlashFileâ does not have any field named âflags_â > 630 | : name_(name), flags_(flags), handle_(NULL), blockSize_(0), fileSize_(0) {} > | ^~~~~~ >In file included from /usr/include/rocclr/platform/context.hpp:25, > from /usr/include/rocclr/platform/command.hpp:36, > from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_program.cpp:21: >/usr/include/rocclr/device/device.hpp: At global scope: >/usr/include/rocclr/device/device.hpp:456:3: error: âcl_device_topology_amdâ does not name a type > 456 | cl_device_topology_amd deviceTopology_; > | ^~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/vdi_common.hpp:26, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_common.hpp:32, > from /var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0/amdocl/cl_program.cpp:21: >/usr/include/rocclr/platform/command.hpp:1140:3: error: âcl_bus_address_amdâ does not name a type > 1140 | cl_bus_address_amd* busAddresses_; > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1146:30: error: âcl_bus_address_amdâ has not been declared > 1146 | cl_bus_address_amd* busAddr) > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp:1165:3: error: âcl_bus_address_amdâ does not name a type > 1165 | cl_bus_address_amd* busAddress() const { return busAddresses_; } > | ^~~~~~~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: In constructor âamd::MakeBuffersResidentCommand::MakeBuffersResidentCommand(amd::HostQueue&, cl_command_type, const EventWaitList&, const std::vector<amd::Memory*>&, int*)â: >/usr/include/rocclr/platform/command.hpp:1147:46: error: class âamd::MakeBuffersResidentCommandâ does not have any field named âbusAddresses_â > 1147 | : Command(queue, type, eventWaitList), busAddresses_(busAddr) { > | ^~~~~~~~~~~~~ >/usr/include/rocclr/platform/command.hpp: At global scope: >/usr/include/rocclr/platform/command.hpp:1323:48: error: âCL_MEM_USE_PERSISTENT_MEM_AMDâ was not declared in this scope > 1323 | static constexpr uint StagingBufferMemType = CL_MEM_USE_PERSISTENT_MEM_AMD; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >ninja: build stopped: subcommand failed. > * ERROR: dev-libs/rocm-opencl-runtime-4.1.0::gentoo failed (compile phase): > * ninja -v -j10 -l8.0 failed > * > * Call stack: > * ebuild.sh, line 127: Called src_compile > * environment, line 2185: Called cmake_src_compile > * environment, line 810: Called cmake_build > * environment, line 779: Called eninja > * environment, line 1231: Called die > * The specific snippet of code: > * "$@" || die "${nonfatal_args[@]}" "${*} failed" > * > * If you need support, post the output of `emerge --info '=dev-libs/rocm-opencl-runtime-4.1.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-libs/rocm-opencl-runtime-4.1.0::gentoo'`. > * The complete build log is located at '/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/temp/environment'. > * Working directory: '/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/rocm-opencl-runtime-4.1.0_build' > * S: '/var/tmp/portage/dev-libs/rocm-opencl-runtime-4.1.0/work/ROCm-OpenCL-Runtime-rocm-4.1.0'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 789717
:
707685
|
707688
|
719319
|
719322
| 719325 |
719343
|
719490