Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XDP: Fixed compilation issue for VE2 and new uC metric set for trace #8718

Merged
merged 1 commit into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if (XDP_VE2_BUILD_CMAKE STREQUAL "yes")
add_dependencies(xdp_aie_debug_plugin xdp_core xrt_coreutil)
target_link_libraries(xdp_aie_debug_plugin PRIVATE xdp_core xrt_coreutil xaiengine)
target_compile_definitions(xdp_aie_debug_plugin PRIVATE FAL_LINUX="on" XDP_VE2_BUILD=1)

target_include_directories(xdp_aie_debug_plugin PRIVATE ${CMAKE_SOURCE_DIR}/src)
install (TARGETS xdp_aie_debug_plugin
LIBRARY DESTINATION ${XDP_PLUGIN_INSTALL_DIR}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ namespace xdp::aie::trace {
eventSets["uc_axis"] = {};
eventSets["uc_program_flow"] = {};
#else
eventSets["uc_dma"] = {
XAIE_EVENT_DMA_DM2MM_START_TASK_UC, XAIE_EVENT_DMA_DM2MM_FINISHED_BD_UC,
XAIE_EVENT_DMA_DM2MM_FINISHED_TASK_UC, XAIE_EVENT_DMA_MM2DM_START_TASK_UC,
XAIE_EVENT_DMA_MM2DM_FINISHED_BD_UC, XAIE_EVENT_DMA_MM2DM_FINISHED_TASK_UC};
eventSets["uc_dma_dm2mm"] = {
XAIE_EVENT_DMA_DM2MM_START_TASK_UC, XAIE_EVENT_DMA_DM2MM_FINISHED_BD_UC,
XAIE_EVENT_DMA_DM2MM_FINISHED_TASK_UC, XAIE_EVENT_DMA_DM2MM_LOCAL_MEMORY_STARVATION_UC,
Expand Down
Loading