Home
last modified time | relevance | path

Searched refs:primitive_type (Results 1 – 25 of 35) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_emit.h94 etna_draw_primitives(struct etna_cmd_stream *stream, uint32_t primitive_type, in etna_draw_primitives() argument
100 etna_cmd_stream_emit(stream, primitive_type); in etna_draw_primitives()
107 uint32_t primitive_type, uint32_t start, in etna_draw_indexed_primitives() argument
113 etna_cmd_stream_emit(stream, primitive_type); in etna_draw_indexed_primitives()
/external/deqp/external/openglcts/modules/gl/
Dgl3cClipDistance.cpp584 glw::GLenum primitive_type = m_primitive_types[i_primitive_type]; in iterate() local
588 glw::GLuint framebuffer_size = (primitive_type == GL_POINTS) ? 1 : 32; in iterate()
613 redeclaration, redeclaration, i_clip_count, i_clip_function, primitive_type); in iterate()
641 gl3cts::ClipDistance::Utility::VertexArrayObject vertex_array_object(gl, primitive_type); in iterate()
644 prepareGeometry(gl, primitive_type); in iterate()
665 if (!checkResults(primitive_type, i_clip_function, results)) in iterate()
669 << glu::getPrimitiveTypeStr(primitive_type) in iterate()
714 glw::GLenum primitive_type) in prepareVertexShaderCode() argument
757 switch (primitive_type) in prepareVertexShaderCode()
781 const glw::Functions& gl, const glw::GLenum primitive_type) in prepareGeometry() argument
[all …]
Dgl3cTransformFeedbackTests.hpp424 virtual bool checkTransformFeedbackBuffer(BindBufferCase bind_case, glw::GLenum primitive_type);
504 virtual bool checkTransformFeedbackBuffer(BindBufferCase bind_case, glw::GLenum primitive_type);
538 virtual void draw(glw::GLenum primitive_type) in draw() argument
540 CaptureGeometryInterleaved::draw(primitive_type); in draw()
558 virtual bool checkTransformFeedbackBuffer(BindBufferCase bind_case, glw::GLenum primitive_type) in checkTransformFeedbackBuffer() argument
560 return CaptureVertexSeparate::checkTransformFeedbackBuffer(bind_case, primitive_type); in checkTransformFeedbackBuffer()
705 virtual bool checkTransformFeedbackBuffer(BindBufferCase bind_case, glw::GLenum primitive_type);
737 virtual bool checkTransformFeedbackBuffer(BindBufferCase bind_case, glw::GLenum primitive_type);
771 virtual bool checkTransformFeedbackBuffer(BindBufferCase bind_case, glw::GLenum primitive_type);
806 virtual bool checkTransformFeedbackBuffer(BindBufferCase bind_case, glw::GLenum primitive_type);
Dgl3cClipDistance.hpp144 VertexArrayObject(const glw::Functions& gl, const glw::GLenum primitive_type); // create empty vao
263 glw::GLuint clip_function, glw::GLenum primitive_type);
266 const glw::GLenum primitive_type);
268 …bool checkResults(glw::GLenum primitive_type, glw::GLuint clip_function, std::vector<glw::GLfloat>…
Dgl4cPipelineStatisticsQueryTests.cpp603 …w::GLenum PipelineStatisticsQueryUtilities::getEnumForPrimitiveType(_primitive_type primitive_type) in getEnumForPrimitiveType() argument
607 switch (primitive_type) in getEnumForPrimitiveType()
797 …pelineStatisticsQueryUtilities::getNumberOfVerticesForPrimitiveType(_primitive_type primitive_type) in getNumberOfVerticesForPrimitiveType() argument
801 switch (primitive_type) in getNumberOfVerticesForPrimitiveType()
985 …:string PipelineStatisticsQueryUtilities::getStringForPrimitiveType(_primitive_type primitive_type) in getStringForPrimitiveType() argument
989 switch (primitive_type) in getStringForPrimitiveType()
2236 glw::GLenum primitive_type = in queryCallbackDrawCallHandler() local
2243 gl.drawArrays(primitive_type, pInstance->m_indirect_draw_call_first_argument, in queryCallbackDrawCallHandler()
2253 gl.drawArraysIndirect(primitive_type, in queryCallbackDrawCallHandler()
2263 gl.drawArraysInstanced(primitive_type, pInstance->m_indirect_draw_call_first_argument, in queryCallbackDrawCallHandler()
[all …]
Dgl4cPipelineStatisticsQueryTests.hpp267 static glw::GLenum getEnumForPrimitiveType(_primitive_type primitive_type);
272 static unsigned int getNumberOfVerticesForPrimitiveType(_primitive_type primitive_type);
276 static std::string getStringForPrimitiveType(_primitive_type primitive_type);
Dgl3cTransformFeedbackTests.cpp2633 …s::TransformFeedback::CaptureVertexInterleaved::checkFramebuffer(glw::GLenum primitive_type UNUSED) in checkFramebuffer()
2661 glw::GLenum primitive_type) in checkTransformFeedbackBuffer() argument
2669 switch (primitive_type) in checkTransformFeedbackBuffer()
3302 glw::GLenum primitive_type) in checkTransformFeedbackBuffer() argument
3309 switch (primitive_type) in checkTransformFeedbackBuffer()
3885 glw::GLenum primitive_type) in checkTransformFeedbackBuffer() argument
3896 …glw::GLuint number_of_primitives_reference = (primitive_type == GL_POINTS) ? 3 : 1; /* m_max_verti… in checkTransformFeedbackBuffer()
3959 glw::GLenum primitive_type) in checkTransformFeedbackBuffer() argument
3970 …glw::GLuint number_of_primitives_reference = (primitive_type == GL_POINTS) ? 3 : 1; /* m_max_verti… in checkTransformFeedbackBuffer()
4032 glw::GLenum primitive_type) in checkTransformFeedbackBuffer() argument
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dliteral_util.cc48 xla::PrimitiveType primitive_type; in CopyLiteralToHostTensor() local
50 DataTypeToPrimitiveType(host_tensor->dtype(), &primitive_type)); in CopyLiteralToHostTensor()
51 if (literal.shape().element_type() != primitive_type) { in CopyLiteralToHostTensor()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Ddot_op_emitter.cc567 PrimitiveType primitive_type = dot_.shape().element_type(); in EmitLlvmIrDotIfProfitable() local
569 if (!primitive_util::IsFloatingPointType(primitive_type) && in EmitLlvmIrDotIfProfitable()
570 !primitive_util::IsIntegralType(primitive_type)) { in EmitLlvmIrDotIfProfitable()
633 *ir_builder_->GetInsertBlock()->getParent(), primitive_type); in EmitLlvmIrDotIfProfitable()
651 "col_major_gemv_", PrimitiveType_Name(primitive_type), "_", tile_rows, in EmitLlvmIrDotIfProfitable()
659 [this, tile_rows, tile_cols, m, k, primitive_type]( in EmitLlvmIrDotIfProfitable()
663 primitive_type, tile_rows, tile_cols, m, k, lhs_op, rhs_op, in EmitLlvmIrDotIfProfitable()
674 "row_major_gemv_", PrimitiveType_Name(primitive_type), "_", tile_rows, in EmitLlvmIrDotIfProfitable()
682 [this, tile_rows, tile_cols, m, k, primitive_type]( in EmitLlvmIrDotIfProfitable()
686 primitive_type, tile_rows, tile_cols, m, k, lhs_op, rhs_op, in EmitLlvmIrDotIfProfitable()
Dir_emitter.cc246 int IrEmitter::MinimumAlignmentForPrimitiveType(PrimitiveType primitive_type) { in MinimumAlignmentForPrimitiveType() argument
247 int64 byte_size = ShapeUtil::ByteSizeOfPrimitiveType(primitive_type); in MinimumAlignmentForPrimitiveType()
931 PrimitiveType primitive_type = lhs->shape().element_type(); in HandleConvolution() local
932 llvm::Type* ir_ptr_type = primitive_type == F16 in HandleConvolution()
948 primitive_type == F16 in HandleConvolution()
2372 PrimitiveType primitive_type = output_shape.element_type(); in EmitFastConcatenate() local
2374 ShapeUtil::ByteSizeOfPrimitiveType(primitive_type); in EmitFastConcatenate()
2406 inner_dims_product * input_shape.dimensions(concat_dim), primitive_type, in EmitFastConcatenate()
2423 PrimitiveType primitive_type, in EmitTransferElements() argument
2427 ShapeUtil::ByteSizeOfPrimitiveType(primitive_type); in EmitTransferElements()
[all …]
Dvector_support_library.cc24 VectorSupportLibrary::VectorSupportLibrary(PrimitiveType primitive_type, in VectorSupportLibrary() argument
29 primitive_type_(primitive_type), in VectorSupportLibrary()
33 primitive_type, ir_builder_->GetInsertBlock()->getModule()); in VectorSupportLibrary()
Dir_emitter.h390 int64 element_count, PrimitiveType primitive_type,
515 int MinimumAlignmentForPrimitiveType(PrimitiveType primitive_type);
Dvector_support_library.h47 VectorSupportLibrary(PrimitiveType primitive_type, int64 vector_size,
/external/tensorflow/tensorflow/compiler/xla/
Dshape_util.cc564 TF_ASSIGN_OR_RETURN(const PrimitiveType primitive_type, in ParseShapeStringInternal()
566 if (primitive_type == PRIMITIVE_TYPE_INVALID || primitive_type == TUPLE || in ParseShapeStringInternal()
567 primitive_type == OPAQUE) { in ParseShapeStringInternal()
575 result = ShapeUtil::MakeShape(primitive_type, dimensions); in ParseShapeStringInternal()
578 result = ShapeUtil::MakeShapeWithSparseLayout(primitive_type, dimensions, in ParseShapeStringInternal()
585 primitive_type, dimensions, min2maj)); in ParseShapeStringInternal()
661 PrimitiveType primitive_type) { in ByteSizeOfPrimitiveType() argument
662 switch (primitive_type) { in ByteSizeOfPrimitiveType()
696 LOG(FATAL) << "Unhandled primitive type " << primitive_type; in ByteSizeOfPrimitiveType()
Dliteral_util.cc184 PrimitiveType primitive_type, in CreateFromDimensions() argument
186 return CreateFromShape(ShapeUtil::MakeShape(primitive_type, dimensions)); in CreateFromDimensions()
497 /* static */ Literal Literal::Zero(PrimitiveType primitive_type) { in Zero() argument
498 switch (primitive_type) { in Zero()
532 LOG(FATAL) << "Unhandled primitive type " << primitive_type; in Zero()
536 /* static */ Literal Literal::One(PrimitiveType primitive_type) { in One() argument
537 switch (primitive_type) { in One()
571 LOG(FATAL) << "Unhandled primitive type " << primitive_type; in One()
575 /* static */ Literal Literal::MinValue(PrimitiveType primitive_type) { in MinValue() argument
576 switch (primitive_type) { in MinValue()
[all …]
Dliteral_util.h230 PrimitiveType primitive_type,
337 static Literal Zero(PrimitiveType primitive_type);
340 static Literal One(PrimitiveType primitive_type);
344 static Literal MinValue(PrimitiveType primitive_type);
348 static Literal MaxValue(PrimitiveType primitive_type);
Dshape_util.h172 static int64 ByteSizeOfPrimitiveType(PrimitiveType primitive_type);
/external/ImageMagick/coders/
Dsvg.c3655 primitive_type; in WriteSVGImage() local
3752 primitive_type=UndefinedPrimitive; in WriteSVGImage()
3788 primitive_type=AlphaPrimitive; in WriteSVGImage()
3800 primitive_type=ArcPrimitive; in WriteSVGImage()
3811 primitive_type=BezierPrimitive; in WriteSVGImage()
3846 primitive_type=CirclePrimitive; in WriteSVGImage()
3851 primitive_type=ColorPrimitive; in WriteSVGImage()
3876 primitive_type=EllipsePrimitive; in WriteSVGImage()
3985 primitive_type=ImagePrimitive; in WriteSVGImage()
3996 primitive_type=LinePrimitive; in WriteSVGImage()
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/
Dnumpy_bridge.cc26 int PrimitiveTypeToNumpyType(PrimitiveType primitive_type) { in PrimitiveTypeToNumpyType() argument
27 switch (primitive_type) { in PrimitiveTypeToNumpyType()
55 LOG(FATAL) << "No Numpy type for XLA primitive type " << primitive_type; in PrimitiveTypeToNumpyType()
Dnumpy_bridge.h42 int PrimitiveTypeToNumpyType(PrimitiveType primitive_type);
/external/tensorflow/tensorflow/compiler/xla/service/
Dbatchnorm_expander.cc84 HloComputation* GetScalarBinaryComputation(PrimitiveType primitive_type, in GetScalarBinaryComputation() argument
88 0, ShapeUtil::MakeShape(primitive_type, {}), "scalar_lhs")); in GetScalarBinaryComputation()
90 1, ShapeUtil::MakeShape(primitive_type, {}), "scalar_rhs")); in GetScalarBinaryComputation()
92 HloInstruction::CreateBinary(ShapeUtil::MakeShape(primitive_type, {}), in GetScalarBinaryComputation()
/external/ImageMagick/MagickCore/
Ddraw.c1716 primitive_type; in DrawImage() local
1820 primitive_type=UndefinedPrimitive; in DrawImage()
1870 primitive_type=AlphaPrimitive; in DrawImage()
1875 primitive_type=ArcPrimitive; in DrawImage()
1886 primitive_type=BezierPrimitive; in DrawImage()
1954 primitive_type=CirclePrimitive; in DrawImage()
1959 primitive_type=ColorPrimitive; in DrawImage()
2010 primitive_type=EllipsePrimitive; in DrawImage()
2174 primitive_type=ImagePrimitive; in DrawImage()
2222 primitive_type=LinePrimitive; in DrawImage()
[all …]
/external/tensorflow/tensorflow/java/src/main/native/
Dtensor_jni.cc164 #define CASE(dtype, jtype, primitive_type) \ in read1DArray() argument
167 env->Set##primitive_type##ArrayRegion(arr, 0, len, \ in read1DArray()
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderAPI.hpp290 std::string getLayoutQualifierForPrimitiveType(glw::GLenum primitive_type);
/external/smali/smalidea/src/main/antlr/
DsmalideaParser.g526 primitive_type
546 : ARRAY_TYPE_PREFIX (primitive_type | class_descriptor)
564 | primitive_type
574 : primitive_type

12