From ec9c1fd270c7d2cce7078c53ee52932aadf1a009 Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Wed, 21 Jun 2023 11:53:45 +0530 Subject: [PATCH] SWDEV-369618 - [catch2][dtest] Enabling invalid flag test on AMD platform. (#203) Change-Id: Id41a00ed26b334a04e67de1d1cf81f4708786e7b --- .../hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/catch/unit/occupancy/hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags.cc b/catch/unit/occupancy/hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags.cc index 6da8f3ce92..2adf25797a 100644 --- a/catch/unit/occupancy/hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags.cc +++ b/catch/unit/occupancy/hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags.cc @@ -1,5 +1,5 @@ /* -Copyright (c) 2022 Advanced Micro Devices, Inc. All rights reserved. +Copyright (c) 2022 - 2023 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights @@ -211,13 +211,11 @@ TEST_CASE("Unit_hipOccupancyMaxPotBlkSizeVariableSMemWithFlags_NegTst") { blockSizeToDynamicSMemSize, 0, 0); REQUIRE(ret == hipErrorInvalidValue); } -#if HT_NVIDIA SECTION("invalid flag") { ret = hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags(&minGridSize, &blockSize, f1, blockSizeToDynamicSMemSize, 0, 0xffff); REQUIRE(ret == hipErrorInvalidValue); } -#endif } /**