SWDEV-289401 - update hipEvent unit test (#2312)
Reduce the data size as unit tests are expected to take lesser time Change-Id: Ic30be2ba3e0ff5fff19404b46163b79878716b70
Este commit está contenido en:
cometido por
GitHub
padre
6c9f2c1857
commit
6cc162f6cf
@@ -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);
|
||||
}
|
||||
|
||||
Referencia en una nueva incidencia
Block a user