/external/OpenCL-CTS/test_conformance/relationals/ |
D | test_shuffles.cpp | 246 char * get_order_name( ExplicitType vecType, size_t inVecSize, size_t outVecSize, ShuffleOrder &inO… in get_order_name() argument 254 …sprintf( inOrderStr, "%d.%s", (int)inVecSize, get_order_string( inOrder, outVecSize, lengthToUse, … in get_order_name() 255 if( outVecSize == 1 ) in get_order_name() 258 …sprintf( outOrderStr, "%d.%s", (int)outVecSize, get_order_string( outOrder, outVecSize, lengthToUs… in get_order_name() 265 …r *expected, const unsigned char *outDataPtr, size_t inVecSize, size_t outVecSize, size_t typeSize… in print_hex_mem_dump() argument 282 for( unsigned int j = 0; j < outVecSize * typeSize; j++ ) in print_hex_mem_dump() 287 for( unsigned int j = 0; j < outVecSize * typeSize; j++ ) in print_hex_mem_dump() 319 …ExplicitType vecType, size_t inVecSize, size_t outVecSize, cl_uint *lengthToUse, bool inUseNumeric… in create_shuffle_kernel() argument 344 *outRealVecSize = outVecSize; in create_shuffle_kernel() 346 if( outVecSize == 1 || (outVecSize == 3)) in create_shuffle_kernel() [all …]
|
D | test_relationals.cpp | 320 unsigned int outVecSize; in test_select_kernel() local 329 outVecSize = vecSize; in test_select_kernel() 331 if( outVecSize == 1 ) in test_select_kernel() 334 sprintf( outSizeName, "%d", outVecSize ); in test_select_kernel() 399 …CL_MEM_READ_WRITE, get_explicit_type_size( vecType ) * g_vector_aligns[outVecSize] * TEST_SIZE, NU… in test_select_kernel() 426 …ue, 0, get_explicit_type_size( vecType ) * TEST_SIZE * g_vector_aligns[outVecSize], outData, 0, NU… in test_select_kernel() 441 …( i / g_vector_aligns[vecSize] ) * get_explicit_type_size( vecType ) * g_vector_aligns[outVecSize]; in test_select_kernel()
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_astype.cpp | 75 unsigned int vecSize, unsigned int outVecSize, in test_astype_set() argument 94 if(outVecSize == 3 && vecSize == 3) { in test_astype_set() 100 get_explicit_type_name( outVecType ), sizeNames[ outVecSize ], in test_astype_set() 101 get_explicit_type_name( outVecType ), sizeNames[ outVecSize ] ); in test_astype_set() 102 } else if(outVecSize == 3) { in test_astype_set() 116 get_explicit_type_name( outVecType ), sizeNames[ outVecSize ], in test_astype_set() 117 get_explicit_type_name( outVecType ), sizeNames[ outVecSize ], in test_astype_set() 118 get_explicit_type_name( outVecType ), sizeNames[ outVecSize ]); in test_astype_set() 123 get_explicit_type_name( outVecType ), sizeNames[ outVecSize ], in test_astype_set() 124 get_explicit_type_name( outVecType ), sizeNames[ outVecSize ], in test_astype_set() [all …]
|
/external/OpenCL-CTS/test_conformance/integer_ops/ |
D | test_upsample.cpp | 40 … size_t sourceAVecSize, size_t sourceBVecSize, size_t outVecSize, size_t count, in test_upsample_2_param_fn() argument 59 outStride = outTypeSize * outVecSize; in test_upsample_2_param_fn() 70 if( outVecSize > 1 && outVecSize != 3) in test_upsample_2_param_fn() 71 sprintf( tType + strlen( tType ), "%d", (int)outVecSize ); in test_upsample_2_param_fn() 73 if(sourceAVecSize == 3 && sourceBVecSize == 3 && outVecSize == 3) in test_upsample_2_param_fn() 78 else if(sourceAVecSize != 3 && sourceBVecSize != 3 && outVecSize != 3) in test_upsample_2_param_fn() 83 (int)sourceAVecSize, (int)sourceBVecSize, (int)outVecSize); in test_upsample_2_param_fn() 146 if( memcmp( outPtr, expectedPtr, outTypeSize * outVecSize ) != 0 ) in test_upsample_2_param_fn() 152 expectedPtr += outTypeSize * outVecSize; in test_upsample_2_param_fn()
|
/external/deqp/modules/glshared/ |
D | glsShaderExecUtil.cpp | 665 const int outVecSize = glu::getDataTypeNumComponents(output.varType.getBasicType()); in execute() local 681 deMemcpy(dstPtrBase, tmpBuf.getAccess().getDataPtr(), numValues*outVecSize*sizeof(deUint32)); in execute() 687 deUint32* dstPtr = &dstPtrBase[outSize*valNdx + outVecSize*locNdx]; in execute() 688 deMemcpy(dstPtr, srcPtr, outVecSize*sizeof(deUint32)); in execute()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 1330 const int outVecSize = glu::getDataTypeNumComponents(output.varType.getBasicType()); in execute() local 1391 … deMemcpy(dstPtrBase, tmpBuf.getAccess().getDataPtr(), numValues * outVecSize * sizeof(deUint16)); in execute() 1397 deUint16* dstPtr = &dstPtrBase[outSize * valNdx + outVecSize * locNdx]; in execute() 1398 deMemcpy(dstPtr, srcPtr, outVecSize * sizeof(deUint16)); in execute() 1406 … deMemcpy(dstPtrBase, tmpBuf.getAccess().getDataPtr(), numValues * outVecSize * sizeof(deUint32)); in execute() 1412 deUint32* dstPtr = &dstPtrBase[outSize * valNdx + outVecSize * locNdx]; in execute() 1413 deMemcpy(dstPtr, srcPtr, outVecSize * sizeof(deUint32)); in execute()
|