Home
last modified time | relevance | path

Searched refs:numVecs (Results 1 – 19 of 19) sorted by relevance

/external/OpenCL-CTS/test_conformance/integer_ops/
Dtest_unary_ops.cpp47 typedef int (*OpVerifyFn)( void * actualPtr, void * inputPtr, size_t vecSize, size_t numVecs, cl_ch…
144 … int VerifyFn( void * actualPtr, void * inputPtr, size_t vecSize, size_t numVecs, cl_char * contro… in VerifyFn() argument
150 for( size_t i = 0; i < numVecs; i++ ) in VerifyFn()
/external/OpenCL-CTS/test_conformance/half/
DTest_roundTrip.cpp203 …error = RunKernel(device, kernels[vectorSize], gInBuffer_half, gOutBuffer_half, numVecs(count, vec… in test_roundTrip()
254 …rnel(device, doubleKernels[vectorSize], gInBuffer_half, gOutBuffer_half, numVecs(count, vectorSize… in test_roundTrip()
315 …= RunKernel(device, kernels[vectorSize], gInBuffer_half, gOutBuffer_half,numVecs(count, vectorSize… in test_roundTrip()
342 …rnel(device, doubleKernels[vectorSize], gInBuffer_half, gOutBuffer_half, numVecs(count, vectorSize… in test_roundTrip()
DTest_vStoreHalf.cpp799 numVecs(count, vectorSize, aligned) , in Test_vStoreHalf_private()
834 numVecs(count, vectorSize, aligned), in Test_vStoreHalf_private()
905 …ernel(device, kernels[vectorSize][0], gInBuffer_single, gOutBuffer_half, numVecs(count, vectorSize… in Test_vStoreHalf_private()
932 …device, doubleKernels[vectorSize][0], gInBuffer_double, gOutBuffer_half, numVecs(count, vectorSize… in Test_vStoreHalf_private()
1396 numVecs(count, vectorSize, aligned), in Test_vStoreaHalf_private()
1431 numVecs(count, vectorSize, aligned), in Test_vStoreaHalf_private()
1499 …ernel(device, kernels[vectorSize][0], gInBuffer_single, gOutBuffer_half, numVecs(count, vectorSize… in Test_vStoreaHalf_private()
1526 …device, doubleKernels[vectorSize][0], gInBuffer_double, gOutBuffer_half, numVecs(count, vectorSize… in Test_vStoreaHalf_private()
Dcl_utils.h82 cl_uint numVecs(cl_uint count, int vectorSizeIdx, bool aligned);
DTest_vLoadHalf.cpp499 …e, kernels[vectorSize][addressSpace], gInBuffer_half, gOutBuffer_single, numVecs(count, vectorSize… in Test_vLoadHalf_private()
543 …e, kernels[vectorSize][addressSpace], gInBuffer_half, gOutBuffer_single, numVecs(count, vectorSize… in Test_vLoadHalf_private()
Dcl_utils.cpp276 cl_uint numVecs(cl_uint count, int vectorSizeIdx, bool aligned) { in numVecs() function
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp466 const int numVecs = isMatrix ? glu::getDataTypeMatrixNumColumns(entry.type) : 1; in createMask() local
467 const int vecSize = scalarSize / numVecs; in createMask()
471 DE_ASSERT(scalarSize%numVecs == 0); in createMask()
477 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in createMask()
586 const int numVecs = glu::getDataTypeMatrixNumColumns(basicType); in computeXfbLayout() local
593 fieldSize = numVecs * stride; in computeXfbLayout()
594 fieldSizeForLocation = numVecs * strideForLocation; in computeXfbLayout()
646 const int numVecs = glu::getDataTypeMatrixNumColumns(elemBasicType); in computeXfbLayout() local
648 const int fieldSize = numVecs * type.getArraySize() * stride; in computeXfbLayout()
650 const int fieldSizeForLocation = numVecs * type.getArraySize() * strideForLocation; in computeXfbLayout()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.cpp458 int numVecs = in computeStd140Layout() local
466 curOffset += numVecs * stride; in computeStd140Layout()
508 int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(elemBasicType) : in computeStd140Layout() local
518 entry.arrayStride = stride * numVecs; in computeStd140Layout()
522 curOffset += numVecs * type.getArraySize() * stride; in computeStd140Layout()
601 int numVecs = isMatrix ? (entry.isRowMajor ? glu::getDataTypeMatrixNumRows(entry.type) : in generateValue() local
604 int vecSize = scalarSize / numVecs; in generateValue()
608 DE_ASSERT(scalarSize % numVecs == 0); in generateValue()
614 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue()
1797 int numVecs = isMatrix ? (uniform.isRowMajor ? glu::getDataTypeMatrixNumRows(uniform.type) : in checkLayoutBounds() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/memory_model/
DvktMemoryModelSharedLayoutCase.cpp96 const int numVecs = isMatrix ? glu::getDataTypeMatrixNumColumns(entry.type) : 1; in generateValue() local
97 const int vecSize = scalarSize / numVecs; in generateValue()
99 DE_ASSERT(scalarSize % numVecs == 0); in generateValue()
105 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue()
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp332 const int numVecs = glu::getDataTypeMatrixNumColumns(output.varType.getBasicType()); in generateFragShaderOutputDecl() local
337 for (int vecNdx = 0; vecNdx < numVecs; ++vecNdx) in generateFragShaderOutputDecl()
357 const int numVecs = glu::getDataTypeMatrixNumColumns(output->varType.getBasicType()); in generateFragShaderOutAssign() local
359 for (int vecNdx = 0; vecNdx < numVecs; ++vecNdx) in generateFragShaderOutAssign()
940 const int numVecs = glu::getDataTypeMatrixNumColumns(basicType); in computeVarLayout() local
950 curOffset += vecAlignment*numVecs; in computeVarLayout()
976 const int numVecs = isMatrix ? glu::getDataTypeMatrixNumColumns(basicType) : 1; in copyToBuffer() local
977 const int numComps = scalarSize / numVecs; in copyToBuffer()
981 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyToBuffer()
1003 const int numVecs = isMatrix ? glu::getDataTypeMatrixNumColumns(basicType) : 1; in copyFromBuffer() local
[all …]
DglsUniformBlockCase.cpp486 int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(basicType) in computeStd140Layout() local
494 curOffset += numVecs*stride; in computeStd140Layout()
536 int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(elemBasicType) in computeStd140Layout() local
546 entry.arrayStride = stride*numVecs; in computeStd140Layout()
550 curOffset += numVecs*type.getArraySize()*stride; in computeStd140Layout()
630 …int numVecs = isMatrix ? (entry.isRowMajor ? glu::getDataTypeMatrixNumRows(entry.type) : glu:… in generateValue() local
631 int vecSize = scalarSize / numVecs; in generateValue()
635 DE_ASSERT(scalarSize%numVecs == 0); in generateValue()
641 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue()
1840 …int numVecs = isMatrix ? (uniform.isRowMajor ? glu::getDataTypeMatrixNumRows(uniform.type)… in checkLayoutBounds() local
[all …]
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp493 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(basicType) in computeReferenceLayout() local
500 curOffset += numVecs*baseAlignment; in computeReferenceLayout()
542 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(elemBasicType) in computeReferenceLayout() local
552 entry.arrayStride = vecStride*numVecs; in computeReferenceLayout()
558 curOffset += numVecs*vecStride*type.getArraySize(); in computeReferenceLayout()
630 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(elemBasicType) in computeReferenceLayout() local
644 entry.arrayStride = stride*numVecs; in computeReferenceLayout()
650 curOffset += stride*numVecs*topLevelArraySize; in computeReferenceLayout()
735 …const int numVecs = isMatrix ? (entry.isRowMajor ? glu::getDataTypeMatrixNumRows(entry.type) :… in generateValue() local
736 const int vecSize = scalarSize / numVecs; in generateValue()
[all …]
/external/deqp/modules/gles3/functional/
Des3fFragmentOutputTests.cpp333 int numVecs = 0; in getNumInputVectors() local
335 numVecs += (i->arrayLength > 0 ? i->arrayLength : 1); in getNumInputVectors()
336 return numVecs; in getNumInputVectors()
631 int numVecs = output.arrayLength > 0 ? output.arrayLength : 1; in iterate() local
634 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in iterate()
787 int numVecs = isArray ? output.arrayLength : 1; in iterate() local
789 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in iterate()
847 const int numVecs = isArray ? output.arrayLength : 1; in iterate() local
849 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in iterate()
Des3fTransformFeedbackTests.cpp1474 int numVecs = glu::isDataTypeMatrix(type) ? glu::getDataTypeMatrixNumColumns(type) : 1; in init() local
1476 int maxArrayLen = de::max(1, isSeparateMode ? 4/numComps : maxVecs/numVecs); in init()
1486 numAttributeVectors += arrayLen*numVecs; in init()
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp627 const int numVecs = isMatrix ? getDataTypeMatrixNumColumns(basicType) : 1; in computeStd140Layout() local
634 layout.size += alignment*(numVecs-1) + vecSize*int(sizeof(deUint32)); in computeStd140Layout()
649 const int numVecs = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumColumns(basicType) : 1; in computeStd430Layout() local
656 layout.size += alignment*(numVecs-1) + vecSize*int(sizeof(deUint32)); in computeStd430Layout()
666 const int numVecs = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumColumns(basicType) : 1; in copyToLayout() local
673 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyToLayout()
687 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyToLayout()
1005 const int numVecs = isDataTypeMatrix(basicType) in getVertexAttributeDescriptions() local
1014 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in getVertexAttributeDescriptions()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp506 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(basicType) in computeReferenceLayout() local
514 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout()
563 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(elemBasicType) in computeReferenceLayout() local
573 entry.arrayStride = vecStride*numVecs; in computeReferenceLayout()
657 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(elemBasicType) in computeReferenceLayout() local
674 entry.arrayStride = stride*numVecs; in computeReferenceLayout()
775 …const int numVecs = isMatrix ? (entry.isRowMajor ? glu::getDataTypeMatrixNumRows(entry.type) :… in generateValue() local
776 const int vecSize = scalarSize / numVecs; in generateValue()
779 DE_ASSERT(scalarSize%numVecs == 0); in generateValue()
791 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue()
/external/clang/lib/CodeGen/
DSwiftCallingConv.cpp706 auto numVecs = numElts >> logCandidateNumElts; in legalizeVectorType() local
707 components.append(numVecs, llvm::VectorType::get(eltTy, candidateNumElts)); in legalizeVectorType()
708 numElts -= (numVecs << logCandidateNumElts); in legalizeVectorType()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp346 const int numVecs = glu::getDataTypeMatrixNumColumns(output.varType.getBasicType()); in generateFragShaderOutputDecl() local
351 for (int vecNdx = 0; vecNdx < numVecs; ++vecNdx) in generateFragShaderOutputDecl()
376 const int numVecs = glu::getDataTypeMatrixNumColumns(output->varType.getBasicType()); in generateFragShaderOutAssign() local
378 for (int vecNdx = 0; vecNdx < numVecs; ++vecNdx) in generateFragShaderOutAssign()
1655 const int numVecs = glu::getDataTypeMatrixNumColumns(basicType); in computeVarLayout() local
1665 curOffset += vecAlignment*numVecs; in computeVarLayout()
1782 const int numVecs = isMatrix ? glu::getDataTypeMatrixNumColumns(basicType) : 1; in copyToBuffer() local
1783 const int numComps = scalarSize / numVecs; in copyToBuffer()
1788 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyToBuffer()
1823 const int numVecs = isMatrix ? glu::getDataTypeMatrixNumColumns(basicType) : 1; in copyFromBuffer() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp591 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(basicType) in computeReferenceLayout() local
599 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout()
648 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(elemBasicType) in computeReferenceLayout() local
658 entry.arrayStride = vecStride*numVecs; in computeReferenceLayout()
743 …int numVecs = isMatrix ? (entry.isRowMajor ? glu::getDataTypeMatrixNumRows(entry.type) : glu:… in generateValue() local
744 int vecSize = scalarSize / numVecs; in generateValue()
748 DE_ASSERT(scalarSize%numVecs == 0); in generateValue()
754 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue()