CPU/GPU Concurrency analysis type is intended for platform analysis of applications that use a Graphics Processing Unit (GPU) for rendering, video processing, and computations. Use this analysis type as a starting point to understand the code execution on the various CPU and GPU cores in your system and identify whether your target application is GPU or CPU bound. The tool infrastructure automatically aligns clocks across all cores in the entire system so that you can analyze some CPU-based workloads together with GPU-based workloads within a unified time domain.
$ amplxe-cl -collect cpugpu-concurrency -- <target> [target_options]
target is the application or process (for Android*) to run
target_options are application arguments
This example shows how to run CPU/GPU Concurrency analysis on a Linux* myApplication app:
$ amplxe-cl -collect cpugpu-concurrency -- home/test/myApplication
When the data collection is complete, do one of the following to view the result:
Use the -report action to view the data from command line.
Use the -report-output action to write report to a .txt or .csv file