Home
last modified time | relevance | path

Searched refs:max_threadgroup_size (Results 1 – 2 of 2) sorted by relevance

/external/OpenCL-CTS/test_conformance/basic/
Dtest_barrier.cpp87 size_t max_threadgroup_size = 0; in test_barrier() local
94 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()
Dtest_wg_barrier.cpp87 size_t max_threadgroup_size = 0; in test_wg_barrier() local
96 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()