SWDEV-336538 - Update hipDeviceSetSharedMemConfig test (#2764)

Change-Id: Idc146a77007618454150a974a54b74cb2ef9ea31
此提交包含在:
ROCm CI Service Account authored and GitHub committed 2022-06-22 15:09:24 -07:00
1 父節點 45870b83b2
當前提交 334df00d36
1 file changed
+4
+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
}