Files
Strata/include/strata/core
Niko1221 5450e4344d Integrated gfx11 under Linux: the unregistered expert arena only on the Radeon 780M class
The owner decided (by 11:05 on 11-15) that the default "arena not registered with the GPU driver" (NOREG, 8d1fadf92 and the
pinned.cu guard 05718a08f) applies to the Radeon 780M class only: gfx1103, which includes the 760M / 740M of the same chip
family. Strix Halo (gfx1151) keeps its registered arena. Strix Point (gfx1150, an experimental opt-in like gfx1103) also
keeps registration, as before NOREG.

Scope: only NOREG's class changes. LOAD (load order and settle), EXIT (the drain on a stop by signal) and XFER
(GPU_PINNED_MIN_XFER_SIZE) stay as they are for the whole integrated gfx11 class (gfx1103 / gfx1150 / gfx1151). Tokens are
the same in both modes.

How it is enforced: kfd_quiet.hpp gets NOREG's own rule, nodes_in_noreg_class: at least one GPU node in the KFD topology and
every GPU node gfx_target_version 110003. generate.cpp passes that rule to noreg_default instead of `true`, inside the
existing STRATA_USE_HIP && __linux__ block and still under the class check. Any other value (110500, 110501, a discrete
card, a 780M beside another card, no topology) keeps the registered arena. A user's STRATA_ARENA_PIN_GIB or
STRATA_UMA_REGISTER=1 still wins, and STRATA_KFD_QUIET_NOREG=0 (or STRATA_KFD_QUIET=0) still registers. pinned.cu changes
only two comments inside its Linux HIP guards.

Test: tests/core/kfd_quiet_test.cpp checks 110003 (unregistered), 110500 and 110501 (registered), discrete cards and
mixed machines (registered), the switches and STRATA_ARENA_PIN_GIB on top of the new rule, and that LOAD / EXIT / XFER keep
the whole class. g++ -std=c++20 -O1 -Wall -Wextra -Werror on p1004: ok.
2026-11-15 11:09:51 +01:00
..