Skip to content

Commit

Permalink
Updates for 2.11 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
AmitBM committed Sep 19, 2024
1 parent 4767cf1 commit 63ee766
Show file tree
Hide file tree
Showing 267 changed files with 3,853 additions and 4,274 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ sphinx:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
# - requirements: docs/requirements.txt
# - requirements: docs/requirements.txt
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ option(NO_DEFAULT_QT "Add -DNO_DEFAULT_QT=ON to disable using default Qt package
# Boolean option to enable live Vulkan mode.
option(RGA_ENABLE_VULKAN "Add -DRGA_ENABLE_VULKAN=OFF to build RGA without Vulkan mode support. By default, Vulkan mode is enabled." ON)

# Boolean option to disable dx10 mode.
option(RGA_DISABLE_DX10 "Add -DRGA_DISABLE_DX10=OFF to build RGA without DX10 support. By default, DX10 support is enabled." OFF)

# Define build level here
add_definitions(-DAMDT_PUBLIC -DCMAKE_BUILD)

Expand Down
4 changes: 2 additions & 2 deletions build/dependency_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"tsingleton" : ["../external/tsingleton", "master"],
"common_src_miniz" : ["../external/miniz", "master"],
"dynamic_library_module" : ["../external/dynamic_library_module", "amd-rga-v2.7"],
"device_info" : ["../external/device_info", "c374c2b328bea66a92db6e49f6b32607f97b3e2c"],
"device_info" : ["../external/device_info", "rga-v2.11"],
"update_check_api" : ["../external/update_check_api", "v2.1.1"],
# QtCommon.
"qt_common" : ["../external/qt_common", "6377814493f6e5c97fd5c44fccdd22767bf86355"],
"qt_common" : ["../external/qt_common", "78e1cee86c75941f9936110334b9e10d1f4db869"],
}
11 changes: 9 additions & 2 deletions build/pre_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ def parse_arguments():
parser.add_argument("--qt", default="6.7.0", help="specify the version of QT to be used with the script (default: 6.7.0)" )
parser.add_argument("--clean", action="store_true", help="delete any directories created by this script")
parser.add_argument("--no-qt", action="store_true", help="build a headless version (not applicable for all products)")
parser.add_argument("--no-vulkan", action="store_true", help="build a version without vulkan support")
parser.add_argument("--no-dx10", action="store_true", help="build a version without dx10 support")
parser.add_argument("--build-number", default="0",
help="specify the build number, primarily to be used by build machines to produce versioned builds")
parser.add_argument("--internal", action="store_true", help="configure internal builds of the RGA applications (only used within AMD")
Expand Down Expand Up @@ -217,7 +219,10 @@ def generate_config(config, args):

cmake_args = ["cmake", cmakelist_path, "-DCMAKE_PREFIX_PATH=" + qt_path, "-DQT_PACKAGE_ROOT=" + qt_path, "-G", cmake_generator]
else:
cmake_args = ["cmake", cmakelist_path, "-DHEADLESS=TRUE"]
cmake_args = ["cmake", cmakelist_path, "-DHEADLESS=TRUE", "-DBUILD_CLI_ONLY=ON"]

if args.no_dx10:
cmake_args.extend(["-DRGA_DISABLE_DX10=ON"])

if sys.platform == "win32":
if args.vs != "2017":
Expand All @@ -228,7 +233,6 @@ def generate_config(config, args):
elif args.toolchain == "2017":
cmake_args.extend(["-Tv141"])


# Use build number.
cmake_args.extend(["-DRGA_BUILD_NUMBER=" + str(args.build_number)])

Expand All @@ -238,6 +242,9 @@ def generate_config(config, args):
if not args.vk_lib is None:
cmake_args.extend(["-DVULKAN_SDK_LIB_DIR=" + str(args.vk_lib)])

if args.no_vulkan:
cmake_args.extend(["-DRGA_ENABLE_VULKAN=OFF"])

if sys.platform.startswith('linux'):
if args.disable_extra_qt_lib_deploy:
cmake_args.extend(["-DDISABLE_EXTRA_QT_LIB_DEPLOY:BOOL=TRUE"])
Expand Down
Binary file modified documentation/RGA_RELEASE_NOTES.docx
Binary file not shown.
23 changes: 15 additions & 8 deletions documentation/RGA_RELEASE_NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
Radeon GPU Analyzer 2.10.0 Release Notes
========================================
Radeon GPU Analyzer 2.11 Release Notes
=======================================
Highlights
==========
- The RGA GUI application now handles display scaling, which allows for a better experience when working with multiple monitors or when changing display settings.
- Analyze pre-compiled HIP Code Object binaries for the MI-300 with RGA's Binary Analysis mode.
- Added support for MI-300 (gfx942) as a target in OpenCL mode.
- DX12 single shader support: compile single DX12 shaders in isolation (CS, VS or PS). When an incomplete DX12 pipeline is received (missing a shader, root signature or state subset), the tool will use reflection to auto-generate the missing pieces of the pipeline for you. No impact to the invocation command, just omit the missing pieces.
- DX12 Agility SDK updated to version v613.
- DXC updated to version v1.8.2403.2 (HLSL 2021 is now enabled by default).
- Added support for gfx1150 as a compiler target across all modes.
- DXR mode now supports AMD compiler’s raytracing updates. With Radeon Adrenalin™ driver version 24.9.1, the AMD compiler includes changes to the way raytracing state objects are being compiled. Use this new version of RGA to ensure compatibility with the new compiler.
- Dark mode: the RGA GUI application now lets you choose between Light and Dark themes or have the UI follow the OS theme. To control this behavior, visit the tool’s Settings menu.
- Updated DXC to version v1.8.2407.
- Updated the offline Vulkan and OpenGL compilers.

Notes:
• As part of adding support for AMD compiler’s raytracing updates, the DXR invocation command is now simplified, removing support for the --mode and --export command line options. Any DXR state object compilation would be considered a Pipeline compilation, and it is up to the driver to decide on the compilation type (Indirect vs. Unified). For more information and usage examples, run rga -s dxr -h.
• This release removes support for pre-RDNA targets in the Vulkan offline mode.

Known Issues
============
Expand Down Expand Up @@ -220,6 +222,11 @@ GUI Application
- Certain GDS instructions are being misclassified as SALU.
- Changing disassembly columns can be sluggish on certain systems in projects with multiple .cl files.
- On systems with default Unicode path for the RGA projects folder, the tool will not be able to save files. A workaround has been provided in version 2.6.1 (allowing the user to change the folder in which projects are saved).
- On Linux, if the OS color theme is updated while the RGA GUI application is running, the RGA GUI application will not immediately reflect these changes (the changes will be reflected the next time that you launch the application).

General
- RGA compilation is not impacted by Driver Experiments. Activating driver experiments would generally have no impact on RGA’s behavior and the compiled shaders, kernels and pipelines.


Notes for OpenCL Mode Users
===========================
Expand Down
4 changes: 2 additions & 2 deletions documentation/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
# built documents.
#
# The short X.Y version.
version = '2.10.0'
version = '2.11.0'
# The full version, including alpha/beta/rc tags.
release = '2.10.0'
release = '2.11.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
23 changes: 23 additions & 0 deletions documentation/source/help_manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ The Application Settings view is used to configure global application settings t

* Default API on startup: RGA will always enter the selected API Mode upon startup.

* Color theme: "Detect OS" is the default. This will use the system's setting for the color theme.

* **Disassembly View**

* Disassembly view columns: The set of disassembly view columns which will be visible by default.
Expand Down Expand Up @@ -458,6 +460,8 @@ The Application Settings view is used to configure global application settings t

* Default API on startup: RGA will always enter the selected API Mode upon startup.

* Color theme: "Detect OS" is the default. This will use the system's setting for the color theme.

* **Disassembly View**

* Disassembly view columns: The set of disassembly view columns which will be visible by default.
Expand Down Expand Up @@ -739,6 +743,8 @@ The Application Settings view is used to configure global application settings t

* Default API on startup: RGA will always enter the selected API Mode upon startup.

* Color theme: "Detect OS" is the default. This will use the system's setting for the color theme.

* **Disassembly View**

* Disassembly view columns: The set of disassembly view columns which will be visible by default.
Expand Down Expand Up @@ -1029,6 +1035,23 @@ By default, RGA will use the compiler that is bundled with the package. You can
* **Libraries folder:**
Path to alternative compiler's OpenCL™ device libraries folder. The following bitcode files are expected to be in the specified folder: irif.amdgcn.bc, ockl.amdgcn.bc, oclc_correctly_rounded_sqrt_off.amdgcn.bc, oclc_correctly_rounded_sqrt_on.amdgcn.bc, oclc_daz_opt_off.amdgcn.bc, oclc_daz_opt_on.amdgcn.bc, oclc_finite_only_off.amdgcn.bc, oclc_finite_only_on.amdgcn.bc, oclc_isa_version_900.amdgcn.bc, oclc_isa_version_901.amdgcn.bc, oclc_isa_version_902.amdgcn.bc, oclc_unsafe_math_off.amdgcn.bc, oclc_unsafe_math_on.amdgcn.bc, ocml.amdgcn.bc, opencl.amdgcn.bc

Change the Color Theme
^^^^^^^^^^^^^^^^^^^^^^

RGA now supports switching between dark and light color themes.

.. image:: images/2_1/rga_dark_mode_example.png

#. Navigate to the "Application settings" section of the Settings tab and select the color theme drop down.

.. image:: images/2_1/rga_color_theme_setting.png

#. "Detect OS" is the default option and will use the system's setting for the color theme. "Light" theme uses light backgrounds and dark text, while in "Dark" theme RGA will have dark backgrounds with lighter colored text.

#. After setting the color theme and saving you will be prompted to restart the application. If the application is not restarted not all ui elements will update to reflect the new color theme.

.. image:: images/2_1/color_theme_changed_restart_application_dialog.png

Keyboard Shortcuts
------------------
RGA provides several keyboard shortcuts to facilitate mouse-free usage.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion external/amdt_os_wrappers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ endif()
set_target_properties(AMDTOSWrappers PROPERTIES DEBUG_POSTFIX -d CXX_STANDARD 17)

# Set Visual C++ warning level to 4
if(MSVC)
if(MSVC AND RGA_ENABLE_VULKAN)
target_compile_options(vulkan_backend PRIVATE /W4)
endif()

Expand Down
Binary file modified external/dxc/dxc.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions external/dxc/dxcompiler.dll
Git LFS file not shown
Binary file modified external/dxc/dxil.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions external/lc/disassembler/linux/amdgpu-dis
Git LFS file not shown
4 changes: 2 additions & 2 deletions external/lc/disassembler/windows/amdgpu-dis.exe
Git LFS file not shown
4 changes: 2 additions & 2 deletions external/lc/opencl/linux/bin/clang-18
Git LFS file not shown
4 changes: 2 additions & 2 deletions external/lc/opencl/linux/bin/lld
Git LFS file not shown
4 changes: 2 additions & 2 deletions external/lc/opencl/linux/bin/llvm-objdump
Git LFS file not shown
4 changes: 2 additions & 2 deletions external/lc/opencl/linux/bin/llvm-readobj
Git LFS file not shown
Binary file modified external/lc/opencl/linux/lib/bitcode/hip.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/ockl.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_abi_version_400.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_abi_version_500.bc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_daz_opt_off.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_daz_opt_on.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_finite_only_off.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_finite_only_on.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_1010.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_1011.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_1012.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_1030.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_1031.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_1032.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_1034.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_1035.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_1100.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_1101.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_1102.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_1103.bc
Binary file not shown.
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_900.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_902.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_904.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_906.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_908.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_909.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_90a.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_90c.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_isa_version_942.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_unsafe_math_off.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_unsafe_math_on.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_wavefrontsize64_off.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/oclc_wavefrontsize64_on.bc
Binary file not shown.
Binary file modified external/lc/opencl/linux/lib/bitcode/ocml.bc
Binary file not shown.
4 changes: 2 additions & 2 deletions external/lc/opencl/linux/lib/bitcode/opencl.bc
Git LFS file not shown
4 changes: 2 additions & 2 deletions external/lc/opencl/windows/bin/clang.exe
Git LFS file not shown
4 changes: 2 additions & 2 deletions external/lc/opencl/windows/bin/ld.lld.exe
Git LFS file not shown
4 changes: 2 additions & 2 deletions external/lc/opencl/windows/bin/llvm-objdump.exe
Git LFS file not shown
4 changes: 2 additions & 2 deletions external/lc/opencl/windows/bin/llvm-readobj.exe
Git LFS file not shown
Binary file modified external/lc/opencl/windows/lib/bitcode/hip.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/ockl.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_abi_version_400.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_abi_version_500.bc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_daz_opt_off.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_daz_opt_on.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_finite_only_off.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_finite_only_on.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_1010.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_1011.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_1012.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_1030.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_1031.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_1032.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_1034.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_1035.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_1100.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_1101.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_1102.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_1103.bc
Binary file not shown.
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_900.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_902.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_904.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_906.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_908.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_909.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_90a.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_90c.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_isa_version_942.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_unsafe_math_off.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_unsafe_math_on.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_wavefrontsize64_off.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/oclc_wavefrontsize64_on.bc
Binary file not shown.
Binary file modified external/lc/opencl/windows/lib/bitcode/ocml.bc
Binary file not shown.
4 changes: 2 additions & 2 deletions external/lc/opencl/windows/lib/bitcode/opencl.bc
Git LFS file not shown
4 changes: 2 additions & 2 deletions external/opengl/glc/linux/glc
Git LFS file not shown
4 changes: 2 additions & 2 deletions external/opengl/glc/windows/glc.exe
Git LFS file not shown
4 changes: 2 additions & 2 deletions external/vulkan_offline/linux/amdllpc
Git LFS file not shown
4 changes: 2 additions & 2 deletions external/vulkan_offline/windows/amdllpc.exe
Git LFS file not shown
Loading

0 comments on commit 63ee766

Please sign in to comment.