Home
last modified time | relevance | path

Searched refs:outDepth (Results 1 – 3 of 3) sorted by relevance

/external/OpenCL-CTS/test_conformance/events/
Daction_classes.cpp66 …tPreferredImageSize3D( cl_device_id device, size_t &outWidth, size_t &outHeight, size_t &outDepth ) in IGetPreferredImageSize3D() argument
93outDepth = (size_t)( ( maxAllocSize / ( BufferSizeReductionFactor * 4 ) ) / ( outWidth * outHeight… in IGetPreferredImageSize3D()
94 if( outDepth > maxDepth ) in IGetPreferredImageSize3D()
95 outDepth = maxDepth; in IGetPreferredImageSize3D()
101 outDepth = maxDepth; in IGetPreferredImageSize3D()
106 outDepth /=2; in IGetPreferredImageSize3D()
112 if (outDepth > 512) in IGetPreferredImageSize3D()
113 outDepth = 512; in IGetPreferredImageSize3D()
114 log_info("\tImage size: %d x %d x %d (%gMB)\n", (int)outWidth, (int)outHeight, (int)outDepth, in IGetPreferredImageSize3D()
115 (double)((int)outWidth*(int)outHeight*(int)outDepth*4)/(1024.0*1024.0)); in IGetPreferredImageSize3D()
Daction_classes.h40 …PreferredImageSize3D( cl_device_id device, size_t &outWidth, size_t &outHeight, size_t &outDepth );
/external/OpenCL-CTS/test_conformance/images/clGetInfo/
Dtest_2D.cpp191 size_t outDepth; in test_get_image_info_single() local
192 error = clGetImageInfo( image, CL_IMAGE_DEPTH, sizeof( outDepth ), &outDepth, NULL ); in test_get_image_info_single()
194 if( outDepth != required_depth ) in test_get_image_info_single()
197 (int)required_depth, (int)outDepth ); in test_get_image_info_single()