SWDEV-425830 - Add pcie atomic query in atomic tests
Add code to query pcie-atomics in atomic tests.
If pcie-atomics is not supported, skip the tests.
Enable the tests for Nvidia GPUs as well.
Change-Id: I7bfc8600511d78d8c73ab526f9846cd268651278
[ROCm/hip-tests commit: fafcad9162]
This commit is contained in:
@@ -129,7 +129,8 @@ void verify_linked_lists_on_device(hipStream_t stream, Node* pNodes,
|
||||
int correct_count = *pNumCorrect;
|
||||
if(correct_count != ListLength * numLists)
|
||||
{
|
||||
fprintf(stderr,"Failed\n");
|
||||
fprintf(stderr, "Failed: correct_count = %d, ListLength=%u, numLists = %u\n", correct_count,
|
||||
ListLength, numLists);
|
||||
REQUIRE(false);
|
||||
}
|
||||
}
|
||||
@@ -239,6 +240,7 @@ TEST_CASE("test_svm_shared_address_space_fine_grain_buffers") {
|
||||
* Test requirements
|
||||
* ------------------------
|
||||
* - Host specific (WINDOWS and LINUX)
|
||||
* - Unified address supported on devices
|
||||
* - System fine grain access supported on devices
|
||||
* - HIP_VERSION >= 5.7
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user