Searched refs:max_threadgroup_size (Results 1 – 2 of 2) sorted by relevance
87 size_t max_threadgroup_size = 0; in test_barrier() local94 sizeof(max_threadgroup_size), &max_threadgroup_size, NULL); in test_barrier()101 if (max_threadgroup_size > max_local_workgroup_size[0]) in test_barrier()102 max_threadgroup_size = max_local_workgroup_size[0]; in test_barrier()105 while( num_elements % max_threadgroup_size ) in test_barrier()106 max_threadgroup_size--; in test_barrier()119 sizeof(cl_int) * max_threadgroup_size, NULL, &err); in test_barrier()136 global_threads[0] = max_threadgroup_size; in test_barrier()137 local_threads[0] = max_threadgroup_size; in test_barrier()
87 size_t max_threadgroup_size = 0; in test_wg_barrier() local96 sizeof(max_threadgroup_size), &max_threadgroup_size, NULL); in test_wg_barrier()103 if (max_threadgroup_size > max_local_workgroup_size[0]) in test_wg_barrier()104 max_threadgroup_size = max_local_workgroup_size[0]; in test_wg_barrier()107 while( num_elements % max_threadgroup_size ) in test_wg_barrier()108 max_threadgroup_size--; in test_wg_barrier()121 sizeof(cl_int) * max_threadgroup_size, NULL, &err); in test_wg_barrier()138 global_threads[0] = max_threadgroup_size; in test_wg_barrier()139 local_threads[0] = max_threadgroup_size; in test_wg_barrier()