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

Re: gfx1103 -- was Re: Test hardware for ROCm on arm64 and ppc64el



On 2025-04-10 03:21, Bart Haan wrote:
On 2025-04-10 01:18, Clint Adams wrote:
On Thu, Apr 10, 2025 at 12:29:09AM +0200, Bart Haan wrote:
If you rebuild the debian package from source with -DAMDGPU_TARGETS="gfx1103"
in debian/rules it should pass all tests.

Any reason to not append the target in sid?

Library size & compile time grow with every added gpu.

The rocm libs tend to be huge already.

ROCm 6.4.0 released today with runtime support for gfx11-generic, which is an ISA that is the lowest-common denominator of gfx1100, gfx1101, gfx1102, gfx1103, gfx1150, gfx1151, gfx1152, and gfx1153. That is, code that is compiled for gfx11-generic will run on all those GPUs.

Once we update the compiler and runtime sufficiently, I would suggest switching to that target where possible. There may be performance tradeoffs for targeting the lowest-common denominator of all those GPUs (e.g., you can't use all the registers available on gfx1100 hardware), but we'll have greater compatibility and shorter build times.

At some point, the SPIR-V target might be a better alternative than the generic ISAs, but that will probably requires libraries to be reworked somewhat as it imposes some restrictions on how you write your code (e.g. you cannot use preprocessor macros to enable different implementations for different GPUs --- the code for every GPU needs to be visible to the compiler when building for the SPIR-V target).

Sincerely,
Cory Bloor


Reply to: