Home
last modified time | relevance | path

Searched refs:ydim (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/astc-encoder/Source/
Dastc_block_sizes2.cpp234 int ydim, in initialize_decimation_table_2d() argument
242 int texels_per_block = xdim * ydim; in initialize_decimation_table_2d()
252 for (y = 0; y < ydim; y++) in initialize_decimation_table_2d()
258 int y_weight = (((1024 + ydim / 2) / (ydim - 1)) * y * (y_weights - 1) + 32) >> 6; in initialize_decimation_table_2d()
315 int ydim, in initialize_decimation_table_3d() argument
325 int texels_per_block = xdim * ydim * zdim; in initialize_decimation_table_3d()
337 for (y = 0; y < ydim; y++) in initialize_decimation_table_3d()
341 int texel = (z * ydim + y) * xdim + x; in initialize_decimation_table_3d()
344 int y_weight = (((1024 + ydim / 2) / (ydim - 1)) * y * (y_weights - 1) + 32) >> 6; in initialize_decimation_table_3d()
476 int ydim, in construct_block_size_descriptor_2d() argument
[all …]
Dastc_codec_internals.h100 int ydim; member
139 int ydim,
256 int ydim,
Dastc_image_load_store.cpp180 int ydim, in update_imageblock_flags() argument
189 int texels_per_block = xdim * ydim * zdim; in update_imageblock_flags()
Dastc_decompress_symbolic.cpp131 update_imageblock_flags(blk, bsd->xdim, bsd->ydim, bsd->zdim); in decompress_symbolic_block()
197 update_imageblock_flags(blk, bsd->xdim, bsd->ydim, bsd->zdim); in decompress_symbolic_block()
289 update_imageblock_flags(blk, bsd->xdim, bsd->ydim, bsd->zdim); in decompress_symbolic_block()
Dastc_partition_tables.cpp238 for (y = 0; y < bsd->ydim; y++) in generate_one_partition_table()
/external/tensorflow/tensorflow/core/util/
Dgpu_launch_config.h226 inline Gpu2DLaunchConfig GetGpu2DLaunchConfig(int xdim, int ydim, in GetGpu2DLaunchConfig() argument
230 if (xdim <= 0 || ydim <= 0) { in GetGpu2DLaunchConfig()
244 config.virtual_thread_count = dim3(xdim, ydim, 1); in GetGpu2DLaunchConfig()
250 grid_x, std::min(max_blocks / grid_x, std::max(ydim / block_rows, 1)), 1); in GetGpu2DLaunchConfig()
254 inline Cuda2DLaunchConfig GetCuda2DLaunchConfig(int xdim, int ydim, in GetCuda2DLaunchConfig() argument
256 return GetGpu2DLaunchConfig(xdim, ydim, d); in GetCuda2DLaunchConfig()
267 Gpu3DLaunchConfig GetGpu3DLaunchConfig(int xdim, int ydim, int zdim, in GetGpu3DLaunchConfig() argument
274 if (xdim <= 0 || ydim <= 0 || zdim <= 0) { in GetGpu3DLaunchConfig()
320 std::min({ydim, std::max(thread_per_block / threadsx, 1), ythreadlimit}); in GetGpu3DLaunchConfig()
327 {DivUp(block_count, blocksx), DivUp(ydim, threadsy), ygridlimit}); in GetGpu3DLaunchConfig()
[all …]
/external/swiftshader/src/Device/
DASTC_Decoder.cpp37 int xdim, int ydim, int zdim, in write_imageblock() argument
46 for(int y = 0; y < ydim; y++) in write_imageblock()
/external/tensorflow/tensorflow/compiler/xla/service/
Ddynamic_padder_test.cc261 constexpr int ydim = 2; in TEST_F() local
263 auto xy_shape = ShapeUtil::MakeShape(F32, {xdim, ydim}); in TEST_F()
264 auto yz_shape = ShapeUtil::MakeShape(F32, {ydim, zdim}); in TEST_F()
304 constexpr int ydim = 2; in TEST_F() local
306 auto xy_shape = ShapeUtil::MakeShape(F32, {xdim, ydim}); in TEST_F()
307 auto yz_shape = ShapeUtil::MakeShape(F32, {ydim, zdim}); in TEST_F()
Ddynamic_dimension_inference_test.cc309 constexpr int ydim = 2; in TEST_F() local
311 auto xy_shape = ShapeUtil::MakeShape(F32, {xdim, ydim}); in TEST_F()
312 auto yz_shape = ShapeUtil::MakeShape(F32, {ydim, zdim}); in TEST_F()
439 constexpr int ydim = 2; in TEST_F() local
441 auto xy_shape = ShapeUtil::MakeShape(F32, {xdim, ydim}); in TEST_F()
442 auto yz_shape = ShapeUtil::MakeShape(F32, {ydim, zdim}); in TEST_F()