SWDEV-478472 - Fix tests to return hipErrorInvalidChannelDescriptor instead of hipErrorUnknown

Change-Id: I1dc3af072aed813173cc12e9976a34ddf8c7d6a8
This commit is contained in:
Vladana Stojiljkovic authored and Rakesh Roy committed 2024-11-04 11:25:54 -05:00
1 parent 7aff6567b7
commit 5fa9900949
5 files changed
+16 -46

No files matched your search

+1 -1
View File
@@ -333,7 +333,7 @@ void testInvalidDescription(hipChannelFormatDesc desc) {
hipArray_t array;
#if HT_NVIDIA
hipError_t expectedError = hipErrorUnknown;
hipError_t expectedError = hipErrorInvalidChannelDescriptor;
#else
hipError_t expectedError = hipErrorInvalidValue;
#endif