Fix HIP Streams Duplication Error (#313)
* Fix stream duplication and fixed tests
* Added comments to explain stream.cpp code, change stream nullptr check to occur in update table to prevent readding null stream, simplified hip-streams bin file code, add destroyStreams to hip-streams bin file code
* Removed roctx from CMakeLists.txt
* Updated documentation
* Fix documentation
* Removed update_table for HIP compiler table and updated stream.cpp to remove support for HIP compiler table
* Added runtime initialization check for HIP
* Changed tool name, working on fixing memory management
* Added context for counter collection kernel rename combination
* Changed name from map to set and changed description
* Fix documentation description for group-by-queue
* Merged memory copy and kernel operations onto a single track when on the same stream
* Updated perfetto output to remove hardware information from track name to merge all memory copy and kernel operations on the same stream to the same track:
* Most pr comments addressed
* Added filter for counter collection and removed kernel buffer tracing hack
* Added PR comment fixes
---------
Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>
[ROCm/rocprofiler-sdk commit: e626df43eb]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
49486fee5e
Коммит
24f054f509
@@ -475,6 +475,26 @@ metadata::add_external_correlation_id(uint64_t val)
|
||||
[](auto& _data, uint64_t _val) { return _data.emplace(_val).second; }, val);
|
||||
}
|
||||
|
||||
bool
|
||||
metadata::add_runtime_initialization(rocprofiler_runtime_initialization_operation_t runtime_op)
|
||||
{
|
||||
return runtime_initialization_set.wlock(
|
||||
[](auto& _data, rocprofiler_runtime_initialization_operation_t _runtime_op) {
|
||||
return _data.emplace(_runtime_op).second;
|
||||
},
|
||||
runtime_op);
|
||||
}
|
||||
|
||||
bool
|
||||
metadata::is_runtime_initialized(rocprofiler_runtime_initialization_operation_t runtime_op) const
|
||||
{
|
||||
return runtime_initialization_set.rlock(
|
||||
[](const auto& _data, rocprofiler_runtime_initialization_operation_t _runtime_op) {
|
||||
return _data.count(_runtime_op) > 0;
|
||||
},
|
||||
runtime_op);
|
||||
}
|
||||
|
||||
std::string_view
|
||||
metadata::get_marker_message(uint64_t corr_id) const
|
||||
{
|
||||
|
||||
Ссылка в новой задаче
Block a user