Fixing Paths

Change-Id: Id10d75c1e1cf30cb54a2fbf26032c1ed33a8caca
This commit is contained in:
Ammar ELWazir
2023-06-30 19:24:33 +00:00
committed by Ammar Elwazir
parent b9b17bfb34
commit db59f4a08e
3 changed files with 16 additions and 97 deletions
+2
View File
@@ -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);
}