mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Fix cts build error on mariner OS (#1872)
This commit is contained in:
@@ -426,7 +426,7 @@ struct CommandBufferPrintfTest : public BasicCommandBufferTest
|
||||
std::max(min_pattern_length, rand() % max_pattern_length);
|
||||
|
||||
std::vector<cl_char> pattern(pattern_length + 1, pattern_character);
|
||||
pattern[pattern_length] = '\0';
|
||||
pattern.back() = '\0';
|
||||
simul_passes[i] = { pattern,
|
||||
{ cl_int(i * offset), cl_int(pattern_length) },
|
||||
std::vector<cl_char>(num_elements
|
||||
|
||||
Reference in New Issue
Block a user