SWDEV-336538 - Update hipDeviceSetSharedMemConfig test (#2764)

Change-Id: Idc146a77007618454150a974a54b74cb2ef9ea31


[ROCm/hip commit: 334df00d36]
Этот коммит содержится в:
ROCm CI Service Account
2022-06-23 03:39:24 +05:30
коммит произвёл GitHub
родитель 76c9a958ea
Коммит 5980fb069c
+4
Просмотреть файл
@@ -37,5 +37,9 @@ TEST_CASE("Unit_hipDeviceGetCacheConfig_FuncTst") {
(cacheConfig != hipFuncCachePreferEqual)));
// This code exists to test the dummy implementation of
// hipDeviceSetCacheConfig.
#if HT_NVIDIA
HIP_CHECK(hipDeviceSetCacheConfig(cacheConfig));
#else
REQUIRE_FALSE(hipSuccess == hipDeviceSetCacheConfig(cacheConfig));
#endif
}