/external/swiftshader/third_party/astc-encoder/Source/ |
D | astc_block_sizes2.cpp | 233 int xdim, in initialize_decimation_table_2d() argument 242 int texels_per_block = xdim * ydim; in initialize_decimation_table_2d() 253 for (x = 0; x < xdim; x++) in initialize_decimation_table_2d() 255 int texel = y * xdim + x; in initialize_decimation_table_2d() 257 int x_weight = (((1024 + xdim / 2) / (xdim - 1)) * x * (x_weights - 1) + 32) >> 6; in initialize_decimation_table_2d() 354 int xdim, in initialize_decimation_table_3d() argument 365 int texels_per_block = xdim * ydim * zdim; in initialize_decimation_table_3d() 379 for (x = 0; x < xdim; x++) in initialize_decimation_table_3d() 381 int texel = (z * ydim + y) * xdim + x; in initialize_decimation_table_3d() 383 int x_weight = (((1024 + xdim / 2) / (xdim - 1)) * x * (x_weights - 1) + 32) >> 6; in initialize_decimation_table_3d() [all …]
|
D | astc_percentile_tables.cpp | 36 uint8_t xdim; member 1090 int xdim, in get_packed_table() argument 1093 int idx = (ydim << 8) | xdim; in get_packed_table() 1118 int xdim, in get_2d_percentile_table() argument 1122 const packed_percentile_table *apt = get_packed_table(xdim, ydim); in get_2d_percentile_table()
|
D | astc_codec_internals.h | 116 int xdim; member 166 int xdim, 300 int xdim, 344 int xdim,
|
D | astc_decompress_symbolic.cpp | 131 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()
|
D | astc_image_load_store.cpp | 179 int xdim, in update_imageblock_flags() argument 189 int texels_per_block = xdim * ydim * zdim; in update_imageblock_flags()
|
D | astc_partition_tables.cpp | 239 for (x = 0; x < bsd->xdim; x++) in generate_one_partition_table()
|
/external/tensorflow/tensorflow/core/util/ |
D | gpu_launch_config.h | 248 inline Gpu2DLaunchConfig GetGpu2DLaunchConfig(int xdim, int ydim, in GetGpu2DLaunchConfig() argument 252 if (xdim <= 0 || ydim <= 0) { in GetGpu2DLaunchConfig() 257 int block_cols = std::min(xdim, kThreadsPerBlock); in GetGpu2DLaunchConfig() 266 config.virtual_thread_count = dim3(xdim, ydim, 1); in GetGpu2DLaunchConfig() 269 int grid_x = std::min(DivUp(xdim, block_cols), max_blocks); in GetGpu2DLaunchConfig() 276 inline Cuda2DLaunchConfig GetCuda2DLaunchConfig(int xdim, int ydim, in GetCuda2DLaunchConfig() argument 278 return GetGpu2DLaunchConfig(xdim, ydim, d); in GetCuda2DLaunchConfig() 289 Gpu3DLaunchConfig GetGpu3DLaunchConfig(int xdim, int ydim, int zdim, in GetGpu3DLaunchConfig() argument 296 if (xdim <= 0 || ydim <= 0 || zdim <= 0) { in GetGpu3DLaunchConfig() 340 int threadsx = std::min({xdim, thread_per_block, xthreadlimit}); in GetGpu3DLaunchConfig() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | dynamic_padder_test.cc | 110 constexpr int xdim = 3; in TEST_F() local 113 auto xy_shape = ShapeUtil::MakeShape(F32, {xdim, ydim}); in TEST_F() 115 auto zx_shape = ShapeUtil::MakeShape(F32, {zdim, xdim}); in TEST_F() 153 constexpr int xdim = 3; in TEST_F() local 156 auto xy_shape = ShapeUtil::MakeShape(F32, {xdim, ydim}); in TEST_F() 158 auto zx_shape = ShapeUtil::MakeShape(F32, {zdim, xdim}); in TEST_F()
|
D | dynamic_dimension_inference_test.cc | 305 constexpr int xdim = 3; in TEST_F() local 308 auto xy_shape = ShapeUtil::MakeShape(F32, {xdim, ydim}); in TEST_F() 310 auto xz_shape = ShapeUtil::MakeShape(F32, {xdim, zdim}); in TEST_F() 388 constexpr int xdim = 3; in TEST_F() local 391 auto xy_shape = ShapeUtil::MakeShape(F32, {xdim, ydim}); in TEST_F() 393 auto zx_shape = ShapeUtil::MakeShape(F32, {zdim, xdim}); in TEST_F()
|
/external/swiftshader/src/Device/ |
D | ASTC_Decoder.cpp | 37 int xdim, int ydim, int zdim, in write_imageblock() argument 48 for(int x = 0; x < xdim; x++) in write_imageblock()
|