/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_compute.c | 76 const unsigned *local_size = info->block; in cs_program_emit() local 90 if ((local_size[0] * local_size[1] * local_size[2]) < 512) { in cs_program_emit() 188 const unsigned *local_size = info->block; // v->shader->nir->info->cs.local_size; in fd5_launch_grid() local 194 A5XX_HLSQ_CS_NDRANGE_0_LOCALSIZEX(local_size[0] - 1) | in fd5_launch_grid() 195 A5XX_HLSQ_CS_NDRANGE_0_LOCALSIZEY(local_size[1] - 1) | in fd5_launch_grid() 196 A5XX_HLSQ_CS_NDRANGE_0_LOCALSIZEZ(local_size[2] - 1)); in fd5_launch_grid() 197 OUT_RING(ring, A5XX_HLSQ_CS_NDRANGE_1_GLOBALSIZE_X(local_size[0] * num_groups[0])); in fd5_launch_grid() 199 OUT_RING(ring, A5XX_HLSQ_CS_NDRANGE_3_GLOBALSIZE_Y(local_size[1] * num_groups[1])); in fd5_launch_grid() 201 OUT_RING(ring, A5XX_HLSQ_CS_NDRANGE_5_GLOBALSIZE_Z(local_size[2] * num_groups[2])); in fd5_launch_grid() 217 OUT_RING(ring, A5XX_CP_EXEC_CS_INDIRECT_3_LOCALSIZEX(local_size[0] - 1) | in fd5_launch_grid() [all …]
|
/external/pcre/dist2/src/sljit/ |
D | sljitNativeX86_32.c | 70 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter() argument 76 …ljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter() 77 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter() 171 local_size = ((SLJIT_LOCALS_OFFSET + saveds + local_size + 15) & ~15) - saveds; in sljit_emit_enter() 174 …local_size = SLJIT_LOCALS_OFFSET + ((local_size + sizeof(sljit_f64) - 1) & ~(sizeof(sljit_f64) - 1… in sljit_emit_enter() 176 …local_size = SLJIT_LOCALS_OFFSET + ((local_size + sizeof(sljit_sw) - 1) & ~(sizeof(sljit_sw) - 1)); in sljit_emit_enter() 179 compiler->local_size = local_size; in sljit_emit_enter() 182 if (local_size > 0) { in sljit_emit_enter() 183 if (local_size <= 4 * 4096) { in sljit_emit_enter() 184 if (local_size > 4096) in sljit_emit_enter() [all …]
|
D | sljitNativeX86_64.c | 129 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter() argument 135 …ljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter() 136 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter() 223 …local_size = ((local_size + SLJIT_LOCALS_OFFSET + saved_register_size + 15) & ~15) - saved_registe… in sljit_emit_enter() 224 compiler->local_size = local_size; in sljit_emit_enter() 227 if (local_size > 0) { in sljit_emit_enter() 228 if (local_size <= 4 * 4096) { in sljit_emit_enter() 229 if (local_size > 4096) in sljit_emit_enter() 231 if (local_size > 2 * 4096) in sljit_emit_enter() 233 if (local_size > 3 * 4096) in sljit_emit_enter() [all …]
|
D | sljitNativeARM_64.c | 911 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter() argument 916 …ljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter() 917 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter() 923 local_size = (local_size + 15) & ~0xf; in sljit_emit_enter() 924 compiler->local_size = local_size + saved_regs_size; in sljit_emit_enter() 930 if (local_size >= 4096) in sljit_emit_enter() 932 else if (local_size > 256) in sljit_emit_enter() 933 FAIL_IF(push_inst(compiler, SUBI | RD(TMP_REG1) | RN(SLJIT_SP) | (local_size << 10))); in sljit_emit_enter() 975 if (local_size >= 4096) { in sljit_emit_enter() 976 if (local_size < 4 * 4096) { in sljit_emit_enter() [all …]
|
D | sljitNativeARM_T2_32.c | 1061 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter() argument 1070 …ljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter() 1071 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter() 1086 local_size = ((size + local_size + 7) & ~7) - size; in sljit_emit_enter() 1087 compiler->local_size = local_size; in sljit_emit_enter() 1090 if (local_size >= 256) { in sljit_emit_enter() 1091 if (local_size > 4096) in sljit_emit_enter() 1094 imm = get_imm(local_size & ~0xff); in sljit_emit_enter() 1100 if (local_size > 0) { in sljit_emit_enter() 1101 if (local_size <= (127 << 2)) in sljit_emit_enter() [all …]
|
D | sljitNativeMIPS_common.c | 754 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter() argument 760 …ljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter() 761 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter() 763 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds, 1) + SLJIT_LOCALS_OFFSET; in sljit_emit_enter() 765 local_size = (local_size + 15) & ~0xf; in sljit_emit_enter() 767 local_size = (local_size + 31) & ~0x1f; in sljit_emit_enter() 769 compiler->local_size = local_size; in sljit_emit_enter() 771 if (local_size <= SIMM_MAX) { in sljit_emit_enter() 773 …FAIL_IF(push_inst(compiler, ADDIU_W | S(SLJIT_SP) | T(SLJIT_SP) | IMM(-local_size), DR(SLJIT_SP))); in sljit_emit_enter() 775 offs = local_size - (sljit_sw)sizeof(sljit_sw); in sljit_emit_enter() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_compute.c | 173 const unsigned *local_size = info->block; // v->shader->nir->info->cs.local_size; in fd6_launch_grid() local 179 A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEX(local_size[0] - 1) | in fd6_launch_grid() 180 A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEY(local_size[1] - 1) | in fd6_launch_grid() 181 A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEZ(local_size[2] - 1)); in fd6_launch_grid() 182 OUT_RING(ring, A6XX_HLSQ_CS_NDRANGE_1_GLOBALSIZE_X(local_size[0] * num_groups[0])); in fd6_launch_grid() 184 OUT_RING(ring, A6XX_HLSQ_CS_NDRANGE_3_GLOBALSIZE_Y(local_size[1] * num_groups[1])); in fd6_launch_grid() 186 OUT_RING(ring, A6XX_HLSQ_CS_NDRANGE_5_GLOBALSIZE_Z(local_size[2] * num_groups[2])); in fd6_launch_grid() 203 OUT_RING(ring, A5XX_CP_EXEC_CS_INDIRECT_3_LOCALSIZEX(local_size[0] - 1) | in fd6_launch_grid() 204 A5XX_CP_EXEC_CS_INDIRECT_3_LOCALSIZEY(local_size[1] - 1) | in fd6_launch_grid() 205 A5XX_CP_EXEC_CS_INDIRECT_3_LOCALSIZEZ(local_size[2] - 1)); in fd6_launch_grid()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_nir_lower_cs_intrinsics.c | 89 size_x = nir_imm_int(b, nir->info.cs.local_size[0]); in lower_cs_intrinsics_convert_block() 90 size_y = nir_imm_int(b, nir->info.cs.local_size[1]); in lower_cs_intrinsics_convert_block() 170 size = nir_imm_int(b, nir->info.cs.local_size[0] * in lower_cs_intrinsics_convert_block() 171 nir->info.cs.local_size[1] * in lower_cs_intrinsics_convert_block() 172 nir->info.cs.local_size[2]); in lower_cs_intrinsics_convert_block() 225 assert(nir->info.cs.local_size[0] % 2 == 0); in brw_nir_lower_cs_intrinsics() 226 assert(nir->info.cs.local_size[1] % 2 == 0); in brw_nir_lower_cs_intrinsics() 229 nir->info.cs.local_size[0] * in brw_nir_lower_cs_intrinsics() 230 nir->info.cs.local_size[1] * in brw_nir_lower_cs_intrinsics() 231 nir->info.cs.local_size[2]; in brw_nir_lower_cs_intrinsics()
|
/external/google-breakpad/src/processor/ |
D | windows_frame_info.h | 86 local_size(0), in WindowsFrameInfo() 106 local_size(set_local_size), in WindowsFrameInfo() 139 uint32_t local_size = strtoul(tokens[7], NULL, 16); in ParseFromString() local 156 local_size, in ParseFromString() 170 local_size = that.local_size; in CopyFrom() 197 uint32_t local_size; member
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_system_values.c | 285 nir_ssa_def *local_size = nir_load_local_group_size(b); in lower_compute_system_value_instr() local 293 nir_channel(b, local_size, 0)); in lower_compute_system_value_instr() 295 nir_channel(b, local_size, 0)), in lower_compute_system_value_instr() 296 nir_channel(b, local_size, 1)); in lower_compute_system_value_instr() 298 nir_imul(b, nir_channel(b, local_size, 0), in lower_compute_system_value_instr() 299 nir_channel(b, local_size, 1))); in lower_compute_system_value_instr() 320 nir_imm_int(b, b->shader->info.cs.local_size[0]); in lower_compute_system_value_instr() 322 nir_imm_int(b, b->shader->info.cs.local_size[1]); in lower_compute_system_value_instr() 351 local_size_const[0].u32 = b->shader->info.cs.local_size[0]; in lower_compute_system_value_instr() 352 local_size_const[1].u32 = b->shader->info.cs.local_size[1]; in lower_compute_system_value_instr() [all …]
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cComputeShaderTests.cpp | 752 std::string GenSource(const uvec3& local_size, const uvec3& num_groups) in GenSource() argument 754 const uvec3 global_size = local_size * num_groups; in GenSource() 756 ss << NL "layout(local_size_x = " << local_size.x() << ", local_size_y = " << local_size.y() in GenSource() 757 …<< ", local_size_z = " << local_size.z() << ") in;" NL "const uvec3 kGlobalSize = uvec3(" << globa… in GenSource() 792 bool RunIteration(const uvec3& local_size, const uvec3& num_groups, bool dispatch_indirect) in RunIteration() argument 796 m_program = CreateComputeProgram(GenSource(local_size, num_groups)); in RunIteration() 810 …local_size.x() * num_groups.x() * local_size.y() * num_groups.y() * local_size.z() * num_groups.z(… in RunIteration() 853 for (GLuint z = 0; z < local_size.z() * num_groups.z(); ++z) in RunIteration() 855 for (GLuint y = 0; y < local_size.y() * num_groups.y(); ++y) in RunIteration() 857 for (GLuint x = 0; x < local_size.x() * num_groups.x(); ++x) in RunIteration() [all …]
|
/external/llvm-project/mlir/test/Conversion/GPUToSPIRV/ |
D | builtins.mlir | 15 attributes {spv.entry_point_abi = {local_size = dense<[16, 1, 1]>: vector<3xi32>}} { 39 attributes {spv.entry_point_abi = {local_size = dense<[16, 1, 1]>: vector<3xi32>}} { 63 attributes {spv.entry_point_abi = {local_size = dense<[16, 1, 1]>: vector<3xi32>}} { 86 attributes {spv.entry_point_abi = {local_size = dense<[32, 1, 1]>: vector<3xi32>}} { 111 attributes {spv.entry_point_abi = {local_size = dense<[32, 4, 1]>: vector<3xi32>}} { 133 attributes {spv.entry_point_abi = {local_size = dense<[32, 4, 1]>: vector<3xi32>}} { 156 attributes {spv.entry_point_abi = {local_size = dense<[16, 1, 1]>: vector<3xi32>}} { 180 attributes {spv.entry_point_abi = {local_size = dense<[16, 1, 1]>: vector<3xi32>}} { 197 attributes {spv.entry_point_abi = {local_size = dense<[16, 1, 1]>: vector<3xi32>}} { 213 attributes {spv.entry_point_abi = {local_size = dense<[16, 1, 1]>: vector<3xi32>}} { [all …]
|
D | simple.mlir | 9 // CHECK-SAME: spv.entry_point_abi = {local_size = dense<[32, 4, 1]> : vector<3xi32>} 11 attributes {spv.entry_point_abi = {local_size = dense<[32, 4, 1]>: vector<3xi32>}} { 38 // CHECK-SAME: spv.entry_point_abi = {local_size = dense<[32, 4, 1]> : vector<3xi32>} 45 {spv.entry_point_abi = {local_size = dense<[32, 4, 1]>: vector<3xi32>}} { 85 {spv.entry_point_abi = {local_size = dense<[32, 4, 1]>: vector<3xi32>}} { 102 {spv.entry_point_abi = {local_size = dense<[32, 4, 1]>: vector<3xi32>}} {
|
D | test_spirv_entry_point.mlir | 5 // DEFAULT-SAME: spv.entry_point_abi = {local_size = dense<1> : vector<3xi32>} 8 // WG32-SAME: spv.entry_point_abi = {local_size = dense<[32, 1, 1]> : vector<3xi32>}
|
/external/llvm-project/libclc/amdgcn-amdhsa/lib/workitem/ |
D | get_num_groups.cl | 6 size_t local_size = get_local_size(dim); 7 size_t num_groups = global_size / local_size; 8 if (global_size % local_size != 0) {
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cComputeShaderTests.cpp | 744 std::string GenSource(const uvec3& local_size, const uvec3& num_groups) in GenSource() argument 746 const uvec3 global_size = local_size * num_groups; in GenSource() 748 ss << NL "layout(local_size_x = " << local_size.x() << ", local_size_y = " << local_size.y() in GenSource() 749 …<< ", local_size_z = " << local_size.z() << ") in;" NL "const uvec3 kGlobalSize = uvec3(" << globa… in GenSource() 784 bool RunIteration(const uvec3& local_size, const uvec3& num_groups, bool dispatch_indirect) in RunIteration() argument 788 m_program = CreateComputeProgram(GenSource(local_size, num_groups)); in RunIteration() 811 …local_size.x() * num_groups.x() * local_size.y() * num_groups.y() * local_size.z() * num_groups.z(… in RunIteration() 852 for (GLuint z = 0; z < local_size.z() * num_groups.z(); ++z) in RunIteration() 854 for (GLuint y = 0; y < local_size.y() * num_groups.y(); ++y) in RunIteration() 856 for (GLuint x = 0; x < local_size.x() * num_groups.x(); ++x) in RunIteration() [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_buffer.c | 14 b.shader->info.cs.local_size[0] = 64; in build_buffer_fill_shader() 15 b.shader->info.cs.local_size[1] = 1; in build_buffer_fill_shader() 16 b.shader->info.cs.local_size[2] = 1; in build_buffer_fill_shader() 21 b.shader->info.cs.local_size[0], in build_buffer_fill_shader() 22 b.shader->info.cs.local_size[1], in build_buffer_fill_shader() 23 b.shader->info.cs.local_size[2], 0); in build_buffer_fill_shader() 62 b.shader->info.cs.local_size[0] = 64; in build_buffer_copy_shader() 63 b.shader->info.cs.local_size[1] = 1; in build_buffer_copy_shader() 64 b.shader->info.cs.local_size[2] = 1; in build_buffer_copy_shader() 69 b.shader->info.cs.local_size[0], in build_buffer_copy_shader() [all …]
|
D | radv_meta_bufimage.c | 49 b.shader->info.cs.local_size[0] = 16; in build_nir_itob_compute_shader() 50 b.shader->info.cs.local_size[1] = 16; in build_nir_itob_compute_shader() 51 b.shader->info.cs.local_size[2] = 1; in build_nir_itob_compute_shader() 65 b.shader->info.cs.local_size[0], in build_nir_itob_compute_shader() 66 b.shader->info.cs.local_size[1], in build_nir_itob_compute_shader() 67 b.shader->info.cs.local_size[2], 0); in build_nir_itob_compute_shader() 278 b.shader->info.cs.local_size[0] = 16; in build_nir_btoi_compute_shader() 279 b.shader->info.cs.local_size[1] = 16; in build_nir_btoi_compute_shader() 280 b.shader->info.cs.local_size[2] = 1; in build_nir_btoi_compute_shader() 294 b.shader->info.cs.local_size[0], in build_nir_btoi_compute_shader() [all …]
|
D | radv_meta_fmask_expand.c | 45 b.shader->info.cs.local_size[0] = 16; in build_fmask_expand_compute_shader() 46 b.shader->info.cs.local_size[1] = 16; in build_fmask_expand_compute_shader() 47 b.shader->info.cs.local_size[2] = 1; in build_fmask_expand_compute_shader() 63 b.shader->info.cs.local_size[0], in build_fmask_expand_compute_shader() 64 b.shader->info.cs.local_size[1], in build_fmask_expand_compute_shader() 65 b.shader->info.cs.local_size[2], 0); in build_fmask_expand_compute_shader()
|
/external/mesa3d/src/freedreno/computerator/ |
D | ir3_asm.c | 41 memcpy(kernel->base.local_size, kernel->info.local_size, sizeof(kernel->base.local_size)); in ir3_asm_assemble()
|
D | a6xx.c | 361 const unsigned *local_size = kernel->local_size; in a6xx_emit_grid() local 373 A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEX(local_size[0] - 1) | in a6xx_emit_grid() 374 A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEY(local_size[1] - 1) | in a6xx_emit_grid() 375 A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEZ(local_size[2] - 1)); in a6xx_emit_grid() 376 OUT_RING(ring, A6XX_HLSQ_CS_NDRANGE_1_GLOBALSIZE_X(local_size[0] * num_groups[0])); in a6xx_emit_grid() 378 OUT_RING(ring, A6XX_HLSQ_CS_NDRANGE_3_GLOBALSIZE_Y(local_size[1] * num_groups[1])); in a6xx_emit_grid() 380 OUT_RING(ring, A6XX_HLSQ_CS_NDRANGE_5_GLOBALSIZE_Z(local_size[2] * num_groups[2])); in a6xx_emit_grid()
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | negativeArraySize.comp.out | 7 local_size = (1, 1, 1) 18 local_size = (1, 1, 1)
|
D | 450.comp.out | 9 local_size = (1, 1, 1) 20 local_size = (1, 1, 1)
|
D | 430.comp.out | 2 ERROR: 0:4: 'local_size' : cannot change previously set size 3 ERROR: 0:5: 'local_size' : too large; see gl_MaxComputeWorkGroupSize 11 ERROR: 0:52: 'local_size' : cannot change previously set size 12 ERROR: 0:54: 'local_size' : can only apply to 'in' 13 ERROR: 0:54: 'local_size' : can only apply to 'in' 14 ERROR: 0:54: 'local_size' : can only apply to 'in' 23 local_size = (2, 1, 4096) 160 local_size = (2, 1, 4096)
|
/external/mesa3d/src/mapi/glapi/gen/ |
D | gl_x86-64_asm.py | 44 def local_size(registers): function 58 adjust_stack = local_size(registers) 69 adjust_stack = local_size(registers)
|