Updated validation of aborted-app test to use hipExtHostAlloc (#1103)

* Updated validation of aborted-app test to use hipExtHostAlloc now that tracing for this command is supported

* Updated CHANGELOG
This commit is contained in:
itrowbri
2024-09-27 22:02:00 -05:00
committad av GitHub
förälder 16e791dc9a
incheckning 5dd2f94f74
2 ändrade filer med 3 tillägg och 4 borttagningar
+1
Visa fil
@@ -108,3 +108,4 @@ Full documentation for ROCprofiler-SDK is available at [Click Here](source/docs/
- Creation of subdirection when rocprofv3 `--output-file` contains a folder path
- Fix misaligned stores (undefined behavior) for buffer records
- Fix crash when only scratch reporting is enabled
- Fix aborted-app validation test to properly check for hipExtHostAlloc command now that it is supported
+2 -4
Visa fil
@@ -99,11 +99,9 @@ def test_hip_api_trace_json(json_data):
"hipGetLastError",
]
)
# TODO: When tracing support is added for hipExtHostAlloc, replace
# hipHostMalloc with hipExtHostAlloc instead of removing hipHostMalloc
# as is happening currently
updated_expected_functions = [
func for func in expected_functions if func != "hipHostMalloc"
func if func != "hipHostMalloc" else "hipExtHostAlloc"
for func in expected_functions
]
assert functions == expected_functions or functions == updated_expected_functions