Tests: Scratch memory validate bug, summary validate bug (#187)
Scratch memory validate bug, summary validate bug
Co-authored-by: Ammar ELWazir <aelwazir@amd.com>
[ROCm/rocprofiler-sdk commit: b9ad800194]
このコミットが含まれているのは:
@@ -209,7 +209,7 @@ def test_summary_data(json_data):
|
||||
)
|
||||
assert oitr.value.count == 2
|
||||
elif itr.domain == "HIP_API":
|
||||
assert itr.stats.count >= 2130 and itr.stats.count <= 2150
|
||||
assert itr.stats.count >= 2130 and itr.stats.count <= 2165
|
||||
elif itr.domain == "MEMORY_COPY":
|
||||
# two threads + two memory copies (H2D + D2H).
|
||||
# HIP may decompose memory copies into more than one HSA memory copy
|
||||
|
||||
@@ -69,7 +69,7 @@ def test_data_structure(input_data):
|
||||
|
||||
node_exists("names", sdk_data["buffer_records"])
|
||||
node_exists("kernel_dispatch", sdk_data["buffer_records"])
|
||||
node_exists("memory_copies", sdk_data["buffer_records"], num_agents)
|
||||
node_exists("memory_copies", sdk_data["buffer_records"], 0)
|
||||
node_exists("hsa_api_traces", sdk_data["buffer_records"])
|
||||
node_exists("hip_api_traces", sdk_data["buffer_records"], 0)
|
||||
node_exists("retired_correlation_ids", sdk_data["buffer_records"])
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする