PROFILE_KERNEL Examples - 2022.2 English

Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393)

Document ID
UG1393
Release Date
2022-12-07
Version
2022.2 English
  1. To enable profiling for all kernels:
    PROFILE_KERNEL("all");
  2. To enable profiling for all instances of hls_kernel function:
    PROFILE_KERNEL("hls_kernel");
  3. To enable profiling for compute unit 0 and 2 of hls_df_kernel function:
    PROFILE_KERNEL("hls_df_kernel[0] hls_df_kernel[2]");