Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4996 Discussions

Rebuild and Install the Kernel for GPU Analysis in OpenSuse

Iyer__Neha
Beginner
495 Views

I am trying to profile an MPI+CUDA application using Intel VTune Amplifier on OpenSuse Leap 15.0. However when I pass the -collect option as "cpugpu-concurrency" I am facing an error as below:


amplxe: Warning: Collection of GPU usage events cannot be enabled. i915 ftrace events are not available.
amplxe: Warning: Collection of GPU usage events cannot be enabled. i915 ftrace events are not available.
amplxe: Error: Ftrace is already in use. Make sure to stop previous collection first.
amplxe: Collection failed.
amplxe: Fatal error: Unknown critical error
amplxe: Internal Error
 

I checked the CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS option in the config file under boot directory and the following options were not set. 

#
# drm/i915 Debugging
#
# CONFIG_DRM_I915_WERROR is not set
# CONFIG_DRM_I915_DEBUG is not set
# CONFIG_DRM_I915_SW_FENCE_DEBUG_OBJECTS is not set
# CONFIG_DRM_I915_SW_FENCE_CHECK_DAG is not set
# CONFIG_DRM_I915_SELFTEST is not set
# CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS is not set
# CONFIG_DRM_I915_DEBUG_VBLANK_EVADE is not set

Can anyone kindly provide the steps to modify the config file and rebuild the kernel for Opensuse Leap 15.0?

Thanks in advance.

 

0 Kudos
2 Replies
Svetlana_K_Intel
Employee
495 Views

Upd. Totally missed the CUDA word, sorry.

The steps I suggested would help to profile Intel graphics only, I'm afraid we have no GPU-related analyses suitable for NVidia on Linux.

0 Kudos
Reply