Skip to content

Commit 1c122fa

Browse files
authored
[Smoke Test] Update smoke test to cover new changes (#1201)
* [Smoke Test] Update smoke test to cover new changes This PR is to update the smoke test to reflect the new changes on runtime tuning. * updated check pattern to reflect recent changes
1 parent 206b03e commit 1c122fa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/smoke-dev/rt-tuning-envar/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ TESTSRC_MAIN = rt_tuning_envar.c
55
TESTSRC_AUX =
66
TESTSRC_ALL = $(TESTSRC_MAIN) $(TESTSRC_AUX)
77
RUNENV += OMPX_ENABLE_RUNTIME_AUTOTUNING=1
8-
RUNENV += LIBOMPTARGET_AMDGPU_ENABLE_QUEUE_PROFILING=1
8+
RUNENV += LIBOMPTARGET_KERNEL_TRACE=1
99

1010
RUNCMD = ./$(TESTNAME) 2>&1 | $(FILECHECK) $(TESTSRC_MAIN)
1111

test/smoke-dev/rt-tuning-envar/rt_tuning_envar.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ int main()
2626
for (i=0; i<N; i++)
2727
if (a[i] != b[i] ) {
2828
rc++;
29-
printf ("Wrong varlue: a[%d]=%d\n", i, a[i]);
29+
printf ("Wrong value: a[%d]=%d\n", i, a[i]);
3030
}
3131

3232
if (!rc)
@@ -35,4 +35,4 @@ int main()
3535
return rc;
3636
}
3737

38-
/// CHECK: Kernel Duration: {{[0-9]+}} ns
38+
/// CHECK: [Autotuning run] Kernel {{[^ ]+}} with {{[0-9]+}} teams and {{[0-9]+}} threads completed in {{[0-9]+}} ns.

0 commit comments

Comments
 (0)