Skip to content

Commit 803447e

Browse files
committed
[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.
1 parent fc74f6e commit 803447e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ int main()
3535
return rc;
3636
}
3737

38-
/// CHECK: Kernel Duration: {{[0-9]+}} ns
38+
/// CHECK: [Autotuning run] Kernel [[KERNEL_NAME:[^ ]+]] with
39+
/// [[NUM_TEAMS:[0-9]+]] teams ({{[0-9]+}} CU multiplier) and
40+
/// [[NUM_THREADS:[0-9]+]] threads completed in [[TIME:[0-9]+]] ns.

0 commit comments

Comments
 (0)