/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_extensions.cpp | 179 const uint32_t result_type_dimension = _.GetDimension(result_type); in ValidateExtInst() 190 if (result_type_dimension != _.GetDimension(operand_type)) { in ValidateExtInst() 405 if (_.GetDimension(result_type) != _.GetDimension(exp_data_type)) { in ValidateExtInst() 438 if (_.GetDimension(result_type) != _.GetDimension(exp_type)) { in ValidateExtInst() 459 _.GetDimension(result_types[0]) != in ValidateExtInst() 460 _.GetDimension(result_types[1])) { in ValidateExtInst() 492 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 4 || in ValidateExtInst() 512 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst() 530 if (!_.IsIntVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst() 542 _.GetDimension(result_type) != 4 || in ValidateExtInst() [all …]
|
D | validate_logicals.cpp | 66 if (_.GetDimension(result_type) != _.GetDimension(operand_type)) in LogicalsPass() 102 if (_.GetDimension(result_type) != _.GetDimension(left_operand_type)) in LogicalsPass() 207 if (_.GetDimension(condition_type) != dimension) { in LogicalsPass() 253 if (_.GetDimension(result_type) != _.GetDimension(left_type)) in LogicalsPass() 264 if (_.GetDimension(result_type) != _.GetDimension(right_type)) in LogicalsPass()
|
D | validate_conversion.cpp | 56 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 86 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 118 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 149 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 184 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 220 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 294 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 508 _.GetBitWidth(result_type) * _.GetDimension(result_type); in ConversionPass() 510 _.GetBitWidth(input_type) * _.GetDimension(input_type); in ConversionPass()
|
D | validate_bitwise.cpp | 41 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass() 51 if (_.GetDimension(base_type) != result_dimension) in BitwisePass() 67 if (_.GetDimension(shift_type) != result_dimension) in BitwisePass() 83 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass() 96 if (_.GetDimension(type_id) != result_dimension) in BitwisePass() 200 const uint32_t base_dimension = _.GetDimension(base_type); in BitwisePass() 201 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass()
|
D | validate_image.cpp | 349 const uint32_t dx_size = _.GetDimension(dx_type_id); in ValidateImageOperands() 350 const uint32_t dy_size = _.GetDimension(dy_type_id); in ValidateImageOperands() 390 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() 413 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() 458 _.GetDimension(component_type) != 2) { in ValidateImageOperands() 1030 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageTexelPointer() 1069 if (_.GetDimension(actual_result_type) != 4) { in ValidateImageLod() 1116 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageLod() 1189 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageDrefLod() 1229 if (_.GetDimension(actual_result_type) != 4) { in ValidateImageFetch() [all …]
|
D | validate_arithmetics.cpp | 99 const uint32_t dimension = _.GetDimension(result_type); in ArithmeticsPass() 113 if (_.GetDimension(type_id) != dimension) in ArithmeticsPass() 153 const uint32_t num_components = _.GetDimension(type_id); in ArithmeticsPass() 249 if (matrix_num_cols != _.GetDimension(result_type)) in ArithmeticsPass() 254 if (matrix_num_rows != _.GetDimension(vector_type_id)) in ArithmeticsPass() 298 if (matrix_num_cols != _.GetDimension(vector_type_id)) in ArithmeticsPass() 401 if (res_num_cols != _.GetDimension(right_type_id)) in ArithmeticsPass()
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_logicals.cpp | 66 if (_.GetDimension(result_type) != _.GetDimension(operand_type)) in LogicalsPass() 102 if (_.GetDimension(result_type) != _.GetDimension(left_operand_type)) in LogicalsPass() 207 if (_.GetDimension(condition_type) != dimension) { in LogicalsPass() 253 if (_.GetDimension(result_type) != _.GetDimension(left_type)) in LogicalsPass() 264 if (_.GetDimension(result_type) != _.GetDimension(right_type)) in LogicalsPass()
|
D | validate_conversion.cpp | 56 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 86 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 118 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 149 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 184 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 220 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 294 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 508 _.GetBitWidth(result_type) * _.GetDimension(result_type); in ConversionPass() 510 _.GetBitWidth(input_type) * _.GetDimension(input_type); in ConversionPass()
|
D | validate_extensions.cpp | 317 const uint32_t result_type_dimension = _.GetDimension(result_type); in ValidateExtInst() 328 if (result_type_dimension != _.GetDimension(operand_type)) { in ValidateExtInst() 543 if (_.GetDimension(result_type) != _.GetDimension(exp_data_type)) { in ValidateExtInst() 576 if (_.GetDimension(result_type) != _.GetDimension(exp_type)) { in ValidateExtInst() 597 _.GetDimension(result_types[0]) != in ValidateExtInst() 598 _.GetDimension(result_types[1])) { in ValidateExtInst() 630 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 4 || in ValidateExtInst() 650 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst() 668 if (!_.IsIntVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst() 680 _.GetDimension(result_type) != 4 || in ValidateExtInst() [all …]
|
D | validate_bitwise.cpp | 41 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass() 51 if (_.GetDimension(base_type) != result_dimension) in BitwisePass() 67 if (_.GetDimension(shift_type) != result_dimension) in BitwisePass() 83 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass() 96 if (_.GetDimension(type_id) != result_dimension) in BitwisePass() 200 const uint32_t base_dimension = _.GetDimension(base_type); in BitwisePass() 201 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass()
|
D | validate_image.cpp | 349 const uint32_t dx_size = _.GetDimension(dx_type_id); in ValidateImageOperands() 350 const uint32_t dy_size = _.GetDimension(dy_type_id); in ValidateImageOperands() 390 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() 413 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() 458 _.GetDimension(component_type) != 2) { in ValidateImageOperands() 1031 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageTexelPointer() 1070 if (_.GetDimension(actual_result_type) != 4) { in ValidateImageLod() 1117 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageLod() 1190 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageDrefLod() 1230 if (_.GetDimension(actual_result_type) != 4) { in ValidateImageFetch() [all …]
|
D | validate_arithmetics.cpp | 99 const uint32_t dimension = _.GetDimension(result_type); in ArithmeticsPass() 113 if (_.GetDimension(type_id) != dimension) in ArithmeticsPass() 153 const uint32_t num_components = _.GetDimension(type_id); in ArithmeticsPass() 249 if (matrix_num_cols != _.GetDimension(result_type)) in ArithmeticsPass() 254 if (matrix_num_rows != _.GetDimension(vector_type_id)) in ArithmeticsPass() 298 if (matrix_num_cols != _.GetDimension(vector_type_id)) in ArithmeticsPass() 401 if (res_num_cols != _.GetDimension(right_type_id)) in ArithmeticsPass()
|
/external/angle/third_party/spirv-tools/src/source/val/ |
D | validate_logicals.cpp | 66 if (_.GetDimension(result_type) != _.GetDimension(operand_type)) in LogicalsPass() 102 if (_.GetDimension(result_type) != _.GetDimension(left_operand_type)) in LogicalsPass() 207 if (_.GetDimension(condition_type) != dimension) { in LogicalsPass() 253 if (_.GetDimension(result_type) != _.GetDimension(left_type)) in LogicalsPass() 264 if (_.GetDimension(result_type) != _.GetDimension(right_type)) in LogicalsPass()
|
D | validate_conversion.cpp | 56 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 86 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 118 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 149 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 184 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 220 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 294 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 508 _.GetBitWidth(result_type) * _.GetDimension(result_type); in ConversionPass() 510 _.GetBitWidth(input_type) * _.GetDimension(input_type); in ConversionPass()
|
D | validate_extensions.cpp | 317 const uint32_t result_type_dimension = _.GetDimension(result_type); in ValidateExtInst() 328 if (result_type_dimension != _.GetDimension(operand_type)) { in ValidateExtInst() 543 if (_.GetDimension(result_type) != _.GetDimension(exp_data_type)) { in ValidateExtInst() 576 if (_.GetDimension(result_type) != _.GetDimension(exp_type)) { in ValidateExtInst() 597 _.GetDimension(result_types[0]) != in ValidateExtInst() 598 _.GetDimension(result_types[1])) { in ValidateExtInst() 630 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 4 || in ValidateExtInst() 650 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst() 668 if (!_.IsIntVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst() 680 _.GetDimension(result_type) != 4 || in ValidateExtInst() [all …]
|
D | validate_bitwise.cpp | 41 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass() 51 if (_.GetDimension(base_type) != result_dimension) in BitwisePass() 67 if (_.GetDimension(shift_type) != result_dimension) in BitwisePass() 83 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass() 96 if (_.GetDimension(type_id) != result_dimension) in BitwisePass() 200 const uint32_t base_dimension = _.GetDimension(base_type); in BitwisePass() 201 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass()
|
D | validate_image.cpp | 349 const uint32_t dx_size = _.GetDimension(dx_type_id); in ValidateImageOperands() 350 const uint32_t dy_size = _.GetDimension(dy_type_id); in ValidateImageOperands() 390 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() 413 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() 458 _.GetDimension(component_type) != 2) { in ValidateImageOperands() 1031 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageTexelPointer() 1070 if (_.GetDimension(actual_result_type) != 4) { in ValidateImageLod() 1117 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageLod() 1190 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageDrefLod() 1230 if (_.GetDimension(actual_result_type) != 4) { in ValidateImageFetch() [all …]
|
D | validate_arithmetics.cpp | 99 const uint32_t dimension = _.GetDimension(result_type); in ArithmeticsPass() 113 if (_.GetDimension(type_id) != dimension) in ArithmeticsPass() 153 const uint32_t num_components = _.GetDimension(type_id); in ArithmeticsPass() 249 if (matrix_num_cols != _.GetDimension(result_type)) in ArithmeticsPass() 254 if (matrix_num_rows != _.GetDimension(vector_type_id)) in ArithmeticsPass() 298 if (matrix_num_cols != _.GetDimension(vector_type_id)) in ArithmeticsPass() 401 if (res_num_cols != _.GetDimension(right_type_id)) in ArithmeticsPass()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | triangular_solve_expander.cc | 44 int64 n = ShapeUtil::GetDimension(shape, -1); in DiagonalBlocks() 78 slice_sizes[i] = ShapeUtil::GetDimension(shape, i); in DiagonalBlocks() 132 int64 block_size = ShapeUtil::GetDimension(shape, -1); in InvertDiagonalBlocks() 260 int64 block_size = ShapeUtil::GetDimension(blocks_shape, -1); in SolveWithInvertedDiagonalBlocks() 264 int64 n = ShapeUtil::GetDimension(a_shape, -1); in SolveWithInvertedDiagonalBlocks() 267 int64 m = ShapeUtil::GetDimension(b_shape, m_dim); in SolveWithInvertedDiagonalBlocks() 401 if (ShapeUtil::GetDimension(a_shape, -1) != in BuildTriangularSolve() 402 ShapeUtil::GetDimension(a_shape, -2)) { in BuildTriangularSolve() 408 const int64 m = ShapeUtil::GetDimension(b_shape, -2); in BuildTriangularSolve() 409 const int64 n = ShapeUtil::GetDimension(b_shape, -1); in BuildTriangularSolve() [all …]
|
D | cholesky_expander.cc | 63 const int64 n = ShapeUtil::GetDimension(a_shape, -1); in CholeskyUnblocked() 139 const int64 n = ShapeUtil::GetDimension(a_shape, -1); in BuildCholesky() 140 if (n != ShapeUtil::GetDimension(a_shape, -2)) { in BuildCholesky()
|
D | shape_inference.cc | 208 ShapeUtil::GetDimension(base_shape, i), dim.base_dilation()); in InferWindowOutputShape() 1274 if (ShapeUtil::GetDimension(offset_shape, 0) != feature_count) { in InferBatchNormTrainingShape() 1279 ShapeUtil::GetDimension(offset_shape, 0), feature_count); in InferBatchNormTrainingShape() 1282 if (ShapeUtil::GetDimension(scale_shape, 0) != feature_count) { in InferBatchNormTrainingShape() 1287 ShapeUtil::GetDimension(scale_shape, 0), feature_count); in InferBatchNormTrainingShape() 1404 if (ShapeUtil::GetDimension(offset_shape, 0) != feature_count) { in InferBatchNormInferenceShape() 1409 ShapeUtil::GetDimension(offset_shape, 0), feature_count); in InferBatchNormInferenceShape() 1412 if (ShapeUtil::GetDimension(scale_shape, 0) != feature_count) { in InferBatchNormInferenceShape() 1417 ShapeUtil::GetDimension(scale_shape, 0), feature_count); in InferBatchNormInferenceShape() 1420 if (ShapeUtil::GetDimension(mean_shape, 0) != feature_count) { in InferBatchNormInferenceShape() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | tridiagonal.cc | 45 const auto actual_num_dims = ShapeUtil::GetDimension(op_shape, rank - 2); in CheckSecondToLastDimension() 89 ShapeUtil::GetDimension(lower_diagonal_shape, rank - 1); in CheckSystemAndReturnShape() 91 ShapeUtil::GetDimension(main_diagonal_shape, rank - 1); in CheckSystemAndReturnShape() 93 ShapeUtil::GetDimension(upper_diagonal_shape, rank - 1); in CheckSystemAndReturnShape() 94 const auto rhs_num_eqs = ShapeUtil::GetDimension(rhs_shape, rank - 1); in CheckSystemAndReturnShape()
|
D | svd.cc | 114 const int64 n = ShapeUtil::GetDimension(a_shape, -1); in HouseRow() 121 batch_dims[k] = ShapeUtil::GetDimension(a_shape, k); in HouseRow() 179 const int64 m = ShapeUtil::GetDimension(a_shape, -2); in HouseCol() 186 batch_dims[k] = ShapeUtil::GetDimension(a_shape, k); in HouseCol() 260 batch_dims[i] = ShapeUtil::GetDimension(a_shape, i); in HouseHolderBidiagonalization() 262 const int64 m = ShapeUtil::GetDimension(a_shape, -2); in HouseHolderBidiagonalization() 263 const int64 n = ShapeUtil::GetDimension(a_shape, -1); in HouseHolderBidiagonalization() 462 batch_dims[i] = ShapeUtil::GetDimension(d_shape, i); in OneSidedJacobiUpdate() 464 const int64 m = ShapeUtil::GetDimension(d_shape, -2); in OneSidedJacobiUpdate() 465 const int64 n = ShapeUtil::GetDimension(d_shape, -1); in OneSidedJacobiUpdate() [all …]
|
D | qr.cc | 164 const int64 m = ShapeUtil::GetDimension(a_shape, -2); in QRBlock() 165 const int64 n = ShapeUtil::GetDimension(a_shape, -1); in QRBlock() 170 batch_dims[i] = ShapeUtil::GetDimension(a_shape, i); in QRBlock() 363 const int64 m = ShapeUtil::GetDimension(a_shape, -2); in QRDecomposition() 364 const int64 n = ShapeUtil::GetDimension(a_shape, -1); in QRDecomposition() 375 batch_dims[i] = ShapeUtil::GetDimension(a_shape, i); in QRDecomposition()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | mkl_lrn_op.cc | 110 } else if (!src_dnn_shape.IsMklChannelDim(src_dnn_shape.GetDimension() - in Compute() 296 OP_REQUIRES(context, src_dnn_shape.GetDimension() == 4, in SanityCheckInputs() 365 input_grad_dnn_shape.GetDimension() - 1) && in Compute() 367 orig_input_dnn_shape.GetDimension() - 1) && in Compute() 369 orig_output_dnn_shape.GetDimension() - 1); in Compute() 625 OP_REQUIRES(context, in_grads_dnn_shape.GetDimension() == 4, in SanityCheckInputs() 635 OP_REQUIRES(context, in_image_dnn_shape.GetDimension() == 4, in SanityCheckInputs() 645 OP_REQUIRES(context, out_image_dnn_shape.GetDimension() == 4, in SanityCheckInputs()
|