[SWDEV-467733] - Set Cache Config Negative Param test fix
Change-Id: I058ca23a05e63aaaa54ea22e2b509593764cd7bc
[ROCm/hip-tests commit: 4e99f68b03]
Этот коммит содержится в:
коммит произвёл
Rakesh Roy
родитель
0ad2a9912a
Коммит
51620a1bb6
@@ -75,11 +75,7 @@ TEST_CASE("Unit_hipDeviceSetCacheConfig_Positive_Basic") {
|
||||
* - HIP_VERSION >= 5.2
|
||||
*/
|
||||
TEST_CASE("Unit_hipDeviceSetCacheConfig_Negative_Parameters") {
|
||||
#if HT_AMD
|
||||
HIP_CHECK_ERROR(hipDeviceSetCacheConfig(static_cast<hipFuncCache_t>(-1)), hipSuccess);
|
||||
#elif HT_NVIDIA
|
||||
HIP_CHECK_ERROR(hipDeviceSetCacheConfig(static_cast<hipFuncCache_t>(-1)), hipErrorInvalidValue);
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Ссылка в новой задаче
Block a user