From 6cc162f6cf5967f8e4a01e9d778a8784c61bd9ed Mon Sep 17 00:00:00 2001 From: Satyanvesh Dittakavi <53337087+satyanveshd@users.noreply.github.com> Date: Thu, 19 Aug 2021 10:28:51 +0530 Subject: [PATCH] SWDEV-289401 - update hipEvent unit test (#2312) Reduce the data size as unit tests are expected to take lesser time Change-Id: Ic30be2ba3e0ff5fff19404b46163b79878716b70 --- tests/catch/unit/event/Unit_hipEvent.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/catch/unit/event/Unit_hipEvent.cc b/tests/catch/unit/event/Unit_hipEvent.cc index 32cd3c9ca8..ceeaa54db7 100644 --- a/tests/catch/unit/event/Unit_hipEvent.cc +++ b/tests/catch/unit/event/Unit_hipEvent.cc @@ -51,8 +51,8 @@ void test(unsigned testMask, int* C_d, int* C_h, int64_t numElements, hipStream_ if (!(testMask & tests)) { return; } - std::cout << "\n test 0x " << testMask << ": stream= " << stream << " waitStart= " << waitStart - << " syncMode= " << syncModeString(syncMode) << std::endl; + std::cout << "\ntest " << std::showbase << std::hex << testMask << ": stream=" << stream + << " waitStart=" << waitStart << " syncMode=" << syncModeString(syncMode) << std::endl; size_t sizeBytes = numElements * sizeof(int); @@ -183,5 +183,5 @@ void runTests(int64_t numElements) { TEST_CASE("Unit_hipEvent") { - runTests(80000000); + runTests(10000000); }