Home
last modified time | relevance | path

Searched refs:local_x (Results 1 – 25 of 246) sorted by relevance

12345678910

/dports/lang/pocl/pocl-1.8/lib/CL/
H A DclEnqueueNDRangeKernel.c61 size_t local_x, local_y, local_z; in POname() local
64 local_x = local_y = local_z = 0; in POname()
144 local_x = local_work_size[0]; in POname()
152 POCL_RETURN_ERROR_ON((local_x > max_local_x), in POname()
170 POCL_RETURN_ERROR_COND((global_x % local_x != 0), in POname()
216 (unsigned)(global_x / local_x), in POname()
220 assert (local_x * local_y * local_z <= max_group_size); in POname()
221 assert (local_x <= max_local_x); in POname()
226 assert (global_x % local_x == 0); in POname()
294 command_node->command.run.pc.local_size[0] = local_x; in POname()
[all …]
/dports/lang/pocl/pocl-1.8/lib/CL/devices/
H A Dpocl_local_size.c69 size_t *local_x, size_t *local_y, in pocl_default_local_size_optimizer() argument
131 *local_x = upper_divisor (global_x / grain_x, max_local_x / grain_x); in pocl_default_local_size_optimizer()
132 *local_x *= grain_x; in pocl_default_local_size_optimizer()
167 while (*local_x * *local_y * *local_z > max_group_size) in pocl_default_local_size_optimizer()
246 size_t nwg_x = global_x / *local_x; in pocl_default_local_size_optimizer()
309 size_t *local_x, size_t *local_y, in pocl_wg_utilization_maximizer() argument
313 *local_x = *local_y = *local_z = 1; in pocl_wg_utilization_maximizer()
318 *local_x = max_group_size; in pocl_wg_utilization_maximizer()
328 for (size_t z_c = 1; *local_x * *local_y * *local_z < max_group_size in pocl_wg_utilization_maximizer()
339 && x_c * y_c * z_c > *local_x * *local_y * *local_z) in pocl_wg_utilization_maximizer()
[all …]
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/box2d/glui/
H A Dglui.h809 …virtual int mouse_down_handler( int local_x, int local_y ) { local_x; local_y; ret… in mouse_down_handler() argument
810 …virtual int mouse_up_handler( int local_x, int local_y, bool inside ) { local_x; local_y; in… in mouse_up_handler() argument
811 …virtual int mouse_held_down_handler( int local_x, int local_y, bool inside) { local_x; local_y; in… in mouse_held_down_handler() argument
943 int mouse_down_handler( int local_x, int local_y );
994 int mouse_down_handler( int local_x, int local_y );
1211 int mouse_down_handler( int local_x, int local_y );
1272 int mouse_down_handler( int local_x, int local_y );
1582 int mouse_down_handler( int local_x, int local_y );
1773 int mouse_down_handler( int local_x, int local_y );
1888 int find_arrow( int local_x, int local_y );
[all …]
H A Dglui_mouse_iaction.cpp36 int GLUI_Mouse_Interaction::mouse_down_handler( int local_x, int local_y ) in mouse_down_handler() argument
41 iaction_mouse_down_handler( local_x-x_abs, local_y-y_abs ); in mouse_down_handler()
51 int GLUI_Mouse_Interaction::mouse_up_handler( int local_x, int local_y, bool inside ) in mouse_up_handler() argument
53 iaction_mouse_up_handler( local_x-x_abs, local_y-y_abs, inside ); in mouse_up_handler()
60 int GLUI_Mouse_Interaction::mouse_held_down_handler( int local_x, int local_y, in mouse_held_down_handler() argument
63 iaction_mouse_held_down_handler( local_x-x_abs, local_y-y_abs , inside ); in mouse_held_down_handler()
H A Dglui_spinner.cpp149 int GLUI_Spinner::mouse_down_handler( int local_x, int local_y ) in mouse_down_handler() argument
151 this->state = find_arrow( local_x, local_y ); in mouse_down_handler()
183 int GLUI_Spinner::mouse_up_handler( int local_x, int local_y, bool inside ) in mouse_up_handler() argument
204 int GLUI_Spinner::mouse_held_down_handler( int local_x, int local_y, in mouse_held_down_handler() argument
217 do_drag( local_x, local_y ); in mouse_held_down_handler()
220 new_state = find_arrow( local_x, local_y ); in mouse_held_down_handler()
243 last_x = local_x; in mouse_held_down_handler()
390 int GLUI_Spinner::find_arrow( int local_x, int local_y ) in find_arrow() argument
392 local_x -= x_abs; in find_arrow()
395 if ( local_x >= (w - GLUI_SPINNER_ARROW_WIDTH) AND in find_arrow()
[all …]
H A Dglui_scrollbar.cpp162 int GLUI_Scrollbar::mouse_down_handler( int local_x, int local_y ) in mouse_down_handler() argument
165 this->state = find_arrow( local_x, local_y ); in mouse_down_handler()
230 int GLUI_Scrollbar::mouse_held_down_handler( int local_x, int local_y, in mouse_held_down_handler() argument
242 do_drag( local_x-x_abs, local_y-y_abs ); in mouse_held_down_handler()
245 new_state = find_arrow( local_x, local_y ); in mouse_held_down_handler()
537 int GLUI_Scrollbar::find_arrow( int local_x, int local_y ) in find_arrow() argument
540 local_x = local_x-x_abs; in find_arrow()
548 if ( local_x >= 0 AND local_x <= (GLUI_SCROLL_ARROW_WIDTH+box_start_position) ) in find_arrow()
552 if ( local_x >= (GLUI_SCROLL_ARROW_WIDTH+box_end_position) in find_arrow()
553 AND local_x <= (w+GLUI_SCROLL_ARROW_WIDTH) ) in find_arrow()
[all …]
/dports/audio/faust/faust-2.37.3/tools/physicalModeling/mesh2faust/vega/libraries/glui/glui-2.35/src/include/GL/
H A Dglui.h969 int mouse_down_handler( int local_x, int local_y );
1020 int mouse_down_handler( int local_x, int local_y );
1237 int mouse_down_handler( int local_x, int local_y );
1298 int mouse_down_handler( int local_x, int local_y );
1609 int mouse_down_handler( int local_x, int local_y );
1806 int mouse_down_handler( int local_x, int local_y );
1910 int mouse_down_handler( int local_x, int local_y );
1926 int find_arrow( int local_x, int local_y );
2027 int mouse_down_handler( int local_x, int local_y );
2147 int mouse_down_handler( int local_x, int local_y );
[all …]
/dports/devel/glui/glui-2.36/src/include/GL/
H A Dglui.h973 int mouse_down_handler( int local_x, int local_y );
1024 int mouse_down_handler( int local_x, int local_y );
1241 int mouse_down_handler( int local_x, int local_y );
1302 int mouse_down_handler( int local_x, int local_y );
1612 int mouse_down_handler( int local_x, int local_y );
1811 int mouse_down_handler( int local_x, int local_y );
1911 int mouse_down_handler( int local_x, int local_y );
1926 int find_arrow( int local_x, int local_y );
2025 int mouse_down_handler( int local_x, int local_y );
2145 int mouse_down_handler( int local_x, int local_y );
[all …]
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/bullet/Extras/glui/GL/
H A Dglui.h913 …virtual int mouse_down_handler( int local_x, int local_y ) { (void)local_x; (void)… in mouse_down_handler() argument
914 …virtual int mouse_up_handler( int local_x, int local_y, bool inside ) { (void)local_x; (void… in mouse_up_handler() argument
915 …virtual int mouse_held_down_handler( int local_x, int local_y, bool inside) { (void)local_x; (void… in mouse_held_down_handler() argument
1049 int mouse_down_handler( int local_x, int local_y );
1100 int mouse_down_handler( int local_x, int local_y );
1331 int mouse_down_handler( int local_x, int local_y );
1397 int mouse_down_handler( int local_x, int local_y );
1716 int mouse_down_handler( int local_x, int local_y );
1913 int mouse_down_handler( int local_x, int local_y );
2028 int find_arrow( int local_x, int local_y );
[all …]
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_compute_variable_group_size/
H A Dlocal-size.c44 static uint32_t local_x = 0, local_y = 0, local_z = 0; variable
105 uint32_t expected = local_x * local_y * local_z; in check_result()
119 local_x, local_y, local_z); in check_result()
136 if (local_x == 0 || local_y == 0 || local_z == 0) in run_test()
147 local_x, local_y, local_z); in run_test()
163 local_x = 0; in clear_program()
174 if (local_x == x && local_y == y && in build_program_for_size()
186 local_x = x; in build_program_for_size()
/dports/games/vkquake/vkQuake-1.12.2/Shaders/
H A Dscreen_effects.inc86 const uint pos_x = (gl_WorkGroupID.x * tile_size_x) + local_x;
89 const uint local_x = gl_LocalInvocationID.x;
135 const uint local_idx = local_x + (local_y * tile_size_x);
143 const uint shared_mem_idx = (local_x / 2) + ((local_y / 2) * (tile_size_x / 2));
175 if ((local_x < 4) && (local_y == 0))
177 group_red[local_x] = 0;
178 group_green[local_x] = 0;
179 group_blue[local_x] = 0;
183 if (((local_x & 0x1)==0) && ((local_y & 0x1)==0))
217 if ((local_x == 0) && (local_y == 0))
[all …]
/dports/audio/faust/faust-2.37.3/tools/physicalModeling/mesh2faust/vega/libraries/glui/glui-2.35/src/
H A Dglui_mouse_iaction.cpp36 int GLUI_Mouse_Interaction::mouse_down_handler( int local_x, int local_y ) in mouse_down_handler() argument
41 iaction_mouse_down_handler( local_x-x_abs, local_y-y_abs ); in mouse_down_handler()
51 int GLUI_Mouse_Interaction::mouse_up_handler( int local_x, int local_y, bool inside ) in mouse_up_handler() argument
53 iaction_mouse_up_handler( local_x-x_abs, local_y-y_abs, inside ); in mouse_up_handler()
60 int GLUI_Mouse_Interaction::mouse_held_down_handler( int local_x, int local_y, in mouse_held_down_handler() argument
63 iaction_mouse_held_down_handler( local_x-x_abs, local_y-y_abs , inside ); in mouse_held_down_handler()
H A Dglui_spinner.cpp160 int GLUI_Spinner::mouse_down_handler( int local_x, int local_y ) in mouse_down_handler() argument
162 this->state = find_arrow( local_x, local_y ); in mouse_down_handler()
194 int GLUI_Spinner::mouse_up_handler( int local_x, int local_y, bool inside ) in mouse_up_handler() argument
215 int GLUI_Spinner::mouse_held_down_handler( int local_x, int local_y, in mouse_held_down_handler() argument
228 do_drag( local_x, local_y ); in mouse_held_down_handler()
231 new_state = find_arrow( local_x, local_y ); in mouse_held_down_handler()
254 last_x = local_x; in mouse_held_down_handler()
411 int GLUI_Spinner::find_arrow( int local_x, int local_y ) in find_arrow() argument
413 local_x -= x_abs; in find_arrow()
416 if ( local_x >= (w - GLUI_SPINNER_ARROW_WIDTH) AND in find_arrow()
[all …]
H A Dglui_scrollbar.cpp162 int GLUI_Scrollbar::mouse_down_handler( int local_x, int local_y ) in mouse_down_handler() argument
165 this->state = find_arrow( local_x, local_y ); in mouse_down_handler()
230 int GLUI_Scrollbar::mouse_held_down_handler( int local_x, int local_y, in mouse_held_down_handler() argument
242 do_drag( local_x-x_abs, local_y-y_abs ); in mouse_held_down_handler()
245 new_state = find_arrow( local_x, local_y ); in mouse_held_down_handler()
537 int GLUI_Scrollbar::find_arrow( int local_x, int local_y ) in find_arrow() argument
540 local_x = local_x-x_abs; in find_arrow()
548 if ( local_x >= 0 AND local_x <= (GLUI_SCROLL_ARROW_WIDTH+box_start_position) ) in find_arrow()
552 if ( local_x >= (GLUI_SCROLL_ARROW_WIDTH+box_end_position) in find_arrow()
553 AND local_x <= (w+GLUI_SCROLL_ARROW_WIDTH) ) in find_arrow()
[all …]
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/bullet/Extras/glui/
H A Dglui_mouse_iaction.cpp36 int GLUI_Mouse_Interaction::mouse_down_handler( int local_x, int local_y ) in mouse_down_handler() argument
41 iaction_mouse_down_handler( local_x-x_abs, local_y-y_abs ); in mouse_down_handler()
51 int GLUI_Mouse_Interaction::mouse_up_handler( int local_x, int local_y, bool inside ) in mouse_up_handler() argument
53 iaction_mouse_up_handler( local_x-x_abs, local_y-y_abs, inside ); in mouse_up_handler()
60 int GLUI_Mouse_Interaction::mouse_held_down_handler( int local_x, int local_y, in mouse_held_down_handler() argument
63 iaction_mouse_held_down_handler( local_x-x_abs, local_y-y_abs , inside ); in mouse_held_down_handler()
H A Dglui_spinner.cpp132 int GLUI_Spinner::mouse_down_handler( int local_x, int local_y ) in mouse_down_handler() argument
134 this->state = find_arrow( local_x, local_y ); in mouse_down_handler()
166 int GLUI_Spinner::mouse_up_handler( int local_x, int local_y, bool inside ) in mouse_up_handler() argument
187 int GLUI_Spinner::mouse_held_down_handler( int local_x, int local_y, in mouse_held_down_handler() argument
200 do_drag( local_x, local_y ); in mouse_held_down_handler()
203 new_state = find_arrow( local_x, local_y ); in mouse_held_down_handler()
226 last_x = local_x; in mouse_held_down_handler()
373 int GLUI_Spinner::find_arrow( int local_x, int local_y ) in find_arrow() argument
375 local_x -= x_abs; in find_arrow()
378 if ( local_x >= (w - GLUI_SPINNER_ARROW_WIDTH) AND in find_arrow()
[all …]
H A Dglui_scrollbar.cpp162 int GLUI_Scrollbar::mouse_down_handler( int local_x, int local_y ) in mouse_down_handler() argument
165 this->state = find_arrow( local_x, local_y ); in mouse_down_handler()
230 int GLUI_Scrollbar::mouse_held_down_handler( int local_x, int local_y, in mouse_held_down_handler() argument
242 do_drag( local_x-x_abs, local_y-y_abs ); in mouse_held_down_handler()
245 new_state = find_arrow( local_x, local_y ); in mouse_held_down_handler()
537 int GLUI_Scrollbar::find_arrow( int local_x, int local_y ) in find_arrow() argument
540 local_x = local_x-x_abs; in find_arrow()
548 if ( local_x >= 0 AND local_x <= (GLUI_SCROLL_ARROW_WIDTH+box_start_position) ) in find_arrow()
552 if ( local_x >= (GLUI_SCROLL_ARROW_WIDTH+box_end_position) in find_arrow()
553 AND local_x <= (w+GLUI_SCROLL_ARROW_WIDTH) ) in find_arrow()
[all …]
/dports/devel/glui/glui-2.36/src/
H A Dglui_mouse_iaction.cpp38 int GLUI_Mouse_Interaction::mouse_down_handler( int local_x, int local_y ) in mouse_down_handler() argument
43 iaction_mouse_down_handler( local_x-x_abs, local_y-y_abs ); in mouse_down_handler()
53 int GLUI_Mouse_Interaction::mouse_up_handler( int local_x, int local_y, bool inside ) in mouse_up_handler() argument
55 iaction_mouse_up_handler( local_x-x_abs, local_y-y_abs, inside ); in mouse_up_handler()
62 int GLUI_Mouse_Interaction::mouse_held_down_handler( int local_x, int local_y, in mouse_held_down_handler() argument
65 iaction_mouse_held_down_handler( local_x-x_abs, local_y-y_abs , inside ); in mouse_held_down_handler()
H A Dglui_spinner.cpp132 int GLUI_Spinner::mouse_down_handler( int local_x, int local_y ) in mouse_down_handler() argument
134 this->state = find_arrow( local_x, local_y ); in mouse_down_handler()
166 int GLUI_Spinner::mouse_up_handler( int local_x, int local_y, bool inside ) in mouse_up_handler() argument
187 int GLUI_Spinner::mouse_held_down_handler( int local_x, int local_y, in mouse_held_down_handler() argument
200 do_drag( local_x, local_y ); in mouse_held_down_handler()
203 new_state = find_arrow( local_x, local_y ); in mouse_held_down_handler()
226 last_x = local_x; in mouse_held_down_handler()
373 int GLUI_Spinner::find_arrow( int local_x, int local_y ) in find_arrow() argument
375 local_x -= x_abs; in find_arrow()
378 if ( local_x >= (w - GLUI_SPINNER_ARROW_WIDTH) AND in find_arrow()
[all …]
H A Dglui_scrollbar.cpp174 int GLUI_Scrollbar::mouse_down_handler( int local_x, int local_y ) in mouse_down_handler() argument
177 this->state = find_arrow( local_x, local_y ); in mouse_down_handler()
242 int GLUI_Scrollbar::mouse_held_down_handler( int local_x, int local_y, in mouse_held_down_handler() argument
254 do_drag( local_x-x_abs, local_y-y_abs ); in mouse_held_down_handler()
257 new_state = find_arrow( local_x, local_y ); in mouse_held_down_handler()
549 int GLUI_Scrollbar::find_arrow( int local_x, int local_y ) in find_arrow() argument
552 local_x = local_x-x_abs; in find_arrow()
560 if ( local_x >= 0 AND local_x <= (GLUI_SCROLL_ARROW_WIDTH+box_start_position) ) in find_arrow()
564 if ( local_x >= (GLUI_SCROLL_ARROW_WIDTH+box_end_position) in find_arrow()
565 AND local_x <= (w+GLUI_SCROLL_ARROW_WIDTH) ) in find_arrow()
[all …]
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_compute_shader/
H A Dcs-ids-common.c38 static uint32_t local_x = 0, local_y = 0, local_z = 0; variable
98 local_x = 0; in clear_program()
163 xs = local_x; in cs_ids_confirm_size()
217 if (local_x == x && local_y == y && in build_program_for_size()
237 local_x = x; in build_program_for_size()
302 local_x, local_y, local_z, in cs_ids_run_test_without_check()
305 if (local_x == 0 || local_y == 0 || local_z == 0) { in cs_ids_run_test_without_check()
418 uint32_t x = local_x, y = local_y, z = local_z; in cs_ids_set_local_id_test()
430 uint32_t x = local_x, y = local_y, z = local_z; in cs_ids_set_global_id_test()
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/osgEarth/
H A DIntersectionPicker.cpp59 float local_x, local_y = 0.0; in pick() local
60 const osg::Camera* camera = _view->getCameraContainingPosition(x, y, local_x, local_y); in pick()
95 osg::Vec3d startLocal(local_x, local_y, 0.0); in pick()
98 osg::Vec3d endLocal(local_x, local_y, 1.0); in pick()
101 osg::Vec3d bufferLocal(local_x + buffer_x, local_y + buffer_y, 0.0); in pick()
107 << "local_x:" << local_x << ", local_y:" << local_y in pick()
118 …ort() ? osgUtil::Intersector::WINDOW : osgUtil::Intersector::PROJECTION, local_x, local_y, _buffer… in pick()
/dports/graphics/opencv/opencv-4.5.3/modules/dnn/src/opencl/
H A Dgemm_buffer.cl127 const int local_x = get_local_id(0);
420 const int local_x = get_local_id(0);
580 output = (local_x == 0) ? _dot.s0 : output; \
581 output = (local_x == 1) ? _dot.s1 : output; \
582 output = (local_x == 2) ? _dot.s2 : output; \
583 output = (local_x == 3) ? _dot.s3 : output; \
584 output = (local_x == 4) ? _dot.s4 : output; \
585 output = (local_x == 5) ? _dot.s5 : output; \
586 output = (local_x == 6) ? _dot.s6 : output; \
587 output = (local_x == 7) ? _dot.s7 : output; \
[all …]
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/gallium/drivers/softpipe/
H A Dsp_compute.c40 int local_x, int local_y, int local_z, in cs_prepare() argument
58 machine->SystemValue[i].xyzw[0].i[j] = local_x + j; in cs_prepare()
174 int local_x, local_y, local_z, i; in softpipe_launch_grid() local
201 for (local_x = 0; local_x < bwidth; local_x += TGSI_QUAD_SIZE) { in softpipe_launch_grid()
206 machines[idx]->NonHelperMask = (1 << (MIN2(TGSI_QUAD_SIZE, bwidth - local_x))) - 1; in softpipe_launch_grid()
208 local_x, local_y, local_z, in softpipe_launch_grid()
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/mkldnn/src/gpu/ocl/
H A Dgen9_conv_nhwc_bwd_weights_f32.cl48 const int local_x = get_local_id(0);
49 return (local_x < tail) ? ptr[local_x] : 0.0f;
59 const int local_x = get_local_id(0);
60 return (local_x < tail) ? ptr[local_x] : 0.0f;
82 const int local_x = get_local_id(0);
125 diff_bias += g * OC_WO_PADDING + oc * OC_BLOCK + local_x;
212 if (local_x < IC) {
265 if (do_bias && oc * OC_BLOCK + local_x < (IS_DW ? G : OC_WO_PADDING))
274 atomic_add_global(diff_wei + i * OC_BLOCK + local_x, blockC00[i]);
278 atomic_add_global(diff_wei + local_x, blockC00);
[all …]

12345678910