Fixing Paths

Change-Id: Id10d75c1e1cf30cb54a2fbf26032c1ed33a8caca


[ROCm/rocprofiler commit: db59f4a08e]
This commit is contained in:
Ammar ELWazir authored and Ammar Elwazir committed 2023-06-30 18:32:00 -04:00
1 parent cceca05ae9
commit 41223f8297
3 files changed
+16 -97

No files matched your search

@@ -45,6 +45,8 @@ add_subdirectory(rocsys)
add_subdirectory(rocprofv2)
add_executable(ctrl ctrl.cpp)
set_target_properties(ctrl PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/rocprofiler)
target_link_options(rocprofiler_tool PRIVATE -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/exportmap -Wl,--no-undefined)
target_link_libraries(ctrl PRIVATE rocprofiler-v2 hsa-runtime64::hsa-runtime64)
install(TARGETS ctrl RUNTIME
-1
View File
@@ -20,6 +20,5 @@ static int info_callback(const rocprofiler_counter_info_t info, const char* gpu_
int main(int argc, char** argv) {
hsa_init();
rocprofiler_initialize();
rocprofiler_iterate_counters(info_callback);
}