Skip to content

Commit 5640892

Browse files
author
Dmitry Kozlov
committed
Fix binaries generation
1 parent ffef78f commit 5640892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CLW/CLWProgram.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ void CLWProgram::GetBinaries(int device, std::vector<std::uint8_t>& data) const
348348
}
349349

350350
status = clGetProgramInfo(*this, CL_PROGRAM_BINARIES,
351-
binary_sizes[0],
351+
sizeof(char*),
352352
temp,
353353
nullptr);
354354

0 commit comments

Comments
 (0)