Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/device_execution/
Ddevice_queue.cpp105 cl_uint preffered_size, max_size, max_queues; in test_device_queue() local
125 … clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(max_queues), &max_queues, &ret_len… in test_device_queue()
128 if(max_queues > MAX_QUEUES) max_queues = MAX_QUEUES; in test_device_queue()
138 if(max_queues > 1) // Check more queues if supported. in test_device_queue()
170 err_ret = check_device_queues(device, context, max_queues, queue_prop, preffered_size); in test_device_queue()
175 err_ret = check_device_queues(device, context, max_queues, queue_prop_size, q_size); in test_device_queue()
180 err_ret = check_device_queues(device, context, max_queues, queue_prop_max, max_size); in test_device_queue()
Denqueue_multi_queue.cpp106 cl_uint n, max_queues = 1; in test_enqueue_multi_queue() local
111 … clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(max_queues), &max_queues, &ret_len… in test_enqueue_multi_queue()
128 if(max_queues > 1) in test_enqueue_multi_queue()
130 n = (max_queues > MAX_QUEUES) ? MAX_QUEUES : max_queues-1; in test_enqueue_multi_queue()
Dhost_queue_order.cpp99 cl_uint max_queues = 1; in test_host_queue_order() local
104 … clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(max_queues), &max_queues, &ret_len… in test_host_queue_order()
Dhost_multi_queue.cpp140 cl_uint max_queues = 1; in test_host_multi_queue() local
145 … clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(max_queues), &max_queues, &ret_len… in test_host_multi_queue()
Dnested_blocks.cpp322 cl_uint max_queues = 1; in test_enqueue_nested_blocks() local
327 … clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(max_queues), &max_queues, &ret_len… in test_enqueue_nested_blocks()
Denqueue_block.cpp629 cl_uint max_queues = 1; in test_enqueue_block() local
634 … clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(max_queues), &max_queues, &ret_len… in test_enqueue_block()
Denqueue_ndrange.cpp620 cl_uint max_queues = 1; in test_enqueue_ndrange() local
628 … clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(max_queues), &max_queues, &ret_len… in test_enqueue_ndrange()
Denqueue_wg_size.cpp1633 cl_uint max_queues = 1; in test_enqueue_wg_size() local
1647 … clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(max_queues), &max_queues, &ret_len… in test_enqueue_wg_size()
/external/ltp/testcases/kernel/syscalls/mq_open/
Dmq_open01.c28 static int max_queues; variable
164 SAFE_FILE_SCANF(PROC_MAX_QUEUES, "%d", &max_queues); in set_max_queues()
174 SAFE_FILE_PRINTF(PROC_MAX_QUEUES, "%d", max_queues); in restore_max_queues()