Home
last modified time | relevance | path

Searched refs:num_groups (Results 1 – 25 of 59) sorted by relevance

123

/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_compute.c39 const GLuint *num_groups, in st_dispatch_compute_common() argument
63 info.grid[i] = num_groups ? num_groups[i] : 0; in st_dispatch_compute_common()
75 const GLuint *num_groups) in st_dispatch_compute() argument
77 st_dispatch_compute_common(ctx, num_groups, NULL, NULL, 0); in st_dispatch_compute()
90 const GLuint *num_groups, in st_dispatch_compute_group_size() argument
93 st_dispatch_compute_common(ctx, num_groups, group_size, NULL, 0); in st_dispatch_compute_group_size()
Dst_cb_perfmon.c350 int num_counters, num_groups; in st_InitPerfMonitorGroups() local
357 num_groups = screen->get_driver_query_group_info(screen, 0, NULL); in st_InitPerfMonitorGroups()
358 groups = CALLOC(num_groups, sizeof(*groups)); in st_InitPerfMonitorGroups()
362 stgroups = CALLOC(num_groups, sizeof(*stgroups)); in st_InitPerfMonitorGroups()
366 for (gid = 0; gid < num_groups; gid++) { in st_InitPerfMonitorGroups()
444 for (gid = 0; gid < num_groups; gid++) { in st_InitPerfMonitorGroups()
/third_party/mesa3d/src/mesa/main/
Dcompute.c55 validate_DispatchCompute(struct gl_context *ctx, const GLuint *num_groups) in validate_DispatchCompute() argument
79 if (num_groups[i] > ctx->Const.MaxComputeWorkGroupCount[i]) { in validate_DispatchCompute()
103 const GLuint *num_groups, in validate_DispatchComputeGroupSizeARB() argument
130 if (num_groups[i] > ctx->Const.MaxComputeWorkGroupCount[i]) { in validate_DispatchComputeGroupSizeARB()
286 const GLuint num_groups[3] = { num_groups_x, num_groups_y, num_groups_z }; in dispatch_compute() local
294 if (!no_error && !validate_DispatchCompute(ctx, num_groups)) in dispatch_compute()
300 ctx->Driver.DispatchCompute(ctx, num_groups); in dispatch_compute()
359 const GLuint num_groups[3] = { num_groups_x, num_groups_y, num_groups_z }; in dispatch_compute_group_size() local
371 !validate_DispatchComputeGroupSizeARB(ctx, num_groups, group_size)) in dispatch_compute_group_size()
377 ctx->Driver.DispatchComputeGroupSize(ctx, num_groups, group_size); in dispatch_compute_group_size()
/third_party/ltp/testcases/kernel/sched/cfs-scheduler/
Dhackbench.c295 unsigned int i, j, num_groups = 10, total_children; in main() local
308 if (argc >= 2 && (num_groups = atoi(argv[1])) == 0) in main()
312 num_groups, num_groups * 40); in main()
328 pth_tab = malloc(num_fds * 2 * num_groups * sizeof(pthread_t)); in main()
329 snd_ctx_tab = malloc(num_groups * sizeof(void *)); in main()
330 rev_ctx_tab = malloc(num_groups * num_fds * sizeof(void *)); in main()
338 for (i = 0; i < num_groups; i++) in main()
365 for (i = 0; i < num_groups; i++) { in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/
Drpc_authunix_create.c63 int num_groups; in main() local
69 num_groups = getgroups(NGROUPS_MAX, groups); in main()
70 if (num_groups == -1) { in main()
81 authUnx = authunix_create(hostname, uid, gid, num_groups, aup_gids); in main()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_perfcounter.c45 unsigned total = block->num_groups * block->num_selectors; in lookup_counter()
53 *base_gid += block->num_groups; in lookup_counter()
66 if (*index < block->num_groups) in lookup_group()
68 *index -= block->num_groups; in lookup_group()
462 block->group_names = MALLOC(block->num_groups * block->group_name_stride); in r600_init_block_names()
496 block->selector_names = MALLOC(block->num_groups * block->num_selectors * in r600_init_block_names()
503 for (i = 0; i < block->num_groups; ++i) { in r600_init_block_names()
530 pc->blocks[bid].num_groups; in r600_get_perfcounter_info()
551 if (sub > 0 && sub + 1 < block->num_selectors * block->num_groups) in r600_get_perfcounter_info()
567 return pc->num_groups; in r600_get_perfcounter_group_info()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cComputeShaderTests.cpp638 const GLuint num_groups[3] = { 1, 1, 1 }; in RunIteration() local
642 glBufferData(GL_DISPATCH_INDIRECT_BUFFER, sizeof(num_groups), num_groups, GL_STATIC_DRAW); in RunIteration()
746 std::string GenSource(const uvec3& local_size, const uvec3& num_groups) in GenSource() argument
748 const uvec3 global_size = local_size * num_groups; in GenSource()
786 bool RunIteration(const uvec3& local_size, const uvec3& num_groups, bool dispatch_indirect) in RunIteration() argument
790 m_program = CreateComputeProgram(GenSource(local_size, num_groups)); in RunIteration()
804 …local_size.x() * num_groups.x() * local_size.y() * num_groups.y() * local_size.z() * num_groups.z(… in RunIteration()
832 glBufferData(GL_DISPATCH_INDIRECT_BUFFER, sizeof(num_groups), &num_groups[0], GL_STATIC_DRAW); in RunIteration()
837 glDispatchCompute(num_groups.x(), num_groups.y(), num_groups.z()); in RunIteration()
847 for (GLuint z = 0; z < local_size.z() * num_groups.z(); ++z) in RunIteration()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_compute.c99 brw_dispatch_compute(struct gl_context *ctx, const GLuint *num_groups) { in brw_dispatch_compute() argument
103 brw->compute.num_work_groups = num_groups; in brw_dispatch_compute()
132 const GLuint *num_groups, in brw_dispatch_compute_group_size() argument
138 brw->compute.num_work_groups = num_groups; in brw_dispatch_compute_group_size()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cComputeShaderTests.cpp635 const GLuint num_groups[3] = { 1, 1, 1 }; in RunIteration() local
639 glBufferData(GL_DISPATCH_INDIRECT_BUFFER, sizeof(num_groups), num_groups, GL_STATIC_DRAW); in RunIteration()
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()
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()
839 glBufferData(GL_DISPATCH_INDIRECT_BUFFER, sizeof(num_groups), &num_groups[0], GL_STATIC_DRAW); in RunIteration()
844 glDispatchCompute(num_groups.x(), num_groups.y(), num_groups.z()); in RunIteration()
852 for (GLuint z = 0; z < local_size.z() * num_groups.z(); ++z) in RunIteration()
[all …]
/third_party/mesa3d/src/amd/common/
Dac_perfcounter.c1035 unsigned total = block->num_groups * block->b->selectors; in ac_lookup_counter()
1043 *base_gid += block->num_groups; in ac_lookup_counter()
1056 if (*index < block->num_groups) in ac_lookup_group()
1058 *index -= block->num_groups; in ac_lookup_group()
1099 block->group_names = MALLOC(block->num_groups * block->group_name_stride); in ac_init_block_names()
1134 MALLOC(block->num_groups * block->b->selectors * block->selector_name_stride); in ac_init_block_names()
1140 for (i = 0; i < block->num_groups; ++i) { in ac_init_block_names()
1211 block->num_groups = block->num_instances; in ac_init_perfcounters()
1213 block->num_groups = 1; in ac_init_perfcounters()
1217 block->num_groups *= info->max_se; in ac_init_perfcounters()
[all …]
Dac_perfcounter.h140 unsigned num_groups; member
149 unsigned num_groups; member
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttcmap.c1809 FT_UInt32 num_groups; in FT_CALLBACK_DEF() local
1821 num_groups = TT_NEXT_ULONG( p ); in FT_CALLBACK_DEF()
1824 if ( num_groups > (FT_UInt32)( valid->limit - p ) / 12 ) in FT_CALLBACK_DEF()
1832 for ( n = 0; n < num_groups; n++ ) in FT_CALLBACK_DEF()
1909 FT_UInt32 num_groups = TT_NEXT_ULONG( p ); in tt_cmap8_char_index() local
1913 for ( ; num_groups > 0; num_groups-- ) in tt_cmap8_char_index()
1945 FT_UInt32 num_groups = TT_NEXT_ULONG( p ); in tt_cmap8_char_next() local
1956 for ( ; num_groups > 0; num_groups-- ) in tt_cmap8_char_next()
2250 FT_ULong num_groups; member
2262 cmap->num_groups = FT_PEEK_ULONG( table ); in tt_cmap12_init()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/sfnt/
Dttcmap.c1800 FT_UInt32 num_groups; in FT_CALLBACK_DEF() local
1812 num_groups = TT_NEXT_ULONG( p ); in FT_CALLBACK_DEF()
1815 if ( num_groups > (FT_UInt32)( valid->limit - p ) / 12 ) in FT_CALLBACK_DEF()
1823 for ( n = 0; n < num_groups; n++ ) in FT_CALLBACK_DEF()
1900 FT_UInt32 num_groups = TT_NEXT_ULONG( p ); in tt_cmap8_char_index() local
1904 for ( ; num_groups > 0; num_groups-- ) in tt_cmap8_char_index()
1936 FT_UInt32 num_groups = TT_NEXT_ULONG( p ); in tt_cmap8_char_next() local
1947 for ( ; num_groups > 0; num_groups-- ) in tt_cmap8_char_next()
2241 FT_ULong num_groups; member
2253 cmap->num_groups = FT_PEEK_ULONG( table ); in tt_cmap12_init()
[all …]
/third_party/freetype/src/sfnt/
Dttcmap.c1799 FT_UInt32 num_groups; in FT_CALLBACK_DEF() local
1811 num_groups = TT_NEXT_ULONG( p ); in FT_CALLBACK_DEF()
1814 if ( num_groups > (FT_UInt32)( valid->limit - p ) / 12 ) in FT_CALLBACK_DEF()
1822 for ( n = 0; n < num_groups; n++ ) in FT_CALLBACK_DEF()
1899 FT_UInt32 num_groups = TT_NEXT_ULONG( p ); in tt_cmap8_char_index() local
1903 for ( ; num_groups > 0; num_groups-- ) in tt_cmap8_char_index()
1935 FT_UInt32 num_groups = TT_NEXT_ULONG( p ); in tt_cmap8_char_next() local
1946 for ( ; num_groups > 0; num_groups-- ) in tt_cmap8_char_next()
2240 FT_ULong num_groups; member
2252 cmap->num_groups = FT_PEEK_ULONG( table ); in tt_cmap12_init()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_compute.c146 const unsigned *num_groups = info->grid; in fd5_launch_grid() local
155 A5XX_HLSQ_CS_NDRANGE_1_GLOBALSIZE_X(local_size[0] * num_groups[0])); in fd5_launch_grid()
158 A5XX_HLSQ_CS_NDRANGE_3_GLOBALSIZE_Y(local_size[1] * num_groups[1])); in fd5_launch_grid()
161 A5XX_HLSQ_CS_NDRANGE_5_GLOBALSIZE_Z(local_size[2] * num_groups[2])); in fd5_launch_grid()
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_slab.c221 unsigned num_groups; in pb_slabs_init() local
239 num_groups = slabs->num_orders * slabs->num_heaps * in pb_slabs_init()
241 slabs->groups = CALLOC(num_groups, sizeof(*slabs->groups)); in pb_slabs_init()
245 for (i = 0; i < num_groups; ++i) { in pb_slabs_init()
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11keyboard.c215 int num_groups = XkbKeyNumGroups(data->xkb, keycode); in X11_KeyCodeToSym() local
218 if (num_groups && group >= num_groups) { in X11_KeyCodeToSym()
223 if ((group = XkbOutOfRangeGroupNumber(info)) >= num_groups) { in X11_KeyCodeToSym()
227 group = num_groups - 1; in X11_KeyCodeToSym()
229 group %= num_groups; in X11_KeyCodeToSym()
/third_party/mesa3d/src/freedreno/computerator/
Dmain.c123 static unsigned num_groups; variable
132 for (int i = 0; i < num_groups; i++) { in setup_counter()
177 groups = fd_perfcntrs(dev_id, &num_groups); in parse_perfcntrs()
178 enabled_counters = calloc(num_groups, sizeof(enabled_counters[0])); in parse_perfcntrs()
Da4xx.c288 const unsigned *num_groups = grid; in a4xx_emit_grid() local
303 A4XX_HLSQ_CL_NDRANGE_1_SIZE_X(local_size[0] * num_groups[0])); in a4xx_emit_grid()
306 A4XX_HLSQ_CL_NDRANGE_3_SIZE_Y(local_size[1] * num_groups[1])); in a4xx_emit_grid()
309 A4XX_HLSQ_CL_NDRANGE_5_SIZE_Z(local_size[2] * num_groups[2])); in a4xx_emit_grid()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_compute.c154 const unsigned *num_groups = info->grid; in fd6_launch_grid() local
163 A6XX_HLSQ_CS_NDRANGE_1_GLOBALSIZE_X(local_size[0] * num_groups[0])); in fd6_launch_grid()
166 A6XX_HLSQ_CS_NDRANGE_3_GLOBALSIZE_Y(local_size[1] * num_groups[1])); in fd6_launch_grid()
169 A6XX_HLSQ_CS_NDRANGE_5_GLOBALSIZE_Z(local_size[2] * num_groups[2])); in fd6_launch_grid()
Dfd6_emit.h118 unsigned num_groups; member
136 debug_assert(emit->num_groups < ARRAY_SIZE(emit->groups)); in fd6_emit_take_group()
137 struct fd6_state_group *g = &emit->groups[emit->num_groups++]; in fd6_emit_take_group()
/third_party/gstreamer/gstreamer/gst/
Dgstpreset.c311 gsize i, j, num_groups, num_keys; in preset_merge() local
320 groups = g_key_file_get_groups (user, &num_groups); in preset_merge()
321 for (i = 0; i < num_groups; i++) { in preset_merge()
519 gsize i, num_groups; in gst_preset_default_get_preset_names() local
527 if (!(groups = g_key_file_get_groups (presets, &num_groups))) in gst_preset_default_get_preset_names()
531 for (i = 0; i < num_groups; i++) { in gst_preset_default_get_preset_names()
536 num_groups--; in gst_preset_default_get_preset_names()
538 groups[i] = groups[num_groups]; in gst_preset_default_get_preset_names()
539 groups[num_groups] = NULL; in gst_preset_default_get_preset_names()
542 if (!num_groups) { in gst_preset_default_get_preset_names()
[all …]
/third_party/ffmpeg/libavcodec/
Dpsymodel.c33 int num_groups, const uint8_t *group_map) in ff_psy_init() argument
39 ctx->group = av_mallocz_array(sizeof(ctx->group[0]), num_groups); in ff_psy_init()
53 for (i = 0; i < num_groups; i++) { in ff_psy_init()
Dpsymodel.h95 int num_groups; ///< number of channel groups member
159 int num_groups, const uint8_t *group_map);
/third_party/python/Modules/
D_posixsubprocess.c741 Py_ssize_t arg_num, num_groups = 0; in subprocess_fork_exec() local
847 num_groups = PySequence_Size(groups_list); in subprocess_fork_exec()
849 if (num_groups < 0) in subprocess_fork_exec()
852 if (num_groups > MAX_GROUPS) { in subprocess_fork_exec()
857 if ((groups = PyMem_RawMalloc(num_groups * sizeof(gid_t))) == NULL) { in subprocess_fork_exec()
863 for (i = 0; i < num_groups; i++) { in subprocess_fork_exec()
957 call_setgid, gid, call_setgroups, num_groups, groups, in subprocess_fork_exec()

123