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 commit: 6cc162f6cf]
This commit is contained in:
committed by
GitHub
parent
5c4d687216
commit
a9d21f04bf
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user