Searched refs:max_individual_allocation_size (Results 1 – 3 of 3) sorted by relevance
134 cl_ulong max_individual_allocation_size, global_mem_size; in allocate_size() local144 …ce_id, CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof(max_individual_allocation_size), &max_individual_alloc… in allocate_size()177 if(max_size < max_individual_allocation_size) in allocate_size()178 max_individual_allocation_size = max_size; in allocate_size()181 reduction_amount = (size_t)max_individual_allocation_size/16; in allocate_size()218 if (allocation_this_time > max_individual_allocation_size) in allocate_size()219 allocation_this_time = (size_t)max_individual_allocation_size; in allocate_size()
113 cl_ulong max_individual_allocation_size = g_max_individual_allocation_size; in doTest() local147 if( max_individual_allocation_size > max_image2d_size ) in doTest()149 max_individual_allocation_size = max_image2d_size; in doTest()154 …x_size = g_multiple_allocations ? (size_t)global_mem_size : (size_t)max_individual_allocation_size; in doTest()
682 cl_ulong max_individual_allocation_size = 0; in test_images_write_common() local684 sizeof(max_individual_allocation_size), in test_images_write_common()685 &max_individual_allocation_size, NULL); in test_images_write_common()745 if (total_allocation_size > max_individual_allocation_size) { in test_images_write_common()749 max_individual_allocation_size/(1024.0*1024.0)); in test_images_write_common()