Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/atomics/
Dtest_indexed_cases.cpp153 int number_of_bins = number_of_items/divisor; in add_index_bin_test() local
180 sizeof(cl_int) * number_of_bins, NULL, NULL); in add_index_bin_test()
183 sizeof(cl_int) * number_of_bins * max_counts_per_bin, NULL, NULL); in add_index_bin_test()
202 cl_int *l_bin_counts = (cl_int*)malloc(sizeof(cl_int)*number_of_bins); in add_index_bin_test()
208 for (i=0; i<number_of_bins; i++) in add_index_bin_test()
210 …err = clEnqueueWriteBuffer(queue, bin_counters, true, 0, sizeof(cl_int)*number_of_bins, l_bin_coun… in add_index_bin_test()
216 cl_int *values = (cl_int*)malloc(sizeof(cl_int)*number_of_bins*max_counts_per_bin); in add_index_bin_test()
221 for (i=0; i<number_of_bins*max_counts_per_bin; i++) in add_index_bin_test()
223 …err = clEnqueueWriteBuffer(queue, bins, true, 0, sizeof(cl_int)*number_of_bins*max_counts_per_bin,… in add_index_bin_test()
236 int bin = random_in_range(0, number_of_bins-1, d); in add_index_bin_test()
[all …]