SWDEV-289401 - update hipEvent unit test (#2312)

Reduce the data size as unit tests are expected to take lesser time

Change-Id: Ic30be2ba3e0ff5fff19404b46163b79878716b70

[ROCm/hip-tests commit: 7f4cc61ef7]
Tento commit je obsažen v:
Satyanvesh Dittakavi
2021-08-19 10:28:51 +05:30
odevzdal GitHub
rodič 3961c18919
revize 1edf1934d5
+3 -3
Zobrazit soubor
@@ -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);
}