Home
last modified time | relevance | path

Searched refs:max_workgroup_size (Results 1 – 14 of 14) sorted by relevance

/external/OpenCL-CTS/test_conformance/thread_dimensions/
Dtest_thread_dimensions.cpp65 size_t max_workgroup_size = 0; in get_maximums() local
80 if (max_workgroup_size == 0) in get_maximums()
81 max_workgroup_size = current_workgroup_size; in get_maximums()
82 else if (current_workgroup_size < max_workgroup_size) in get_maximums()
83 max_workgroup_size = current_workgroup_size; in get_maximums()
112 …(int)max_workgroup_size, (double)(max_allocation/1024.0/1024.0), (double)(max_physical/1024.0/1024… in get_maximums()
113 *max_workgroup_size_result = max_workgroup_size; in get_maximums()
475 size_t max_workgroup_size = 0; in test_thread_dimensions() local
481 &max_workgroup_size, &max_allocation, &max_physical); in test_thread_dimensions()
501 …e is %gMB, max workgroup size is %d.\n", max_memory_size/(1024.0*1024.0), (int)max_workgroup_size); in test_thread_dimensions()
[all …]
/external/OpenCL-CTS/test_conformance/basic/
Dtest_async_copy.cpp121 size_t max_workgroup_size; in test_copy() local
122 …nfo(kernel, deviceID, CL_KERNEL_WORK_GROUP_SIZE, sizeof(max_workgroup_size), &max_workgroup_size, … in test_copy()
130 if (max_workgroup_size > max_local_workgroup_size[0]) in test_copy()
131 max_workgroup_size = max_local_workgroup_size[0]; in test_copy()
145 if (maxLocalWorkgroupSize > max_workgroup_size) in test_copy()
146 localWorkgroupSize = max_workgroup_size; in test_copy()
Dtest_async_strided_copy.cpp107 size_t max_workgroup_size; in test_strided_copy() local
108 …nfo(kernel, deviceID, CL_KERNEL_WORK_GROUP_SIZE, sizeof(max_workgroup_size), &max_workgroup_size, … in test_strided_copy()
116 if (max_workgroup_size > max_local_workgroup_size[0]) in test_strided_copy()
117 max_workgroup_size = max_local_workgroup_size[0]; in test_strided_copy()
140 if (maxLocalWorkgroupSize > max_workgroup_size) in test_strided_copy()
141 localWorkgroupSize = max_workgroup_size; in test_strided_copy()
Dtest_async_copy2D.cpp164 size_t max_workgroup_size; in test_copy2D() local
166 kernel, deviceID, CL_KERNEL_WORK_GROUP_SIZE, sizeof(max_workgroup_size), in test_copy2D()
167 &max_workgroup_size, NULL); in test_copy2D()
180 if (max_workgroup_size > max_local_workgroup_size[0]) in test_copy2D()
181 max_workgroup_size = max_local_workgroup_size[0]; in test_copy2D()
199 if (maxLocalWorkgroupSize > max_workgroup_size) in test_copy2D()
200 localWorkgroupSize = max_workgroup_size; in test_copy2D()
Dtest_async_copy3D.cpp185 size_t max_workgroup_size; in test_copy3D() local
187 kernel, deviceID, CL_KERNEL_WORK_GROUP_SIZE, sizeof(max_workgroup_size), in test_copy3D()
188 &max_workgroup_size, NULL); in test_copy3D()
201 if (max_workgroup_size > max_local_workgroup_size[0]) in test_copy3D()
202 max_workgroup_size = max_local_workgroup_size[0]; in test_copy3D()
224 if (maxLocalWorkgroupSize > max_workgroup_size) in test_copy3D()
225 localWorkgroupSize = max_workgroup_size; in test_copy3D()
Dtest_async_copy_fence.cpp395 size_t max_workgroup_size; in test_copy_fence() local
397 kernel, deviceID, CL_KERNEL_WORK_GROUP_SIZE, sizeof(max_workgroup_size), in test_copy_fence()
398 &max_workgroup_size, NULL); in test_copy_fence()
411 if (max_workgroup_size > max_local_workgroup_size[0]) in test_copy_fence()
412 max_workgroup_size = max_local_workgroup_size[0]; in test_copy_fence()
433 if (maxLocalWorkgroupSize > max_workgroup_size) in test_copy_fence()
434 localWorkgroupSize = max_workgroup_size; in test_copy_fence()
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferParamValueIntToFloatConversion.cpp80 glw::GLint max_workgroup_size; in initTest() local
81 gl.getIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 0, &max_workgroup_size); in initTest()
84 …p_x_size = m_work_group_y_size = de::min((glw::GLuint)floor(sqrt((float)max_workgroup_size)), 16u); in initTest()
/external/OpenCL-CTS/test_conformance/api/
Dtest_api_min_max.cpp1803 size_t max_workgroup_size = 0, preferred_workgroup_size = 0; in test_min_max_kernel_preferred_work_group_size_multiple() local
1809 sizeof(max_workgroup_size), &max_workgroup_size, NULL); in test_min_max_kernel_preferred_work_group_size_multiple()
1821 …log_info( "size: %ld preferred: %ld max: %ld\n", max_workgroup_size, preferred_workgroup_… in test_min_max_kernel_preferred_work_group_size_multiple()
1823 if( preferred_workgroup_size > max_workgroup_size ) in test_min_max_kernel_preferred_work_group_size_multiple()
1825 …han max workgroup size (preferred %ld, max %ld)\n", preferred_workgroup_size, max_workgroup_size ); in test_min_max_kernel_preferred_work_group_size_multiple()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_internal.h230 unsigned num_return_elems, unsigned max_workgroup_size);
Dsi_shader_llvm.c141 unsigned num_return_elems, unsigned max_workgroup_size) in si_llvm_create_func() argument
192 ac_llvm_set_workgroup_size(ctx->main_fn, max_workgroup_size); in si_llvm_create_func()
Dsi_shader.c994 unsigned max_workgroup_size = si_get_max_workgroup_size(shader); in si_calculate_max_simd_waves() local
996 DIV_ROUND_UP(max_workgroup_size, sscreen->compute_wave_size); in si_calculate_max_simd_waves()
/external/mesa3d/src/amd/vulkan/
Dradv_shader.c1518 unsigned max_workgroup_size = sizes[0] * sizes[1] * sizes[2]; in radv_get_max_workgroup_size() local
1519 return max_workgroup_size; in radv_get_max_workgroup_size()
1541 unsigned max_workgroup_size = in radv_get_max_waves() local
1544 DIV_ROUND_UP(max_workgroup_size, wave_size); in radv_get_max_waves()
Dradv_nir_to_llvm.c53 unsigned max_workgroup_size; member
240 unsigned max_workgroup_size, in create_llvm_function() argument
252 ac_llvm_set_workgroup_size(main_function, max_workgroup_size); in create_llvm_function()
328 ctx->max_workgroup_size, in create_function()
3833 ctx.max_workgroup_size = 0; in ac_translate_nir_to_llvm()
3835 ctx.max_workgroup_size = MAX2(ctx.max_workgroup_size, in ac_translate_nir_to_llvm()
3844 ctx.max_workgroup_size = 128; in ac_translate_nir_to_llvm()
/external/mesa3d/src/intel/vulkan/
Danv_device.c1513 const uint32_t max_workgroup_size = 32 * MIN2(64, devinfo->max_cs_threads); in anv_GetPhysicalDeviceProperties() local
1573 .maxComputeWorkGroupInvocations = max_workgroup_size, in anv_GetPhysicalDeviceProperties()
1575 max_workgroup_size, in anv_GetPhysicalDeviceProperties()
1576 max_workgroup_size, in anv_GetPhysicalDeviceProperties()
1577 max_workgroup_size, in anv_GetPhysicalDeviceProperties()