Searched refs:destImageSize (Results 1 – 1 of 1) sorted by relevance
/external/OpenCL-CTS/test_conformance/images/clCopyImage/ |
D | test_copy_generic.cpp | 340 size_t destImageSize = 0; in test_copy_image_generic() local 343 destImageSize = (size_t)compute_mipmapped_image_size( *dstImageInfo ); in test_copy_image_generic() 347 destImageSize = get_image_size(dstImageInfo); in test_copy_image_generic() 350 if (destImageSize > dstData.getSize()) in test_copy_image_generic() 354 dstData.reset(malloc(destImageSize),NULL,0,destImageSize); in test_copy_image_generic() 356 log_error( "ERROR: Unable to malloc %lu bytes for dstData\n", destImageSize ); in test_copy_image_generic() 361 if (destImageSize > dstHost.getSize()) in test_copy_image_generic() 364 dstHost.reset(malloc(destImageSize),NULL,0,destImageSize); in test_copy_image_generic() 367 log_error( "ERROR: Unable to malloc %lu bytes for dstHost\n", destImageSize ); in test_copy_image_generic() 371 memset( dstData, 0xff, destImageSize ); in test_copy_image_generic() [all …]
|