Skip to content

Commit 8e3293b

Browse files
authored
Disable tests that validate config dimensions. (#5939)
## Motivation Updated yaml file to disable negative tests. ## Technical Details Updated yaml file to disable negative tests. ## JIRA ID N/A ## Test Plan CI Tests ## Test Result CI Tests <!-- Briefly summarize test outcomes. --> ## Submission Checklist - [X ] Look over the contributing guidelines at https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
1 parent 1388b15 commit 8e3293b

5 files changed

Lines changed: 10 additions & 5 deletions

File tree

projects/hip-tests/catch/config/configs/unit/kernel.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,7 @@ kernel:
8383
Unit_ConfigureCall_CheckParams:
8484
<<: *level_2
8585
tags: [launch]
86+
Unit_hipGridLaunch_ExceedMaxGridDim_Negative:
87+
<<: *level_2
88+
disabled: [amd_windows, amd_linux]
89+
tags: [launch]

projects/hip-tests/catch/config/configs/unit/memory.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ memory:
583583
Unit_hipMemPrefetchAsync_NonPageSz:
584584
<<: *level_2
585585
# Disabling below tests temporarily due to change in API behavior
586-
disabled: [amd_windows, amd_wsl]
586+
disabled: [amd_windows, amd_wsl, amd_linux]
587587
tags: [query]
588588
Unit_hipMemAdvise_MmapMem:
589589
<<: *level_2
@@ -1767,6 +1767,7 @@ memory:
17671767
tags: [query]
17681768
Unit_hipMemPrefetchBatchAsync_LocationDistribution:
17691769
<<: *level_2
1770+
disabled: [amd_windows, amd_linux]
17701771
tags: [query]
17711772
Unit_hipMemPrefetchBatchAsync_RoundTripDataIntegrity:
17721773
<<: *level_2

projects/hip-tests/catch/config/configs/unit/module.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module:
3131
Unit_hipModuleLaunchKernel_Negative_Parameters:
3232
<<: *level_2
3333
# Below tests are failing PSDB
34-
disabled: [amd_windows]
34+
disabled: [amd_windows, amd_linux]
3535
tags: [launch]
3636
Unit_hipModuleLaunchKernel_Fntl:
3737
<<: *level_2
@@ -292,7 +292,7 @@ module:
292292
Unit_hipExtModuleLaunchKernel_Negative_Parameters:
293293
<<: *level_2
294294
# Below tests are failing PSDB
295-
disabled: [amd_windows]
295+
disabled: [amd_windows, amd_linux]
296296
tags: [launch]
297297
Unit_hipExtModuleLaunchKernel_Functional:
298298
<<: *level_2

projects/hip-tests/catch/unit/kernel/hipGridLaunch.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ TEST_CASE("Unit_hipGridLaunch_MaxGridDim_GetDeviceAttribute") {
181181
}
182182
}
183183

184-
TEST_CASE("Unit_hipGridLaunch_ExceedMaxGridDim_Negative") {
184+
HIP_TEST_CASE(Unit_hipGridLaunch_ExceedMaxGridDim_Negative) {
185185
const unsigned int maxGridX = GetDeviceAttribute(hipDeviceAttributeMaxGridDimX, 0);
186186
const unsigned int maxGridY = GetDeviceAttribute(hipDeviceAttributeMaxGridDimY, 0);
187187
const unsigned int maxGridZ = GetDeviceAttribute(hipDeviceAttributeMaxGridDimZ, 0);

projects/hip-tests/catch/unit/memory/hipMemPrefetchBatchAsync.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ TEST_CASE("Unit_hipMemPrefetchBatchAsync_SingleOperationSingleLocation") {
120120
* 2. Each operation to different location (numPrefetchLocs=count)
121121
* 3. Mixed grouped locations (some to location A, others to B)
122122
*/
123-
TEST_CASE("Unit_hipMemPrefetchBatchAsync_LocationDistribution") {
123+
HIP_TEST_CASE(Unit_hipMemPrefetchBatchAsync_LocationDistribution) {
124124
REQUIRE_MANAGED_ACCESS_DEVICE(device);
125125

126126
enum class DistributionPattern { AllSame, EachDifferent, MixedGrouped };

0 commit comments

Comments
 (0)