From e6e65459df571bd415a95e7c3f7785c1da875199 Mon Sep 17 00:00:00 2001 From: Vivek Kale <11766050+vlkale@users.noreply.github.com> Date: Thu, 7 Mar 2024 14:44:50 -0500 Subject: [PATCH] test_randomized_sampling.cpp: sample number to be 100 --- tests/sampler/test_randomized_sampling.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/sampler/test_randomized_sampling.cpp b/tests/sampler/test_randomized_sampling.cpp index 6f989916b..29245fb54 100644 --- a/tests/sampler/test_randomized_sampling.cpp +++ b/tests/sampler/test_randomized_sampling.cpp @@ -9,8 +9,8 @@ struct Tester { template explicit Tester(const execution_space& space) { - //! Explicitly launch a kernel with a name, and run it 4 times with kernel - //! logger. Use a periodic sampling with skip rate 2. This should print out + //! Explicitly launch a kernel with a name, and run it 150 times with kernel + //! logger. Use a periodic sampling with skip rate 101. This should print out //! 1 invocation In the test, we match the invocations output from the //! second invocation and make sure the first // and third are not printed out, and the second and fourth are sequenced @@ -26,7 +26,7 @@ struct Tester { }; static const std::vector matchers{ - "> (.*)\| KokkosP: sample 101 calling child-begin function...\nKokkosP: Sampler attempting to invoke tool-induced fence on device 0.\nKokkosP: Sampler sucessfully invoked tool-induced fence on device 0\n > (.*)\| KokkosP: sample 101 finished with child-begin function.\nKokkosP: sample 101 calling child-end function...\nKokkosP: Sampler attempting to invoke tool-induced fence on device 0.\nKokkosP: Sampler sucessfully invoked tool-induced fence on device 0\n > (.*)\|" + "> (.*)\| KokkosP: sample 100 calling child-begin function...\nKokkosP: Sampler attempting to invoke tool-induced fence on device 0.\nKokkosP: Sampler sucessfully invoked tool-induced fence on device 0\n > (.*)\| KokkosP: sample 100 finished with child-begin function.\nKokkosP: sample 100 calling child-end function...\nKokkosP: Sampler attempting to invoke tool-induced fence on device 0.\nKokkosP: Sampler sucessfully invoked tool-induced fence on device 0\n > (.*)\|" }; /**