Fix building the tests with Clang

Change-Id: I85c5617221e6b27553a773e76a05be9409ed10ef
This commit is contained in:
Laurent Morichetti
2022-05-24 09:11:48 -07:00
committed by Laurent Morichetti
parent b63427d694
commit 426c9def66
2 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -372,7 +372,7 @@ void test_func(int kiter, int diter, int agents) {
CHECK(err);
for (int j = 1; j <= diter; ++j) {
Aql packet = {0};
Aql packet{};
packet.header.type = HSA_PACKET_TYPE_KERNEL_DISPATCH;
packet.header.barrier = 1;
packet.header.acquire = HSA_FENCE_SCOPE_SYSTEM;