mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Enable clCopyImage suite to run in parallel (#1717)
Signed-off-by: Kévin Petit <kpet@free.fr>
This commit is contained in:
@@ -289,12 +289,6 @@ cl_mem create_image( cl_context context, cl_command_queue queue, BufferOwningPtr
|
||||
return img;
|
||||
}
|
||||
|
||||
// WARNING -- not thread safe
|
||||
BufferOwningPtr<char> srcData;
|
||||
BufferOwningPtr<char> dstData;
|
||||
BufferOwningPtr<char> srcHost;
|
||||
BufferOwningPtr<char> dstHost;
|
||||
|
||||
int test_copy_image_generic( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descriptor *dstImageInfo,
|
||||
const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d )
|
||||
{
|
||||
@@ -302,6 +296,11 @@ int test_copy_image_generic( cl_context context, cl_command_queue queue, image_d
|
||||
|
||||
clMemWrapper srcImage, dstImage;
|
||||
|
||||
BufferOwningPtr<char> srcData;
|
||||
BufferOwningPtr<char> dstData;
|
||||
BufferOwningPtr<char> srcHost;
|
||||
BufferOwningPtr<char> dstHost;
|
||||
|
||||
if( gDebugTrace )
|
||||
log_info( " ++ Entering inner test loop...\n" );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user