/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_compute.c | 142 uint32_t grid_size[3]) in fill_grid_size() 147 grid_size[0] = info->grid[0]; in fill_grid_size() 148 grid_size[1] = info->grid[1]; in fill_grid_size() 149 grid_size[2] = info->grid[2]; in fill_grid_size() 161 grid_size[0] = params[0]; in fill_grid_size() 162 grid_size[1] = params[1]; in fill_grid_size() 163 grid_size[2] = params[2]; in fill_grid_size() 178 uint32_t grid_size[3] = {0}; in softpipe_launch_grid() local 187 fill_grid_size(context, info, grid_size); in softpipe_launch_grid() 210 grid_size[0], grid_size[1], grid_size[2], in softpipe_launch_grid() [all …]
|
D | sp_screen.c | 525 uint64_t *grid_size = ret; in softpipe_get_compute_param() local 526 grid_size[0] = 65535; in softpipe_get_compute_param() 527 grid_size[1] = 65535; in softpipe_get_compute_param() 528 grid_size[2] = 65535; in softpipe_get_compute_param()
|
/third_party/boost/libs/graph/test/ |
D | gursoy_atun_layout_test.cpp | 68 const int grid_size = 20; in main() local 71 for (int i = 0; i < grid_size; ++i) in main() 72 for (int j = 0; j < grid_size; ++j) in main() 74 for (int i = 0; i < grid_size; ++i) in main() 76 for (int j = 0; j < grid_size; ++j) in main() 87 add_edge(verts[0][j], verts[grid_size-1][j], random_edge_weight(), in main() 90 add_edge(verts[i][0], verts[i][grid_size-1], random_edge_weight(), in main()
|
/third_party/weston/desktop-shell/ |
D | exposay.c | 219 eoutput->surface_size = exposay_area.height / eoutput->grid_size; in exposay_surface_and_inner_pad_size() 221 eoutput->surface_size = exposay_area.width / eoutput->grid_size; in exposay_surface_and_inner_pad_size() 278 eoutput->grid_size = 0; in exposay_layout() 289 eoutput->grid_size = floor(sqrtf(eoutput->num_surfaces)); in exposay_layout() 290 if (pow(eoutput->grid_size, 2) != eoutput->num_surfaces) in exposay_layout() 291 eoutput->grid_size++; in exposay_layout() 298 row_size = (pad * eoutput->grid_size) - eoutput->padding_inner; in exposay_layout() 301 populated_rows = ceil(eoutput->num_surfaces / (float) eoutput->grid_size); in exposay_layout() 307 last_row_size = ((eoutput->num_surfaces % eoutput->grid_size) * pad) - eoutput->padding_inner; in exposay_layout() 308 if (eoutput->num_surfaces % eoutput->grid_size) in exposay_layout() [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_cs.c | 57 unsigned grid_size[3]; member 367 system_values.grid_size = LLVMGetUndef(LLVMVectorType(int32_type, 3)); in generate_compute() 369 …system_values.grid_size = LLVMBuildInsertElement(builder, system_values.grid_size, gstids[i], lp_b… in generate_compute() 1315 unsigned grid_z = iter_idx / (job_info->grid_size[0] * job_info->grid_size[1]); in cs_exec_fn() 1316 …ed grid_y = (iter_idx - (grid_z * (job_info->grid_size[0] * job_info->grid_size[1]))) / job_info->… in cs_exec_fn() 1317 …rid_x = (iter_idx - (grid_z * (job_info->grid_size[0] * job_info->grid_size[1])) - (grid_y * job_i… in cs_exec_fn() 1326 … job_info->grid_size[0], job_info->grid_size[1], job_info->grid_size[2], job_info->work_dim, in cs_exec_fn() 1333 uint32_t grid_size[3]) in fill_grid_size() 1338 grid_size[0] = info->grid[0]; in fill_grid_size() 1339 grid_size[1] = info->grid[1]; in fill_grid_size() [all …]
|
D | lp_screen.c | 471 uint64_t *grid_size = ret; in llvmpipe_get_compute_param() local 472 grid_size[0] = 65535; in llvmpipe_get_compute_param() 473 grid_size[1] = 65535; in llvmpipe_get_compute_param() 474 grid_size[2] = 65535; in llvmpipe_get_compute_param()
|
/third_party/mesa3d/src/gallium/frontends/clover/api/ |
D | kernel.cpp | 269 auto grid_size = range(d_grid_size, dims); in validate_grid_size() local 274 return grid_size; in validate_grid_size() 290 auto grid_size = range(d_grid_size, dims); in validate_block_size() local 299 if (any_of(modulus(), grid_size, block_size)) in validate_block_size() 309 return kern.optimal_block_size(q, grid_size); in validate_block_size() 323 auto grid_size = validate_grid_size(q, dims, d_grid_size); in clEnqueueNDRangeKernel() local 333 kern.launch(q, grid_offset, grid_size, block_size); in clEnqueueNDRangeKernel()
|
/third_party/mindspore/tests/st/model_zoo_tests/yolov3_darknet53/src/ |
D | yolo.py | 201 grid_size = P.Shape()(x)[2:4] 207 grid_size[0], 208 grid_size[1])) 211 range_x = range(grid_size[1]) 212 range_y = range(grid_size[0]) 217 grid_x = self.tile(self.reshape(grid_x, (1, 1, -1, 1, 1)), (1, grid_size[0], 1, 1, 1)) 218 grid_y = self.tile(self.reshape(grid_y, (1, -1, 1, 1, 1)), (1, 1, grid_size[1], 1, 1)) 229 …box_xy = (self.sigmoid(box_xy) + grid) / P.Cast()(F.tuple_to_array((grid_size[1], grid_size[0])), …
|
/third_party/mindspore/tests/st/model_zoo_tests/yolov3/src/ |
D | yolov3.py | 420 grid_size = P.Shape()(x)[2:4] 426 grid_size[0], 427 grid_size[1])) 430 range_x = range(grid_size[1]) 431 range_y = range(grid_size[0]) 435 grid_x = self.tile(self.reshape(grid_x, (1, 1, -1, 1, 1)), (1, grid_size[0], 1, 1, 1)) 436 grid_y = self.tile(self.reshape(grid_y, (1, -1, 1, 1, 1)), (1, 1, grid_size[1], 1, 1)) 445 …box_xy = (self.sigmoid(box_xy) + grid) / P.Cast()(F.tuple_to_array((grid_size[1], grid_size[0])), …
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
D | kernel.cpp | 65 const std::vector<size_t> &grid_size, in launch() argument 69 map(divides(), grid_size, block_size); in launch() 71 if (any_of(is_zero(), grid_size)) in launch() 98 info.work_dim = grid_size.size(); in launch() 143 const std::vector<size_t> &grid_size) const { in optimal_block_size() 144 if (any_of(is_zero(), grid_size)) in optimal_block_size() 145 return grid_size; in optimal_block_size() 149 grid_size); in optimal_block_size()
|
D | kernel.hpp | 131 const std::vector<size_t> &grid_size, 141 const std::vector<size_t> &grid_size) const;
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/vert/ |
D | no_stage_out.for-tess.vert | 16 …obalInvocationID [[thread_position_in_grid]], uint3 spvStageInputSize [[grid_size]], uint3 spvDisp…
|
D | basic.for-tess.vert | 23 …obalInvocationID [[thread_position_in_grid]], uint3 spvStageInputSize [[grid_size]], device main0_…
|
D | leaf-function.for-tess.vert | 32 …obalInvocationID [[thread_position_in_grid]], uint3 spvStageInputSize [[grid_size]], device main0_…
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/vert/ |
D | no_stage_out.for-tess.vert | 16 …obalInvocationID [[thread_position_in_grid]], uint3 spvStageInputSize [[grid_size]], uint3 spvDisp…
|
D | basic.for-tess.vert | 23 …obalInvocationID [[thread_position_in_grid]], uint3 spvStageInputSize [[grid_size]], device main0_…
|
D | leaf-function.for-tess.vert | 23 …obalInvocationID [[thread_position_in_grid]], uint3 spvStageInputSize [[grid_size]], device main0_…
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/desktop-only/vert/ |
D | shader-draw-parameters.desktop.for-tess.vert | 11 …obalInvocationID [[thread_position_in_grid]], uint3 spvStageInputSize [[grid_size]], uint3 spvDisp…
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/desktop-only/vert/ |
D | shader-draw-parameters.desktop.for-tess.vert | 11 …obalInvocationID [[thread_position_in_grid]], uint3 spvStageInputSize [[grid_size]], uint3 spvDisp…
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/masking/ |
D | write-outputs-block.mask-location-0.for-tess.vert | 22 …obalInvocationID [[thread_position_in_grid]], uint3 spvStageInputSize [[grid_size]], device main0_…
|
D | write-outputs-block.mask-location-1.for-tess.vert | 22 …obalInvocationID [[thread_position_in_grid]], uint3 spvStageInputSize [[grid_size]], device main0_…
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/masking/ |
D | write-outputs-block.mask-location-0.for-tess.vert | 22 …obalInvocationID [[thread_position_in_grid]], uint3 spvStageInputSize [[grid_size]], device main0_…
|
D | write-outputs-block.mask-location-1.for-tess.vert | 22 …obalInvocationID [[thread_position_in_grid]], uint3 spvStageInputSize [[grid_size]], device main0_…
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/ |
D | bias_add_grad_impl.cu | 159 dim3 grid_size(block_num_x, block_num_y, 1); in CalBiasAddGradNHWC() local 163 BiasAddGradNHWC<<<grid_size, block_size, 0, cuda_stream>>>(dy, db, rows, bias_size, in CalBiasAddGradNHWC()
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/vert/ |
D | cull-distance.for-tess.vert | 53 …obalInvocationID [[thread_position_in_grid]], uint3 spvStageInputSize [[grid_size]], device main0_…
|