Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.
Open

Navi44 #2917

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions lgc/state/TargetInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,20 @@ static void setGfx1201Info(TargetInfo *targetInfo) {

#endif

#if LLPC_BUILD_NAVI44
// gfx1200
//
// @param [in/out] targetInfo : Target info
static void setGfx1200Info(TargetInfo *targetInfo) {
setGfx12Info(targetInfo);

targetInfo->getGpuProperty().numShaderEngines = 4;
targetInfo->getGpuProperty().numComputeUnitsPerShaderEngine = 8;
targetInfo->getGpuWorkarounds().gfx12.waNoReZSupport = 1;
}

#endif

// Represents device infos.
struct GpuNameStringMap {
const char *gpuName;
Expand Down Expand Up @@ -440,6 +454,9 @@ static const GpuNameStringMap GpuNameMap[] = {
#if LLPC_BUILD_NAVI48
{"gfx1201", "Navi48", &setGfx1201Info}, // gfx1201
#endif
#if LLPC_BUILD_NAVI44
{"gfx1200", "Navi44", &setGfx1200Info}, // gfx1200
#endif
};

// =====================================================================================================================
Expand Down
4 changes: 4 additions & 0 deletions version/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ llpc_set_property(llpc_version INTERFACE LLPC_BUILD_STRIX_HALO ON "HW_STRIX_HALO
llpc_set_property(llpc_version INTERFACE LLPC_BUILD_NAVI48 ON "HW_NAVI48")
#endif

#if LLPC_BUILD_NAVI44
llpc_set_property(llpc_version INTERFACE LLPC_BUILD_NAVI44 ON "HW_NAVI44")
#endif

# Report the summary of what is enabled.
message(STATUS "llpc_version:${LLPC_SET_PROPERTY_SUMMARY_llpc_version}")