[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1057252: marked as done (libhsa-runtime-dev: headers claim HSA 1.3 support but are missing hsa_amd_memory_async_copy_on_engine)



Your message dated Thu, 22 Feb 2024 23:16:32 -0700
with message-id <67d23d7e-2243-4267-b0e9-a116a0bd16eb@slerp.xyz>
and subject line Re: libhsa-runtime-dev: headers claim HSA 1.3 support but are missing hsa_amd_memory_async_copy_on_engine
has caused the Debian Bug report #1057252,
regarding libhsa-runtime-dev: headers claim HSA 1.3 support but are missing hsa_amd_memory_async_copy_on_engine
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1057252: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057252
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libhsa-runtime-dev
Version: 5.2.3-6
Severity: normal
Tags: fixed-upstream
X-Debbugs-Cc: cgmb@slerp.xyz, jonathanchesterfield@gmail.com

Dear Maintainer,

As reported by Jon Chesterfield [1],

> HSA 1.2 introduces an API call hsa_amd_memory_async_copy_on_engine
> 
> /usr/include/hsa_ext_amd.h contains:
> /*
> 
>                * - 1.0 - initial version
> 
>                      * - 1.1 - dmabuf export
> 
>                        * - 1.2 - hsa_amd_memory_async_copy_on_engine
> * - 1.3 - HSA_AMD_MEMORY_POOL_GLOBAL_FLAG_EXTENDED_SCOPE_FINE_GRAINED
> pool
>  */
> #define HSA_AMD_INTERFACE_VERSION_MAJOR 1
> #define HSA_AMD_INTERFACE_VERSION_MINOR 3
> 
> 
> Openmp has decided to branch on those version macros to guess whether
> hsa_amd_memory_async_copy_on_engine is available or not. That's sort
> of the best of various bad options available.
> 
> The shared library Debian packages doesn't export the
> hsa_amd_memory_async_copy_on_engine symbol. Can check with nm
> --dynamic | grep.
> 
> Thus openmp's runtime now refuses to build. Locally 'm going to change
> that 3 to a 1. I'm not sure what the right change to packaging is
> beyond that the header should match the shared library.

The hsa_amd_memory_async_copy_on_engine API call was added in ROCm 5.6.
This issue could be fixed on unstable by updating rocr-runtime to the
latest upstream release.

Regards,
Cory Bloor

[1]: https://lists.debian.org/debian-ai/2023/12/msg00001.html

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-4-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages libhsa-runtime-dev depends on:
ii  libhsa-runtime64-1  5.2.3-6

libhsa-runtime-dev recommends no packages.

libhsa-runtime-dev suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
fixed 1057252 5.7.1-1
thanks

The 5.7.1-1 version package migrated to unstable contains hsa_amd_memory_async_copy_on_engine, as that function was added by the upstream project. The bug number in the changelog entry for 5.7.1-1 was incorrect, so this bug was not automatically closed by that upload (mea culpa). I am therefore closing it manually.

Sincerely,
Cory Bloor

--- End Message ---

Reply to: