Collect DPC++ Application Traces
- Run the following command to build it:dpcpp -o vac ./va_const.cpp
- Set the environment variableFGT_ROOTto point to<fga-install-dir>/fgt:export FGT_ROOT=<advisor-install-dir>/fga/fgt
- Set the back end for the DPC++ run-time to OpenCL™ by setting the following environment variable:export SYCL_BE=PI_OPENCLCurrent version of Flow Graph Collector does not supportLevel0.
- Run the application using the Flow Graph Analyzer collector:$FGT_ROOT/linux/bin/fgtrun.sh ./vac gpuThis command will generate two files:vac.graphml, which contains the semantic information of what was executed, as in the asynchronous task-graph, andvac.traceml, which contains the execution traces of the application. Open the files in the Flow Graph Analyzer on the current system or copy them to another system with Flow Graph Analyzer installed to investigate.