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

[Issue]: HIP Dependencies - Build & Runtime #1446

Open
kiritigowda opened this issue Nov 11, 2024 · 2 comments
Open

[Issue]: HIP Dependencies - Build & Runtime #1446

kiritigowda opened this issue Nov 11, 2024 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@kiritigowda
Copy link
Collaborator

Problem Description

MIVisionX component runtime dependencies need to be clearly listed

  • OpenVX - readelf -d libopenvx.so | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libamdhip64.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
  • AMD Custom - readelf -d libvx_amd_custom.so | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libopenvx.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libamdhip64.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgomp.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
  • AMD Media - readelf -d libvx_amd_media.so | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libavutil.so.56]
 0x0000000000000001 (NEEDED)             Shared library: [libavcodec.so.58]
 0x0000000000000001 (NEEDED)             Shared library: [libswscale.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libavformat.so.58]
 0x0000000000000001 (NEEDED)             Shared library: [libopenvx.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libamdhip64.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
  • AMD MIGraphX - readelf -d libvx_amd_migraphx.so | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libopenvx.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libmigraphx_c.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libamdhip64.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
  • AMD VX NN - readelf -d libvx_nn.so | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libopenvx.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libMIOpen.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [librocblas.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libamdhip64.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
  • AMD OpenCV Extension - readelf -d libvx_opencv.so | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libopenvx.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libopencv_video.so.4.5d]
 0x0000000000000001 (NEEDED)             Shared library: [libopencv_features2d.so.4.5d]
 0x0000000000000001 (NEEDED)             Shared library: [libopencv_photo.so.4.5d]
 0x0000000000000001 (NEEDED)             Shared library: [libopencv_imgproc.so.4.5d]
 0x0000000000000001 (NEEDED)             Shared library: [libopencv_core.so.4.5d]
 0x0000000000000001 (NEEDED)             Shared library: [libamdhip64.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
  • AMD RPP Ext - readelf -d libvx_rpp.so | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [librpp.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libopenvx.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libamdhip64.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
  • VXU - readelf -d libvxu.so | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libopenvx.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libamdhip64.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]

Operating System

ALL

CPU

ALL

GPU

AMD Instinct MI300

Other

No response

ROCm Version

ROCm 6.0.0

ROCm Component

MIVisionX

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

@kiritigowda kiritigowda added bug Something isn't working enhancement New feature or request labels Nov 11, 2024
@kiritigowda kiritigowda self-assigned this Nov 11, 2024
@kiritigowda
Copy link
Collaborator Author

PR #1451 address part of the issue

@kiritigowda
Copy link
Collaborator Author

With change in compiler lidvx_amd_custom now requires libomp-dev

readelf -d libvx_amd_custom.so | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libopenvx.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libamdhip64.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libomp.so]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant