/third_party/skia/tests/ |
H A D | AndroidCodecTest.cpp | 71 const auto dims = codec->getInfo().dimensions(); in DEF_TEST() local 73 plus(dims, -1), in DEF_TEST() 74 times(dims, .15f), in DEF_TEST() 75 times(dims, .6f), in DEF_TEST() 76 { (int32_t) (dims.width() * .25f), (int32_t) (dims.height() * .75f ) }, in DEF_TEST() 81 { dims.width(), dims.height() - 1 }, in DEF_TEST() 91 REPORTER_ASSERT(r, size == dims); in DEF_TEST() 94 if (size.width() >= dims in DEF_TEST() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/ |
H A D | vktComputeCooperativeMatrixTests.cpp | 311 } dims[4]; in initPrograms() local 316 dims[0].rows = "M"; in initPrograms() 317 dims[0].cols = "K"; in initPrograms() 318 dims[1].rows = "K"; in initPrograms() 319 dims[1].cols = "N"; in initPrograms() 320 dims[2].rows = "M"; in initPrograms() 321 dims[2].cols = "N"; in initPrograms() 322 dims[3].rows = "M"; in initPrograms() 323 dims[3].cols = "N"; in initPrograms() 327 dims[ in initPrograms() 755 } dims[4]; iterate() local [all...] |
/third_party/ffmpeg/libavfilter/tests/ |
H A D | dnn-layer-mathbinary.c | 67 operands[0].dims[0] = 1; in test_broadcast_input0() 68 operands[0].dims[1] = 1; in test_broadcast_input0() 69 operands[0].dims[2] = 2; in test_broadcast_input0() 70 operands[0].dims[3] = 3; in test_broadcast_input0() 107 operands[0].dims[0] = 1; in test_broadcast_input1() 108 operands[0].dims[1] = 1; in test_broadcast_input1() 109 operands[0].dims[2] = 2; in test_broadcast_input1() 110 operands[0].dims[3] = 3; in test_broadcast_input1() 149 operands[0].dims[0] = 1; in test_no_broadcast() 150 operands[0].dims[ in test_no_broadcast() [all...] |
H A D | dnn-layer-pad.c | 75 operands[0].dims[0] = 1; in test_with_mode_symmetric() 76 operands[0].dims[1] = 4; in test_with_mode_symmetric() 77 operands[0].dims[2] = 4; in test_with_mode_symmetric() 78 operands[0].dims[3] = 3; in test_with_mode_symmetric() 140 operands[0].dims[0] = 3; in test_with_mode_reflect() 141 operands[0].dims[1] = 2; in test_with_mode_reflect() 142 operands[0].dims[2] = 2; in test_with_mode_reflect() 143 operands[0].dims[3] = 3; in test_with_mode_reflect() 206 operands[0].dims[0] = 1; in test_with_mode_constant() 207 operands[0].dims[ in test_with_mode_constant() [all...] |
H A D | dnn-layer-avgpool.c | 87 operands[0].dims[0] = 1; in test_with_same() 88 operands[0].dims[1] = 5; in test_with_same() 89 operands[0].dims[2] = 6; in test_with_same() 90 operands[0].dims[3] = 3; in test_with_same() 167 operands[0].dims[0] = 1; in test_with_valid() 168 operands[0].dims[1] = 5; in test_with_valid() 169 operands[0].dims[2] = 6; in test_with_valid() 170 operands[0].dims[3] = 3; in test_with_valid()
|
H A D | dnn-layer-conv2d.c | 114 operands[0].dims[0] = 1; in test_with_same_dilate() 115 operands[0].dims[1] = 5; in test_with_same_dilate() 116 operands[0].dims[2] = 6; in test_with_same_dilate() 117 operands[0].dims[3] = 3; in test_with_same_dilate() 218 operands[0].dims[0] = 1; in test_with_valid() 219 operands[0].dims[1] = 5; in test_with_valid() 220 operands[0].dims[2] = 6; in test_with_valid() 221 operands[0].dims[3] = 3; in test_with_valid()
|
H A D | dnn-layer-dense.c | 103 operands[0].dims[0] = 1; in test() 104 operands[0].dims[1] = 5; in test() 105 operands[0].dims[2] = 6; in test() 106 operands[0].dims[3] = 3; in test()
|
/third_party/ffmpeg/tests/dnn/ |
H A D | dnn-layer-mathbinary-test.c | 67 operands[0].dims[0] = 1; in test_broadcast_input0() 68 operands[0].dims[1] = 1; in test_broadcast_input0() 69 operands[0].dims[2] = 2; in test_broadcast_input0() 70 operands[0].dims[3] = 3; in test_broadcast_input0() 107 operands[0].dims[0] = 1; in test_broadcast_input1() 108 operands[0].dims[1] = 1; in test_broadcast_input1() 109 operands[0].dims[2] = 2; in test_broadcast_input1() 110 operands[0].dims[3] = 3; in test_broadcast_input1() 149 operands[0].dims[0] = 1; in test_no_broadcast() 150 operands[0].dims[ in test_no_broadcast() [all...] |
H A D | dnn-layer-pad-test.c | 75 operands[0].dims[0] = 1; in test_with_mode_symmetric() 76 operands[0].dims[1] = 4; in test_with_mode_symmetric() 77 operands[0].dims[2] = 4; in test_with_mode_symmetric() 78 operands[0].dims[3] = 3; in test_with_mode_symmetric() 140 operands[0].dims[0] = 3; in test_with_mode_reflect() 141 operands[0].dims[1] = 2; in test_with_mode_reflect() 142 operands[0].dims[2] = 2; in test_with_mode_reflect() 143 operands[0].dims[3] = 3; in test_with_mode_reflect() 206 operands[0].dims[0] = 1; in test_with_mode_constant() 207 operands[0].dims[ in test_with_mode_constant() [all...] |
H A D | dnn-layer-avgpool-test.c | 87 operands[0].dims[0] = 1; in test_with_same() 88 operands[0].dims[1] = 5; in test_with_same() 89 operands[0].dims[2] = 6; in test_with_same() 90 operands[0].dims[3] = 3; in test_with_same() 167 operands[0].dims[0] = 1; in test_with_valid() 168 operands[0].dims[1] = 5; in test_with_valid() 169 operands[0].dims[2] = 6; in test_with_valid() 170 operands[0].dims[3] = 3; in test_with_valid()
|
H A D | dnn-layer-conv2d-test.c | 114 operands[0].dims[0] = 1; in test_with_same_dilate() 115 operands[0].dims[1] = 5; in test_with_same_dilate() 116 operands[0].dims[2] = 6; in test_with_same_dilate() 117 operands[0].dims[3] = 3; in test_with_same_dilate() 218 operands[0].dims[0] = 1; in test_with_valid() 219 operands[0].dims[1] = 5; in test_with_valid() 220 operands[0].dims[2] = 6; in test_with_valid() 221 operands[0].dims[3] = 3; in test_with_valid()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | texstorage.c | 55 GLuint dims, GLenum target) in _mesa_is_legal_tex_storage_target() 57 if (dims < 1 || dims > 3) { in _mesa_is_legal_tex_storage_target() 58 _mesa_problem(ctx, "invalid dims=%u in _mesa_is_legal_tex_storage_target()", dims); in _mesa_is_legal_tex_storage_target() 62 switch (dims) { in _mesa_is_legal_tex_storage_target() 85 switch (dims) { in _mesa_is_legal_tex_storage_target() 274 GLuint dims, GLenum target, in tex_storage_error_check() 289 suffix, dims); in tex_storage_error_check() 297 "glTex%sStorage%dD(internalformat = %s)", suffix, dims, in tex_storage_error_check() 54 _mesa_is_legal_tex_storage_target(const struct gl_context *ctx, GLuint dims, GLenum target) _mesa_is_legal_tex_storage_target() argument 271 tex_storage_error_check(struct gl_context *ctx, struct gl_texture_object *texObj, struct gl_memory_object *memObj, GLuint dims, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool dsa) tex_storage_error_check() argument 353 _mesa_sparse_texture_error_check(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, mesa_format format, GLenum target, GLsizei levels, GLsizei width, GLsizei height, GLsizei depth, const char *func) _mesa_sparse_texture_error_check() argument 436 texture_storage(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, struct gl_memory_object *memObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLuint64 offset, bool dsa, bool no_error) texture_storage() argument 548 texture_storage_error(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool dsa) texture_storage_error() argument 560 texture_storage_no_error(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool dsa) texture_storage_no_error() argument 575 texstorage_error(GLuint dims, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, const char *caller) texstorage_error() argument 616 texstorage_no_error(GLuint dims, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) texstorage_no_error() argument 632 texturestorage_error(GLuint dims, GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, const char *caller) texturestorage_error() argument 673 texturestorage_no_error(GLuint dims, GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) texturestorage_no_error() argument 845 _mesa_texture_storage_memory(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, struct gl_memory_object *memObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLuint64 offset, bool dsa) _mesa_texture_storage_memory() argument [all...] |
H A D | texstore.c | 154 (void) dims; in _mesa_texstore_z32() 170 const GLvoid *src = _mesa_image_address(dims, srcPacking, in _mesa_texstore_z32() 191 (void) dims; in _mesa_texstore_x8_z24() 200 const GLvoid *src = _mesa_image_address(dims, srcPacking, in _mesa_texstore_x8_z24() 221 (void) dims; in _mesa_texstore_z24_x8() 230 const GLvoid *src = _mesa_image_address(dims, srcPacking, in _mesa_texstore_z24_x8() 254 (void) dims; in _mesa_texstore_z16() 264 const GLvoid *src = _mesa_image_address(dims, srcPacking, in _mesa_texstore_z16() 284 (void) ctx; (void) dims; (void) baseInternalFormat; in _mesa_texstore_ycbcr() 296 _mesa_memcpy_texture(ctx, dims, in _mesa_texstore_ycbcr() 986 GLuint dims, slice, numSlices = 1, sliceOffset = 0; store_texsubimage() local 1111 _mesa_store_teximage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing) _mesa_store_teximage() argument 1138 _mesa_store_texsubimage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing) _mesa_store_texsubimage() argument 1227 _mesa_store_compressed_teximage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLsizei imageSize, const GLvoid *data) _mesa_store_compressed_teximage() argument 1270 _mesa_compute_compressed_pixelstore(GLuint dims, mesa_format texFormat, GLsizei width, GLsizei height, GLsizei depth, const struct gl_pixelstore_attrib *packing, struct compressed_pixelstore *store) _mesa_compute_compressed_pixelstore() argument 1329 _mesa_store_compressed_texsubimage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) _mesa_store_compressed_texsubimage() argument [all...] |
H A D | texstore.h | 49 * \param dims either 1 or 2 or 3 62 struct gl_context *ctx, GLuint dims, \ 77 UNUSED struct gl_context *ctx, UNUSED GLuint dims, \ 115 GLuint dims, 122 _mesa_store_texsubimage(struct gl_context *ctx, GLuint dims, 138 _mesa_store_compressed_teximage(struct gl_context *ctx, GLuint dims, 144 _mesa_store_compressed_texsubimage(struct gl_context *ctx, GLuint dims, 163 _mesa_compute_compressed_pixelstore(GLuint dims, mesa_format texFormat,
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
H A D | vktComputeCooperativeMatrixTests.cpp | 503 } dims[4]; in initPrograms() local 507 dims[0].rows = "M"; in initPrograms() 508 dims[0].cols = "K"; in initPrograms() 509 dims[1].rows = "K"; in initPrograms() 510 dims[1].cols = "N"; in initPrograms() 511 dims[2].rows = "M"; in initPrograms() 512 dims[2].cols = "N"; in initPrograms() 513 dims[3].rows = "M"; in initPrograms() 514 dims[3].cols = "N"; in initPrograms() 518 dims[ in initPrograms() 1078 } dims[4]; iterate() local [all...] |
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
H A D | parser_type.cc | 84 return utils::Hash(t.dims, t.type); in operator ()() 90 return utils::Hash(t.dims, t.type); in operator ()() 96 return utils::Hash(t.dims, t.format, t.access); in operator ()() 123 return a.dims == b.dims && a.type == b.type; in operator ==() 127 return a.dims == b.dims && a.type == b.type; in operator ==() 131 return a.dims == b.dims && a.format == b.format; in operator ==() 204 Texture::Texture(ast::TextureDimension d) : dims( [all...] |
/third_party/ffmpeg/libavfilter/dnn/ |
H A D | dnn_backend_native_layer_depth2space.c | 58 int number = operands[input_operand_index].dims[0]; in ff_dnn_execute_layer_depth2space() 59 int height = operands[input_operand_index].dims[1]; in ff_dnn_execute_layer_depth2space() 60 int width = operands[input_operand_index].dims[2]; in ff_dnn_execute_layer_depth2space() 61 int channels = operands[input_operand_index].dims[3]; in ff_dnn_execute_layer_depth2space() 71 output_operand->dims[0] = number; in ff_dnn_execute_layer_depth2space() 72 output_operand->dims[1] = height * block_size; in ff_dnn_execute_layer_depth2space() 73 output_operand->dims[2] = width * block_size; in ff_dnn_execute_layer_depth2space() 74 output_operand->dims[3] = new_channels; in ff_dnn_execute_layer_depth2space()
|
H A D | dnn_backend_openvino.c | 117 dimensions_t dims; in fill_model_input_ov() local 137 status |= ie_blob_get_dims(input_blob, &dims); in fill_model_input_ov() 141 av_log(ctx, AV_LOG_ERROR, "Failed to get input blob dims/precision\n"); in fill_model_input_ov() 152 input.height = dims.dims[2]; in fill_model_input_ov() 153 input.width = dims.dims[3]; in fill_model_input_ov() 154 input.channels = dims.dims[1]; in fill_model_input_ov() 199 dimensions_t dims; in infer_completion_callback() local 511 dimensions_t dims; get_input_ov() local [all...] |
H A D | dnn_backend_native_layer_avgpool.c | 64 int number = operands[input_operand_index].dims[0]; in ff_dnn_execute_layer_avg_pool() 65 int height = operands[input_operand_index].dims[1]; in ff_dnn_execute_layer_avg_pool() 66 int width = operands[input_operand_index].dims[2]; in ff_dnn_execute_layer_avg_pool() 67 int channel = operands[input_operand_index].dims[3]; in ff_dnn_execute_layer_avg_pool() 103 output_operand->dims[0] = number; in ff_dnn_execute_layer_avg_pool() 104 output_operand->dims[1] = output_height; in ff_dnn_execute_layer_avg_pool() 105 output_operand->dims[2] = output_width; in ff_dnn_execute_layer_avg_pool() 107 output_operand->dims[3] = channel; in ff_dnn_execute_layer_avg_pool()
|
H A D | dnn_backend_native_layer_dense.c | 90 int number = operands[input_operand_index].dims[0]; in ff_dnn_execute_layer_dense() 91 int height = operands[input_operand_index].dims[1]; in ff_dnn_execute_layer_dense() 92 int width = operands[input_operand_index].dims[2]; in ff_dnn_execute_layer_dense() 93 int channel = operands[input_operand_index].dims[3]; in ff_dnn_execute_layer_dense() 99 output_operand->dims[0] = number; in ff_dnn_execute_layer_dense() 100 output_operand->dims[1] = height; in ff_dnn_execute_layer_dense() 101 output_operand->dims[2] = width; in ff_dnn_execute_layer_dense() 102 output_operand->dims[3] = dense_params->output_num; in ff_dnn_execute_layer_dense()
|
H A D | dnn_backend_native_layer_conv2d.c | 118 int height = operands[input_operand_index].dims[1]; in dnn_execute_layer_conv2d_thread() 119 int width = operands[input_operand_index].dims[2]; in dnn_execute_layer_conv2d_thread() 120 int channel = operands[input_operand_index].dims[3]; in dnn_execute_layer_conv2d_thread() 200 int height = operands[input_operand_indexes[0]].dims[1]; in ff_dnn_execute_layer_conv2d() 201 int width = operands[input_operand_indexes[0]].dims[2]; in ff_dnn_execute_layer_conv2d() 206 output_operand->dims[0] = operands[input_operand_indexes[0]].dims[0]; in ff_dnn_execute_layer_conv2d() 207 output_operand->dims[1] = height - pad_size * 2; in ff_dnn_execute_layer_conv2d() 208 output_operand->dims[2] = width - pad_size * 2; in ff_dnn_execute_layer_conv2d() 209 output_operand->dims[ in ff_dnn_execute_layer_conv2d() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_sample_aos.c | 450 const unsigned dims = bld->dims; in lp_build_sample_image_nearest() local 486 if (dims >= 2) in lp_build_sample_image_nearest() 488 if (dims >= 3) in lp_build_sample_image_nearest() 494 if (dims >= 2) { in lp_build_sample_image_nearest() 496 if (dims >= 3) { in lp_build_sample_image_nearest() 516 if (dims >= 2) { in lp_build_sample_image_nearest() 526 if (dims >= 3) { in lp_build_sample_image_nearest() 569 const unsigned dims = bld->dims; in lp_build_sample_fetch_image_linear() local 751 const unsigned dims = bld->dims; lp_build_sample_image_linear() local 1125 const unsigned dims = bld->dims; lp_build_sample_aos() local [all...] |
/third_party/mesa3d/src/amd/common/ |
H A D | ac_surface_modifier_test.c | 213 const unsigned dims[][2] = { in test_modifier() local 220 for (unsigned i = 0; i < ARRAY_SIZE(dims); ++i) { in test_modifier() 223 .width = dims[i][0], in test_modifier() 224 .height = dims[i][1], in test_modifier() 266 surf_size = block_count(dims[i][0], dims[i][1], in test_modifier() 270 aligned_pitch = align(dims[i][0], 256 / util_format_get_blocksize(format)); in test_modifier() 271 aligned_height = dims[i][1]; in test_modifier() 272 surf_size = align(dims[i][0] * util_format_get_blocksize(format), 256) * dims[ in test_modifier() [all...] |
/third_party/mesa3d/src/gallium/frontends/clover/api/ |
H A D | kernel.cpp | 267 validate_grid_size(const command_queue &q, cl_uint dims, in validate_grid_size() argument 269 auto grid_size = range(d_grid_size, dims); in validate_grid_size() 271 if (dims < 1 || dims > q.device().max_block_size().size()) in validate_grid_size() 278 validate_grid_offset(const command_queue &q, cl_uint dims, in validate_grid_offset() argument 281 return range(d_grid_offset, dims); in validate_grid_offset() 283 return std::vector<size_t>(dims, 0); in validate_grid_offset() 288 cl_uint dims, const size_t *d_grid_size, in validate_block_size() 290 auto grid_size = range(d_grid_size, dims); in validate_block_size() 293 auto block_size = range(d_block_size, dims); in validate_block_size() 287 validate_block_size(const command_queue &q, const kernel &kern, cl_uint dims, const size_t *d_grid_size, const size_t *d_block_size) validate_block_size() argument 315 clEnqueueNDRangeKernel(cl_command_queue d_q, cl_kernel d_kern, cl_uint dims, const size_t *d_grid_offset, const size_t *d_grid_size, const size_t *d_block_size, cl_uint num_deps, const cl_event *d_deps, cl_event *rd_ev) clEnqueueNDRangeKernel() argument [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_vec4_surface_builder.cpp | 139 * Emit an untyped surface read opcode. \p dims determines the number 146 unsigned dims, unsigned size, in emit_untyped_read() 150 emit_insert(bld, addr, dims, true), 1, in emit_untyped_read() 156 * Emit an untyped surface write opcode. \p dims determines the number 163 unsigned dims, unsigned size, in emit_untyped_write() 168 emit_insert(bld, addr, dims, has_simd4x2), in emit_untyped_write() 169 has_simd4x2 ? 1 : dims, in emit_untyped_write() 176 * Emit an untyped surface atomic opcode. \p dims determines the number 184 unsigned dims, unsigned rsize, unsigned op, in emit_untyped_atomic() 206 emit_insert(bld, addr, dims, has_simd4x in emit_untyped_atomic() 144 emit_untyped_read(const vec4_builder &bld, const src_reg &surface, const src_reg &addr, unsigned dims, unsigned size, brw_predicate pred) emit_untyped_read() argument 161 emit_untyped_write(const vec4_builder &bld, const src_reg &surface, const src_reg &addr, const src_reg &src, unsigned dims, unsigned size, brw_predicate pred) emit_untyped_write() argument 181 emit_untyped_atomic(const vec4_builder &bld, const src_reg &surface, const src_reg &addr, const src_reg &src0, const src_reg &src1, unsigned dims, unsigned rsize, unsigned op, brw_predicate pred) emit_untyped_atomic() argument [all...] |