SWDEV-478472 - Fix tests to return hipErrorInvalidChannelDescriptor instead of hipErrorUnknown
Change-Id: I1dc3af072aed813173cc12e9976a34ddf8c7d6a8
[ROCm/hip-tests commit: 5fa9900949]
This commit is contained in:
1 parent
9e080a303c
commit
5e41c48966
5 files changed
+16
-46
No files matched your search
@@ -271,7 +271,7 @@ void testInvalidDescriptionMipmapped(hipChannelFormatDesc desc) {
|
||||
hipMipmappedArray_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