HSA_STATUS_ERROR_OUT_OF_RESOURCES ROCm5.1.1 Ubuntu 22.04

HSA_STATUS_ERROR_OUT_OF_RESOURCES ROCm5.1.1 Ubuntu 22.04

amdgpuv22.20我在 Ubuntu 22.04 上安装了 ROCm v5.1.1,使用这个答案(虽然我也用它amdgpu来做图形)但是当我运行时/opt/rocm/bin/rocminfo我收到以下错误消息:

ROCk module is loaded
hsa api call failure at: /long_pathname_so_that_rpms_can_package_the_debug_info/src/rocminfo/rocminfo.cc:1140
Call returned HSA_STATUS_ERROR_OUT_OF_RESOURCES: The runtime failed to allocate the necessary resources. This error may also occur when the core runtime library needs to spawn threads or create internal OS-specific events.

运行/opt/rocm/opencl/bin/clinfo会收到以下消息,希望这有帮助:

Number of platforms:                 1
  Platform Profile:              FULL_PROFILE
  Platform Version:              OpenCL 2.1 AMD-APP (3423.0)
  Platform Name:                 AMD Accelerated Parallel Processing
  Platform Vendor:               Advanced Micro Devices, Inc.
  Platform Extensions:               cl_khr_icd cl_amd_event_callback 


  Platform Name:                 AMD Accelerated Parallel Processing
Number of devices:               0

当然,sudo lshw -c video返回的是这个:

  *-display                 
       description: VGA compatible controller
       product: Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:09:00.0
       logical name: /dev/fb0
       version: c7
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=amdgpu latency=0 resolution=1600,900
       resources: irq:63 memory:e0000000-efffffff memory:f0000000-f01fffff ioport:f000(size=256) memory:fcf00000-fcf3ffff memory:c0000-dffff

答案1

现在amdgpuv22.40已经发布,ROCm可以在 Ubuntu 22.04 上正确安装,我不再收到错误消息。

相关内容