Test using HIP Graphs (#835)

* Test using hip graphs

* Remove assert for api_end < async_end

* Update rocprofv3/tracing-hip-in-libraries::test_api_trace

* Update rocprofv3/tracing-hip-in-libraries::test_api_trace

* Increase rocprofv3-test-trace-hip-in-libraries-validate timeout

* Update rocprofv3/tracing-hip-in-libraries::test_api_trace

* Remove submit retry

* Update rocprofv3/tracing-hip-in-libraries::test_api_trace

* Increase rocprofv3-test-trace-hip-in-libraries-validate timeout

* Update lib/common/container/record_header_buffer.hpp

- minor tweaks

* Update lib/rocprofiler-sdk/buffer.hpp

- tweak ROCPROFILER_BUFFER_POLICY_LOSSLESS flush behavior

* Increase rocprofv3-test-trace-hip-in-libraries-validate timeout

* Update rocprofv3/tracing-hip-in-libraries::test_api_trace

* Revert rocprofv3-test-trace-hip-in-libraries-validate timeout

* Update run-ci.py

- RETRY_COUNT set to zero

[ROCm/rocprofiler-sdk commit: 1f96593b4f]
此提交包含在:
Jonathan R. Madsen authored and GitHub committed 2024-05-07 15:10:22 -05:00
1 父節點 ea56f79495
當前提交 4cd076b9cc
14 file changed
+635 -23

No files matched your search

+9 -8
查看文件
@@ -257,10 +257,10 @@ record_header_buffer::emplace(uint64_t _hash, Tp& _v)
// placement new
new(_addr) Tp{_v};
rocprofiler_record_header_t record = {};
record.hash = _hash;
record.payload = _addr;
m_headers.at(idx) = record;
auto record = rocprofiler_record_header_t{};
record.hash = _hash;
record.payload = _addr;
m_headers.at(idx) = record;
}
read_unlock();
@@ -299,10 +299,11 @@ record_header_buffer::emplace(uint32_t _category, uint32_t _kind, Tp& _v)
// placement new
new(_addr) Tp{_v};
m_headers.at(idx) = rocprofiler_record_header_t{};
m_headers.at(idx).category = _category;
m_headers.at(idx).kind = _kind;
m_headers.at(idx).payload = _addr;
auto record = rocprofiler_record_header_t{};
record.category = _category;
record.kind = _kind;
record.payload = _addr;
m_headers.at(idx) = record;
}
read_unlock();
+3 -3
查看文件
@@ -134,12 +134,12 @@ rocprofiler::buffer::instance::emplace(uint32_t category, uint32_t kind, Tp& val
if(policy == ROCPROFILER_BUFFER_POLICY_LOSSLESS)
{
// blocks until buffer is flushed
while(!success)
do
{
buffer::flush(buffer_id, false);
buffer::flush(buffer_id, true);
idx = get_idx();
success = buffers.at(idx).emplace(category, kind, value);
}
} while(!success);
}
else
{
+1 -1
查看文件
@@ -231,7 +231,7 @@ def generate_dashboard_script(args):
macro(dashboard_submit)
if("{SUBMIT}" GREATER 0)
ctest_submit({ARGN}
RETRY_COUNT 1
RETRY_COUNT 0
RETRY_DELAY 10
CAPTURE_CMAKE_ERROR _cdash_submit_err)