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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Referens i nytt ärende
Block a user