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]: OpenVX GPU - HIP Backend - Gated HIP Launch #1437

Open
kiritigowda opened this issue Oct 9, 2024 · 0 comments
Open

[Issue]: OpenVX GPU - HIP Backend - Gated HIP Launch #1437

kiritigowda opened this issue Oct 9, 2024 · 0 comments
Assignees
Labels
bug Something isn't working high High Priority - Bug fix or new feature

Comments

@kiritigowda
Copy link
Collaborator

kiritigowda commented Oct 9, 2024

Problem Description

GPU run needs to exit when missing CO is detected or when hipLaunchKernel returns error -- i.e. hipErrorInvalidDeviceFunction

:3:rocsettings.cpp          :287 : 452775184024d us: [pid:809742 tid: 7f203f7ab340] Using dev kernel arg wa = 2
:3:rocdevice.cpp            :1805: 452775184057d us: [pid:809742 tid: 7f203f7ab340] Gfx Major/Minor/Stepping: 9/4/2
:3:rocdevice.cpp            :1807: 452775184061d us: [pid:809742 tid: 7f203f7ab340] HMM support: 1, XNACK: 0, Direct host access: 0
:3:rocdevice.cpp            :1809: 452775184063d us: [pid:809742 tid: 7f203f7ab340] Max SDMA Read Mask: 0xffff, Max SDMA Write Mask: 0xffff
:4:rocdevice.cpp            :2217: 452775184246d us: [pid:809742 tid: 7f203f7ab340] Allocate hsa host memory 0x7ee036200000, size 0x101000, numa_node = 1
:4:rocdevice.cpp            :2217: 452775186057d us: [pid:809742 tid: 7f203f7ab340] Allocate hsa host memory 0x7ee036000000, size 0x101000, numa_node = 1
:4:rocdevice.cpp            :2217: 452775186970d us: [pid:809742 tid: 7f203f7ab340] Allocate hsa host memory 0x7f203e4d3000, size 0x1c0, numa_node = 0
:4:runtime.cpp              :85  : 452775187799d us: [pid:809742 tid: 7f203f7ab340] init
:3:hip_context.cpp          :49  : 452775187803d us: [pid:809742 tid: 7f203f7ab340] Direct Dispatch: 1
:1:hip_fatbin.cpp           :277 : 452775187926d us: [pid:809742 tid: 7f203f7ab340] Cannot find CO in the bundle /opt/rocm-6.3.0-14886/bin/runvx for ISA: amdgcn-amd-amdhsa--gfx942:sramecc+:xnack-
:1:hip_fatbin.cpp           :113 : 452775187930d us: [pid:809742 tid: 7f203f7ab340] Missing CO for these ISAs - 
:1:hip_fatbin.cpp           :116 : 452775187932d us: [pid:809742 tid: 7f203f7ab340]      amdgcn-amd-amdhsa--gfx942:sramecc+:xnack-
:3:hip_platform.cpp         :715 : 452775187938d us: [pid:809742 tid: 7f203f7ab340] init: Returned hipErrorNoBinaryForGpu : continue parsing remaining modules
:1:hip_fatbin.cpp           :277 : 452775188902d us: [pid:809742 tid: 7f203f7ab340] Cannot find CO in the bundle /opt/rocm-6.3.0-14886/lib/libopenvx.so.1.3.0 for ISA: amdgcn-amd-amdhsa--gfx942:sramecc+:xnack-
:1:hip_fatbin.cpp           :113 : 452775188906d us: [pid:809742 tid: 7f203f7ab340] Missing CO for these ISAs - 
:1:hip_fatbin.cpp           :116 : 452775188908d us: [pid:809742 tid: 7f203f7ab340]      amdgcn-amd-amdhsa--gfx942:sramecc+:xnack-
:3:hip_platform.cpp         :715 : 452775188910d us: [pid:809742 tid: 7f203f7ab340] init: Returned hipErrorNoBinaryForGpu : continue parsing remaining modules
:1:hip_fatbin.cpp           :277 : 452775189644d us: [pid:809742 tid: 7f203f7ab340] Cannot find CO in the bundle /opt/rocm-6.3.0-14886/lib/libopenvx.so.1.3.0 for ISA: amdgcn-amd-amdhsa--gfx942:sramecc+:xnack-

eam:0x564079c61ec0 ) 
:3:hip_module.cpp           :687 : 452775420120d us: [pid:809742 tid: 7f203f7ab340] hipLaunchKernel: Returned hipErrorInvalidDeviceFunction : 
:3:hip_stream.cpp           :366 : 452775420125d us: [pid:809742 tid: 7f203f7ab340]  hipStreamSynchronize ( stream:0x564079c61ec0 )

Operating System

Ubuntu

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 the bug Something isn't working label Oct 9, 2024
@kiritigowda kiritigowda changed the title [Issue]: OpenVX GPU - Device code missing errors [Issue]: OpenVX GPU - HIP Backend - Device code missing errors Oct 9, 2024
@kiritigowda kiritigowda changed the title [Issue]: OpenVX GPU - HIP Backend - Device code missing errors [Issue]: OpenVX GPU - HIP Backend - Gated HIP Launch Oct 11, 2024
@kiritigowda kiritigowda added the high High Priority - Bug fix or new feature label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high High Priority - Bug fix or new feature
Projects
None yet
Development

No branches or pull requests

4 participants