MIVisionX
MIVisionX copied to clipboard
[Issue]: OpenVX GPU - HIP Backend - Gated HIP Launch
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