You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-16Lines changed: 13 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -31,19 +31,13 @@ Prebuilt binaries can be downloaded from the Releases page: https://github.com/G
31
31
* Provides access to some raw hardware counters. See [Raw Hardware Counters](#raw-hardware-counters) for more information.
32
32
33
33
## What's New
34
-
* Version 3.8 (04/01/21)
35
-
* Add support for additional GPUs and APUs, including AMD Radeon™ RX 6700 series GPUs.
36
-
* Code has been updated to adhere to Google C++ Style Guide.
37
-
* New public headers have been added.
38
-
* Old headers are deprecated and will emit compile-time message.
39
-
* Projects loading GPA will need to be recompiled, but no code changes are required unless moving to the new headers.
40
-
* Improvements made to sample applications.
41
-
* Updated documentation for new codestyle (and https://github.com/GPUOpen-Tools/gpu_performance_api/issues/56)
42
-
* Support for the --internal flag to has been removed from the build script.
34
+
* Version 3.9 (07/27/21)
35
+
* Add support for additional GPUs and APUs.
36
+
* Improvements made to the sample applications.
43
37
44
38
## System Requirements
45
39
* An AMD Radeon GPU or APU based on Graphics IP version 8 and newer.
46
-
* Windows: Radeon Software Adrenaline 2020 Edition 20.11.2 or later (Driver Packaging Version 20.45 or later).
40
+
* Windows: Radeon Software Adrenalin 2020 Edition 20.11.2 or later (Driver Packaging Version 20.45 or later).
47
41
* Linux: Radeon Software for Linux Revision 20.45 or later.
48
42
* Radeon GPUs or APUs based on Graphics IP version 6 and 7 are no longer supported by GPUPerfAPI. Please use an older version ([3.3](https://github.com/GPUOpen-Tools/gpu_performance_api/releases/tag/v3.3)) with older hardware.
49
43
* Windows 7, 8.1, and 10.
@@ -90,8 +84,8 @@ This version allows you to access the raw hardware counters by simply specifying
90
84
### Ubuntu 20.04 LTS Vulkan ICD Issue
91
85
On Ubuntu 20.04 LTS, Vulkan ICD may not be set to use AMD Vulkan ICD. In this case, it needs to be explicitly set to use AMD Vulkan ICD before using the GPA. It can be done by setting the ```VK_ICD_FILENAMES``` environment variable to ```/etc/vulkan/icd.d/amd_icd64.json```.
92
86
93
-
### OpenGL Fetchsize Counter on Radeon RX 6000
94
-
FetchSize counter will show an error when enabled on Radeon RX 6000 Series GPU using OpenGL.
87
+
### OpenGL FetchSize Counter on Radeon RX 6000 Series GPUs
88
+
FetchSize counter will show an error when enabled on Radeon RX 6000 Series GPUs using OpenGL.
95
89
96
90
### Adjusting Linux Clock Mode
97
91
Adjusting the GPU clock mode on Linux is accomplished by writing to: ```/sys/class/drm/card\<N\>/device/power_dpm_force_performance_level```, where \<N\> is the index of the card in question.
@@ -103,12 +97,16 @@ By default this file is only modifiable by root, so the application being profil
103
97
* Setting the GPU clock mode is not working correctly for <b>Radeon 5700 Series GPUs</b>, potentially leading to some inconsistencies in counter values from one run to the next.
104
98
105
99
### DirectX11 Performance Counter Accuracy For Select Counters and GPUs
106
-
The following performance counter values may not be accurate for DirectX 11 applications running on a Radeon 5700, and 6000 Series GPU.
100
+
The following performance counter values may not be accurate for DirectX 11 applications running on a Radeon 5700, and 6000 Series GPUs:
107
101
* VALUInstCount, SALUInstCount, VALUBusy, SALUBusy for all shader stages: These values should be representative of performance, but may not be 100% accurate.
108
102
* Most of the ComputeShader counters (all except the MemUnit and WriteUnit counters): These values should be representative of performance, but may not be 100% accurate.
109
103
110
-
### OpenGL Performance Counter Accuracy For Radeon 7500
111
-
The following performance counter values may not be accurate for OpenGL applications running on a Radeon 5700 Series GPU.
104
+
### OpenCL Performance Counter Accuracy For Radeon 6000 Series GPUs
105
+
The following performance counter values may not be accurate for OpenCL applications running on Radeon 6000 Series GPUs:
106
+
* Wavefronts, VALUInsts, SALUInsts, SALUBusy, VALUUtilization: These values should be representative of performance, but may not be 100% accurate.
107
+
108
+
### OpenGL Performance Counter Accuracy For Radeon 5700 Series GPUs
109
+
The following performance counter values may not be accurate for OpenGL applications running on a Radeon 5700 Series GPUs:
112
110
* Most of the ComputeShader counters (all except the MemUnit and WriteUnit counters): These values should be representative of performance, but may not be 100% accurate.
113
111
114
112
### Variability in Deterministic Counters For Select GPUs
@@ -119,7 +117,6 @@ Performance counters which should be deterministic are showing variability on Ra
119
117
Profiling bundles in DirectX12 and Vulkan is not working properly. It is recommended to remove those GPA Samples from your application, or move the calls out of the bundle for profiling.
120
118
121
119
## Style and Format Change
122
-
123
120
The source code of this product is being reformatted to follow the Google C++ Style Guide https://google.github.io/styleguide/cppguide.html.
124
121
In the interim you may encounter a mix of both an older C++ coding style, as well as the newer Google C++ Style.
125
122
Please refer to the _clang-format file in the root directory of the product for additional style information.
parser=argparse.ArgumentParser(description="Changes the file permission for device clock setting on Android")
16
+
parser.add_argument("-t", "--target", required=True, help="IP address of Android device")
17
+
parser.add_argument("-d", "--device", help="adb device ID, as seen in 'adb devices'. This or -i must be specified when multiple devices are available.")
18
+
parser.add_argument("-i", "--infer", action="store", metavar="PORT", nargs="?", const="5555", help="Specify this when using ADB over TCP/IP, to infer the -d argument from the -t one. This option saves you from having to specify the device IP address twice. Port 5555 is used if no port is specified. This or -d must be specified when multiple devices are available.")
19
+
args=parser.parse_args()
20
+
21
+
# Check that we have adb in PATH, that it sees a device and the device is
0 commit comments