SWDEV-369618 - [catch2][dtest] Enabling invalid flag test on AMD platform. (#203)
Change-Id: Id41a00ed26b334a04e67de1d1cf81f4708786e7b
[ROCm/hip-tests commit: ec9c1fd270]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
f4849d71d7
Коммит
5b6987f097
+1
-3
@@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Ссылка в новой задаче
Block a user