diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-01 15:05:02 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-01 15:05:02 +0000 |
commit | e523ebcd50638ebe53f8f425d126bfa7385703b5 (patch) | |
tree | a8202f9224bd577afe09c919786f8836cf4a2a7c /dev-util/roctracer/files | |
parent | d88834e7a12432c4e2d04ca7e938a66e25811f89 (diff) |
gentoo auto-resync : 01:02:2023 - 15:05:01
Diffstat (limited to 'dev-util/roctracer/files')
3 files changed, 0 insertions, 68 deletions
diff --git a/dev-util/roctracer/files/roctracer-4.3.0-ldflag.patch b/dev-util/roctracer/files/roctracer-4.3.0-ldflag.patch deleted file mode 100644 index a1db6922158a..000000000000 --- a/dev-util/roctracer/files/roctracer-4.3.0-ldflag.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: roctracer-rocm-4.3.0/cmake_modules/env.cmake -=================================================================== ---- roctracer-rocm-4.3.0.orig/cmake_modules/env.cmake -+++ roctracer-rocm-4.3.0/cmake_modules/env.cmake -@@ -51,7 +51,7 @@ set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS - set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fmerge-all-constants" ) - set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC" ) - --set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bdynamic -Wl,-z,noexecstack" ) -+set ( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bdynamic -Wl,-z,noexecstack" ) - - set ( CMAKE_SKIP_BUILD_RPATH TRUE ) - diff --git a/dev-util/roctracer/files/roctracer-4.3.0-no-aqlprofile.patch b/dev-util/roctracer/files/roctracer-4.3.0-no-aqlprofile.patch deleted file mode 100644 index 0548953f3089..000000000000 --- a/dev-util/roctracer/files/roctracer-4.3.0-no-aqlprofile.patch +++ /dev/null @@ -1,20 +0,0 @@ -Skip loading proprietary AQLProfile lib -Index: roctracer-rocm-5.1.3/src/util/hsa_rsrc_factory.cpp -=================================================================== ---- roctracer-rocm-5.1.3.orig/src/util/hsa_rsrc_factory.cpp -+++ roctracer-rocm-5.1.3/src/util/hsa_rsrc_factory.cpp -@@ -127,14 +127,6 @@ HsaRsrcFactory::HsaRsrcFactory(bool init - if (cpu_pool_ == NULL) CHECK_STATUS("CPU memory pool is not found", HSA_STATUS_ERROR); - if (kern_arg_pool_ == NULL) CHECK_STATUS("Kern-arg memory pool is not found", HSA_STATUS_ERROR); - -- // Get AqlProfile API table -- aqlprofile_api_ = {0}; --#ifdef ROCP_LD_AQLPROFILE -- status = LoadAqlProfileLib(&aqlprofile_api_); --#else -- status = hsa_api_.hsa_system_get_major_extension_table(HSA_EXTENSION_AMD_AQLPROFILE, hsa_ven_amd_aqlprofile_VERSION_MAJOR, sizeof(aqlprofile_api_), &aqlprofile_api_); --#endif -- CHECK_STATUS("aqlprofile API table load failed", status); - - // Get Loader API table - loader_api_ = {0}; diff --git a/dev-util/roctracer/files/roctracer-4.3.0-tracer_tool.patch b/dev-util/roctracer/files/roctracer-4.3.0-tracer_tool.patch deleted file mode 100644 index f59c83a96110..000000000000 --- a/dev-util/roctracer/files/roctracer-4.3.0-tracer_tool.patch +++ /dev/null @@ -1,35 +0,0 @@ -Index: roctracer-rocm-4.3.0/test/CMakeLists.txt -=================================================================== ---- roctracer-rocm-4.3.0.orig/test/CMakeLists.txt -+++ roctracer-rocm-4.3.0/test/CMakeLists.txt -@@ -75,7 +75,7 @@ set ( TEST_DIR ${HSA_TEST_DIR} ) - set ( TEST_DIR ${TMP} ) - - ## Util sources --file( GLOB UTIL_SRC "${HSA_TEST_DIR}/util/*.cpp" ) -+file( GLOB UTIL_SRC "${CMAKE_CURRENT_SOURCE_DIR}/../src/util/*.cpp" ) - - if ( DEFINED ROCTRACER_TARGET ) - ## Build test library -Index: roctracer-rocm-4.3.0/test/tool/tracer_tool.cpp -=================================================================== ---- roctracer-rocm-4.3.0.orig/test/tool/tracer_tool.cpp -+++ roctracer-rocm-4.3.0/test/tool/tracer_tool.cpp -@@ -285,7 +285,7 @@ void stop_callback() { roctracer::RocTxL - void roctx_flush_cb(roctx_trace_entry_t* entry) { - #if ROCTX_CLOCK_TIME - timestamp_t timestamp = 0; -- HsaRsrcFactory::Instance().GetTimestamp(HsaTimer::TIME_ID_CLOCK_MONOTONIC, entry->time, ×tamp); -+ util::HsaRsrcFactory::Instance().GetTimestamp(HsaTimer::TIME_ID_CLOCK_MONOTONIC, entry->time, ×tamp); - #else - const timestamp_t timestamp = entry->time; - #endif -@@ -1148,7 +1148,7 @@ extern "C" PUBLIC_API bool OnLoad(HsaApi - - // Dumping HSA handles for agents and pools - FILE* handles_file_handle = open_output_file(output_prefix, "hsa_handles.txt"); -- HsaRsrcFactory::Instance().DumpHandles(handles_file_handle); -+ util::HsaRsrcFactory::Instance().DumpHandles(handles_file_handle); - close_output_file(handles_file_handle); - - ONLOAD_TRACE_END(); |