Lines Matching refs:destItems
236 char * destItems = new char[ typeSize * numDestItems ]; in test_atomic_function() local
237 if( destItems == NULL ) in test_atomic_function()
244 memcpy( destItems + i * typeSize, startValue, typeSize ); in test_atomic_function()
247 typeSize * numDestItems, destItems, NULL); in test_atomic_function()
284 …error = clEnqueueReadBuffer( queue, streams[0], true, 0, typeSize * numDestItems, destItems, 0, NU… in test_atomic_function()
312 if( memcmp( expected, destItems + i * typeSize, typeSize ) != 0 ) in test_atomic_function()
316 cl_int *outValue = (cl_int *)( destItems + i * typeSize ); in test_atomic_function()
330 cl_long *outValue = (cl_long *)( destItems + i * typeSize ); in test_atomic_function()
352 cl_float *outValue = (cl_float *)destItems; in test_atomic_function()
361 cl_int *outValue = (cl_int *)destItems; in test_atomic_function()
370 cl_long *outValue = (cl_long *)destItems; in test_atomic_function()
387 memcpy( destItems + i * typeSize, startValue, typeSize ); in test_atomic_function()
388 …error = clEnqueueWriteBuffer( queue, streams[0], true, 0, typeSize * numDestItems, destItems, 0, N… in test_atomic_function()
399 if( memcmp( refValues, destItems, typeSize ) != 0 ) in test_atomic_function()
403 cl_int *s = (cl_int *)destItems; in test_atomic_function()
410 cl_long *s = (cl_long *)destItems; in test_atomic_function()
418 delete [] destItems; in test_atomic_function()