Skip to content

Commit 76db050

Browse files
committed
GPA 4.2 Updates
1 parent 507552a commit 76db050

File tree

457 files changed

+60702
-53416
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

457 files changed

+60702
-53416
lines changed

BUILD.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# GPUPerfAPI Build Instructions
2-
---
2+
33
## Table of Contents
44
* [Windows Build Information](#windows-build-information)
55
* [Linux Build Information](#linux-build-information)
@@ -28,7 +28,7 @@ The Windows projects each include a .rc file that embeds the VERSIONINFO resourc
2828

2929
##### Prerequisites
3030
* Microsoft Visual Studio 2022 (17.13.5)
31-
* Within the Visual Studio Installer, the following workloads:
31+
* Within the Visual Studio Installer, the following workloads:
3232
* Desktop development with C++
3333
* Within the Visual Studio Installer, the following individual components:
3434
* Windows 11 SDK (10.0.22621.0)

CMakeLists.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
## Copyright (c) 2018-2025 Advanced Micro Devices, Inc. All rights reserved.
1+
## Copyright (C) 2018-2025 Advanced Micro Devices, Inc. All rights reserved. ##
2+
23
cmake_minimum_required(VERSION 3.25)
34
set(GPA_CMAKE_MODULES_DIR ${CMAKE_CURRENT_SOURCE_DIR}/build/cmake_modules)
45

56
set(GPA_MAJOR_VERSION 4)
6-
set(GPA_MINOR_VERSION 1)
7+
set(GPA_MINOR_VERSION 2)
78
set(GPA_UPDATE_VERSION 0)
89

910
if(NOT DEFINED build)
@@ -20,7 +21,6 @@ include(${GPA_CMAKE_MODULES_DIR}/utils.cmake)
2021
include(${GPA_CMAKE_MODULES_DIR}/common.cmake)
2122
include(${GPA_CMAKE_MODULES_DIR}/fetch_dependencies.cmake)
2223

23-
2424
set(CMAKE_CXX_STANDARD 17)
2525
set(CMAKE_CXX_STANDARD_REQUIRED ON)
2626
set(CMAKE_CXX_EXTENSIONS OFF)
@@ -41,18 +41,19 @@ if(NOT ${skiptests} AND NOT TARGET gtest)
4141
endblock()
4242
endif()
4343

44-
add_subdirectory(external/adl)
44+
add_subdirectory(external/device_info)
4545
add_subdirectory(external/tsingleton)
46-
add_subdirectory(external/adl_util)
47-
add_subdirectory(external/dynamic_library_module)
46+
if (WIN32)
47+
add_subdirectory(external/adl)
48+
add_subdirectory(external/adl_util)
49+
endif()
4850

4951
if(NOT ${skipdocs})
5052
add_subdirectory(documentation/sphinx)
5153
endif()
5254

5355
add_subdirectory(source)
5456

55-
5657
set(CPACK_ARCHIVE_COMPONENT_INSTALL ON)
5758
set(CPACK_COMPONENTS_GROUPING IGNORE)
5859

NOTICES.txt

Lines changed: 0 additions & 17 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 75 additions & 109 deletions
Large diffs are not rendered by default.

RELEASE_NOTES.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# GPU Performance API Release Notes
22
---
3+
# Version 4.2 (11/3/2025)
4+
* Add support for additional AMD Radeon 800M Series APUs.
5+
* Add support for AMD Radeon RX 9060 GPUs.
6+
* DirectX 11: `GPUPerfAPIDXGetAMDDeviceInfo` has been removed in favor of Windows Graphics Settings to force select the GPU.
7+
* `GpaGetDeviceMaxWaveSlots` reliability issues have been fixed for DX12.
8+
* `GpaGetDeviceMaxVgprs` entry point has been added.
9+
* Fixed build/test issue preventing users from passing skipvulkan and skpopengl to the build on Windows.
10+
* Synchronized access to HW counters using an IPC Mutex when using Windows. To prevent multiple apps trying to access to the HW counters at the same time.
11+
* Fixed edge case in parsing SPM data for AMD Radeon RX 6000 and AMD Radeon RX 5000 series hardware.
12+
* Fixed bug where the DX12 GPA implementation held onto strong references of D3D objects.
13+
* Removed problematic counters from affecting AMD Radeon RX 6000 Series hardware (VsGsVALUBusy, VsGsVALUBusyCycles, VsGsSALUBusy, VsGsSALUBusyCycles)
14+
* `cacheFlushOnCounterCollection` was being inconsistently set by GPA affecting discrete counter output.
15+
* Fixed GL2C* counters issue affecting AMD Radeon RX 9000 Series hardware.
16+
* Fixed WriteSize/FetchSize counter on AMD Radeon RX 9000 Series hardware. It was not accounting for all sized reads/writes.
17+
* Fixed issue causing release builds taking far longer than they should during the linker step on Windows.
18+
319
# Version 4.1 (06/17/2025)
420
* Added support for AMD Radeon RX 9060 XT.
521
* Added support for AMD Radeon AI PRO R9700.

build/cmake_modules/android.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
## Copyright (c) 2019-2025 Advanced Micro Devices, Inc. All rights reserved.
1+
## Copyright (C) 2019-2025 Advanced Micro Devices, Inc. All rights reserved. ##
2+
23
if (NOT DEFINED ENV{ANDROID_SDK})
34
message(FATAL_ERROR "ANDROID_SDK is not defined")
45
endif()

build/cmake_modules/build_flags.cmake

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Copyright (c) 2018-2025 Advanced Micro Devices, Inc. All rights reserved.
1+
## Copyright (C) 2018-2025 Advanced Micro Devices, Inc. All rights reserved. ##
22

33
## GPA has only Debug and Release
44
set(CMAKE_CONFIGURATION_TYPES Debug Release)
@@ -30,7 +30,6 @@ if(ANDROID)
3030
set(OUTPUT_SUFFIX ${OUTPUT_SUFFIX}_android)
3131
endif()
3232

33-
3433
# DX11 variable
3534
if(NOT DEFINED skipdx11)
3635
set(skipdx11 OFF CACHE BOOL "Turn on to skip DX11 in the build" FORCE)
@@ -56,7 +55,6 @@ if(NOT DEFINED skiptests)
5655
set(skiptests OFF CACHE BOOL "Turn on to skip Tests in the build" FORCE)
5756
endif()
5857

59-
6058
# Sphinx documentation
6159
if(NOT DEFINED skipdocs)
6260
set(skipdocs OFF CACHE BOOL "Turn on to skip sphinx documentation in the build" FORCE)

build/cmake_modules/clang_utils.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
## Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved.
1+
## Copyright (C) 2023-2025 Advanced Micro Devices, Inc. All rights reserved. ##
2+
23
cmake_minimum_required(VERSION 3.10)
34

45
find_program(CLANG_FORMAT clang-format DOC "Clang format executable")

build/cmake_modules/common.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
## Copyright (c) 2018-2025 Advanced Micro Devices, Inc. All rights reserved.
1+
## Copyright (C) 2018-2025 Advanced Micro Devices, Inc. All rights reserved. ##
2+
23
include(${GPA_CMAKE_MODULES_DIR}/utils.cmake)
34

45
# Include global cmake common file

build/cmake_modules/defs.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
## Copyright (c) 2018-2025 Advanced Micro Devices, Inc. All rights reserved.
1+
## Copyright (C) 2018-2025 Advanced Micro Devices, Inc. All rights reserved. ##
2+
23
if(NOT DEFINED GPA_OUTPUT_DIR)
34
set(GPA_OUTPUT_DIR ${PROJECT_SOURCE_DIR}/build/output)
45
endif()

0 commit comments

Comments
 (0)