Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't find amd_comgr.h automatically #38

Open
baryluk opened this issue Jun 8, 2020 · 0 comments
Open

Doesn't find amd_comgr.h automatically #38

baryluk opened this issue Jun 8, 2020 · 0 comments

Comments

@baryluk
Copy link

baryluk commented Jun 8, 2020

user@debian:~/RCP/Build/Linux$ dpkg -l | grep comgr
ii  comgr                                                       1.6.0.143-rocm-rel-3.5-30-e24e8c1      amd64        Library to provide support functions
user@debian:~/RCP/Build/Linux$ dpkg -L comgr
/opt
/opt/rocm-3.5.0
/opt/rocm-3.5.0/include
/opt/rocm-3.5.0/include/amd_comgr.h
/opt/rocm-3.5.0/include/opencl1.2-c.pch
/opt/rocm-3.5.0/include/opencl2.0-c.pch
/opt/rocm-3.5.0/lib
/opt/rocm-3.5.0/lib/cmake
/opt/rocm-3.5.0/lib/cmake/amd_comgr
/opt/rocm-3.5.0/lib/cmake/amd_comgr/amd_comgr-config-version.cmake
/opt/rocm-3.5.0/lib/cmake/amd_comgr/amd_comgr-config.cmake
/opt/rocm-3.5.0/lib/cmake/amd_comgr/amd_comgr-targets-release.cmake
/opt/rocm-3.5.0/lib/cmake/amd_comgr/amd_comgr-targets.cmake
/opt/rocm-3.5.0/lib/libamd_comgr.so.1.6.30500
/opt/rocm-3.5.0/share
/opt/rocm-3.5.0/share/amd_comgr
/opt/rocm-3.5.0/share/amd_comgr/LICENSE.txt
/opt/rocm-3.5.0/share/amd_comgr/NOTICES.txt
/opt/rocm-3.5.0/share/amd_comgr/README.md
/opt/rocm-3.5.0/lib/libamd_comgr.so
/opt/rocm-3.5.0/lib/libamd_comgr.so.1

...

g++ -O3 -DNDEBUG -std=c++11 -fPIC -Wall -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-non-virtual-dtor -Wno-conversion-null -Wno-ignored-attributes -Werror -msse   -I. -I../../Src/Common -I../../Src/CLCommon -I../../../Common/Src -I../../../Common/Lib/AMD/GPUPerfAPI/3_3/Include -I../../../Common/Lib/AMD/APPSDK/3-0/include -I/include -I../../../Common/Src/DynamicLibraryModule -I../../../Common/Src/DeviceInfo -I../../../Common/Src/TSingleton -isystem../../../Common/Lib/Ext/Boost/boost_1_59_0 -I../../../Common/Lib/Ext/utf8cpp/source -I../../../Common/Lib/AMD/ACL/TOT/include -I../../../Common/Src/ComgrUtils/Src -I../../../Common/Lib/AMD/ADL/include -I../../../Common/Src/ADLUtil -I../../../Common/Src/ACLModuleManager -I/opt/rocm/hsa/include -I/opt/rocm/hsa/include/hsa -I/opt/rocm/hsa/include/comgr/ -I/opt/rocm/hsa/../include  -D_LINUX -DUSE_POINTER_SINGLETON -DCOMGR_DYNAMIC_LINKING -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 -DAMDT_PUBLIC -DAMDT_BUILD_SUFFIX=\"\" -DAMDT_PLATFORM_SUFFIX=\"\" -DAMDT_DEBUG_SUFFIX=\"\"   -c ../../../Common/Src/ComgrUtils/Src/ComgrUtils.cpp -o ../../Output/obj/release/x64/CLProfileAgent/ComgrUtils.o
In file included from ../../../Common/Src/ComgrUtils/Src/ComgrUtils.cpp:7:
../../../Common/Src/ComgrUtils/Src/ComgrUtils.h:23:10: fatal error: amd_comgr.h: No such file or directory
   23 | #include "amd_comgr.h"
      |          ^~~~~~~~~~~~~
compilation terminated.

@baryluk baryluk changed the title Doesn't find Doesn't find amd_comgr.h automatically Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant