Fixing Paths
Change-Id: Id10d75c1e1cf30cb54a2fbf26032c1ed33a8caca
Этот коммит содержится в:
коммит произвёл
Ammar Elwazir
родитель
b9b17bfb34
Коммит
db59f4a08e
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
Ссылка в новой задаче
Block a user