Home
last modified time | relevance | path

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

/external/clang/test/SemaOpenCL/
Dcl20-device-side-enqueue.cl8 ndrange_t ndrange;
15 enqueue_kernel(default_queue, flags, ndrange, ^(void) {
19 …enqueue_kernel(vptr, flags, ndrange, ^(void) { // expected-error{{illegal call to enqueue_kernel, …
23 …enqueue_kernel(default_queue, vptr, ndrange, ^(void) { // expected-error{{illegal call to enqueue_…
31 …enqueue_kernel(default_queue, flags, ndrange, vptr); // expected-error{{illegal call to enqueue_ke…
33 …enqueue_kernel(default_queue, flags, ndrange, ^(int i) { // expected-error{{blocks in this form of…
38 enqueue_kernel(default_queue, flags, ndrange, 1, &event_wait_list, &evt, ^(void) {
42 …enqueue_kernel(default_queue, flags, ndrange, 1, vptr, &evt, ^(void) // expected-error{{illegal ca…
47 …enqueue_kernel(default_queue, flags, ndrange, 1, &event_wait_list, vptr, ^(void) // expected-error…
52 …enqueue_kernel(default_queue, flags, ndrange, 1, &event_wait_list, &evt, vptr); // expected-error{…
[all …]
/external/OpenCL-CTS/test_conformance/api/
Dtest_sub_group_dispatch.cpp30 size_t flatten_ndrange(size_t* ndrange, size_t dim) in flatten_ndrange() argument
35 return *ndrange; in flatten_ndrange()
37 return ndrange[0] * ndrange[1]; in flatten_ndrange()
39 return ndrange[0] * ndrange[1] * ndrange[2]; in flatten_ndrange()
48 size_t ndrange[3] = {local_size, 1, 1}; in get_sub_group_num() local
52 error += clEnqueueNDRangeKernel(queue, kernel, dim, NULL, ndrange, ndrange, 0, NULL, NULL); in get_sub_group_num()
Dtest_zero_sized_enqueue.cpp32 …r(cl_command_queue queue, clKernelWrapper& kernel, clMemWrapper& buf, size_t dim, size_t ndrange[]) in test_zero_sized_enqueue_and_test_output_buffer() argument
34 cl_int error = clEnqueueNDRangeKernel(queue, kernel, dim, NULL, ndrange, NULL, 0, NULL, NULL); in test_zero_sized_enqueue_and_test_output_buffer()
/external/clang/test/CodeGenOpenCL/
Dcl20-device-side-enqueue.cl12 // CHECK: %ndrange = alloca %opencl.ndrange_t*
13 ndrange_t ndrange;
23 // CHECK: [[NDR:%[0-9]+]] = load %opencl.ndrange_t*, %opencl.ndrange_t** %ndrange
27 enqueue_kernel(default_queue, flags, ndrange,
34 // CHECK: [[NDR:%[0-9]+]] = load %opencl.ndrange_t*, %opencl.ndrange_t** %ndrange
38 enqueue_kernel(default_queue, flags, ndrange, 2, &event_wait_list, &clk_event,
45 // CHECK: [[NDR:%[0-9]+]] = load %opencl.ndrange_t*, %opencl.ndrange_t** %ndrange
47 enqueue_kernel(default_queue, flags, ndrange,
55 // CHECK: [[NDR:%[0-9]+]] = load %opencl.ndrange_t*, %opencl.ndrange_t** %ndrange
58 enqueue_kernel(default_queue, flags, ndrange,
[all …]