Fix building the tests with Clang
Change-Id: I85c5617221e6b27553a773e76a05be9409ed10ef
This commit is contained in:
committed by
Laurent Morichetti
parent
b63427d694
commit
426c9def66
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user