DirectChannel Unit Tests (#102)

* Add DirectChannel unit tests
* Split mp_unit_tests.cu into multiple files
This commit is contained in:
Changho Hwang
2023-06-15 20:55:57 +08:00
committed by GitHub
parent c4a5958dfc
commit 6cd8960394
11 changed files with 1307 additions and 984 deletions

View File

@@ -326,8 +326,6 @@ struct DirectChannel {
for (size_t i = threadId; i < nElem; i += numThreads) {
ChannelPacket* pkt = &tmpBase[i];
srcBase[i] = pkt->read(flag);
// for future reuse
pkt->clear();
}
}