Skip to content

Commit 428fdb4

Browse files
committed
Fix for clang compilation error
Adding missing braces for array initialization Change-Id: Ic816237af68e0189718f07a617371f131da67c44
1 parent 79708fd commit 428fdb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/helpers/per_thread_data.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ struct PerThreadDataHelper {
5656
uint32_t simd,
5757
uint32_t numChannels,
5858
const size_t localWorkSizes[3]) {
59-
return sendPerThreadData(indirectHeap, simd, numChannels, localWorkSizes, std::array<uint8_t, 3>{0, 1, 2});
59+
return sendPerThreadData(indirectHeap, simd, numChannels, localWorkSizes, std::array<uint8_t, 3>{{0, 1, 2}});
6060
}
6161

6262
static inline uint32_t getNumLocalIdChannels(const iOpenCL::SPatchThreadPayload &threadPayload) {

0 commit comments

Comments
 (0)