SWDEV-336538 - Update hipDeviceSetSharedMemConfig test (#2764)

Change-Id: Idc146a77007618454150a974a54b74cb2ef9ea31


[ROCm/hip-tests commit: 19b94c4be7]
Tá an tiomantas seo le fáil i:
ROCm CI Service Account údaraithe agus GitHub tiomanta 2022-06-22 15:09:24 -07:00
1 tuismitheoir 20844fd79d
tiomantas b984598246
1 comhad athraithe
+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
}