SWDEV-478472 - Fix tests to return hipErrorInvalidChannelDescriptor instead of hipErrorUnknown
Change-Id: I1dc3af072aed813173cc12e9976a34ddf8c7d6a8
This commit is contained in:
1 parent
7aff6567b7
commit
5fa9900949
5 files changed
+16
-46
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user