The GPU Profiler provides two modes:
Application Timeline Trace |
This mode provides a
high-level overview of an OpenCL™ or HSA application. It displays: |
Performance Counters |
This mode collects
performance counters from the AMD GPU or APU for each kernel dispatched to
the device by either and OpenCL™, HSA or DirectCompute application. |
For OpenCL™ programs, both profiling modes can also generate Kernel Occupancy information for each kernel dispatched to a GPU. For HSA applications Kernel Occupancy information is only available in Performance Counter mode. For more information, see GPU Profiler Kernel Occupancy Viewer and GPU Profiler Kernel Occupancy
To use the GPU Profiler:
1.
Create a new project, or open an
existing project.
2.
Switch to Profile Mode in CodeXL.
You can switch to Profile Mode using the CodeXL Toolbar or the CodeXL
menu.
3.
In Profile Mode, use the menu to select
one of the above two modes.
4.
Start the profile session using the
"Start CodeXL Profiling" toolbar or menu item. Profiling results are
gathered while the application is running.
Once the application terminates, a new session is added to the CodeXL Explorer. The results of the profile also are displayed by CodeXL.
The following links provide more information on the features available in the GPU Profiler.
Application Timeline Trace Session
GPU Profiler Performance Counters Session
GPU Profiler Kernel Occupancy Viewer
Description of Configuration Files