mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-24 15:59:03 +00:00
fix async strided test outputing error during verify (#1754)
This bug was introduced by https://github.com/KhronosGroup/OpenCL-CTS/pull/1711 Ref google/clspv#1127
This commit is contained in:
@@ -211,9 +211,9 @@ int test_strided_copy(cl_device_id deviceID, cl_context context, cl_command_queu
|
|||||||
if (memcmp(&inBuffer.at(i), &outBuffer.at(i), typeSize) != 0)
|
if (memcmp(&inBuffer.at(i), &outBuffer.at(i), typeSize) != 0)
|
||||||
{
|
{
|
||||||
unsigned char *inchar =
|
unsigned char *inchar =
|
||||||
static_cast<unsigned char *>(inBuffer.data());
|
static_cast<unsigned char *>(&inBuffer.at(i));
|
||||||
unsigned char *outchar =
|
unsigned char *outchar =
|
||||||
static_cast<unsigned char *>(outBuffer.data());
|
static_cast<unsigned char *>(&outBuffer.at(i));
|
||||||
char values[4096];
|
char values[4096];
|
||||||
values[0] = 0;
|
values[0] = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user