SWDEV-465209 - Enable Not_Supported tests

This addresses
SWDEV-465209
SWDEV-465211
SWDEV-465216
SWDEV-465218
SWDEV-465210

Change-Id: I3596f058050d056608dbbe5353306ee88d277b44


[ROCm/hip-tests commit: 570c690f42]
This commit is contained in:
Branislav Brzak
2024-06-04 03:13:51 -07:00
committed by Branislav Brzak
parent a2031a7006
commit 8b0c88e49b
9 changed files with 27 additions and 33 deletions
@@ -100,6 +100,11 @@ TEST_CASE("Unit_hipFuncSetCacheConfig_Negative_Parameters") {
* - HIP_VERSION >= 5.2
*/
TEST_CASE("Unit_hipFuncSetCacheConfig_Negative_Not_Supported") {
#if HT_NVIDIA
HipTest::HIP_SKIP_TEST("This is an AMD specific test");
return;
#endif
HIP_CHECK_ERROR(hipFuncSetCacheConfig(reinterpret_cast<void*>(kernel), hipFuncCachePreferNone),
hipErrorNotSupported);
}