From df9dfdf3e030d9572bb7835914b67515c4ae5e9d Mon Sep 17 00:00:00 2001 From: Kewen Meng Date: Thu, 19 Dec 2024 16:35:42 -0600 Subject: [PATCH] [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. --- test/smoke-dev/rt-tuning-envar/Makefile | 2 +- test/smoke-dev/rt-tuning-envar/rt_tuning_envar.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/smoke-dev/rt-tuning-envar/Makefile b/test/smoke-dev/rt-tuning-envar/Makefile index 04abcfd27..96d469f24 100644 --- a/test/smoke-dev/rt-tuning-envar/Makefile +++ b/test/smoke-dev/rt-tuning-envar/Makefile @@ -5,7 +5,7 @@ TESTSRC_MAIN = rt_tuning_envar.c TESTSRC_AUX = TESTSRC_ALL = $(TESTSRC_MAIN) $(TESTSRC_AUX) RUNENV += OMPX_ENABLE_RUNTIME_AUTOTUNING=1 -RUNENV += LIBOMPTARGET_AMDGPU_ENABLE_QUEUE_PROFILING=1 +RUNENV += LIBOMPTARGET_KERNEL_TRACE=1 RUNCMD = ./$(TESTNAME) 2>&1 | $(FILECHECK) $(TESTSRC_MAIN) diff --git a/test/smoke-dev/rt-tuning-envar/rt_tuning_envar.c b/test/smoke-dev/rt-tuning-envar/rt_tuning_envar.c index fd60a94f1..96863f04c 100644 --- a/test/smoke-dev/rt-tuning-envar/rt_tuning_envar.c +++ b/test/smoke-dev/rt-tuning-envar/rt_tuning_envar.c @@ -35,4 +35,6 @@ int main() return rc; } -/// CHECK: Kernel Duration: {{[0-9]+}} ns +/// CHECK: [Autotuning run] Kernel [[KERNEL_NAME:[^ ]+]] with +/// [[NUM_TEAMS:[0-9]+]] teams ({{[0-9]+}} CU multiplier) and +/// [[NUM_THREADS:[0-9]+]] threads completed in [[TIME:[0-9]+]] ns.