/external/llvm-project/clang/test/SemaOpenCL/ |
D | cl20-device-side-enqueue.cl | 11 QUALS ndrange_t ndrange; 18 enqueue_kernel(default_queue, flags, ndrange, ^(void) { 22 …enqueue_kernel(vptr, flags, ndrange, ^(void) { // expected-error{{illegal call to 'enqueue_kernel'… 26 …enqueue_kernel(default_queue, vptr, ndrange, ^(void) { // expected-error{{illegal call to 'enqueue… 34 …enqueue_kernel(default_queue, flags, ndrange, vptr); // expected-error{{illegal call to 'enqueue_k… 36 …enqueue_kernel(default_queue, flags, ndrange, ^(int i) { // expected-error{{blocks with parameters… 41 enqueue_kernel(default_queue, flags, ndrange, 1, &event_wait_list, &evt, ^(void) { 45 enqueue_kernel(default_queue, flags, ndrange, 1, 0, 0, ^(void) { 49 …enqueue_kernel(default_queue, flags, ndrange, vptr, &event_wait_list, &evt, ^(void) { // expected-… 53 …enqueue_kernel(default_queue, flags, ndrange, 1, vptr, &evt, ^(void) // expected-error{{illegal ca… [all …]
|
/external/clang/test/SemaOpenCL/ |
D | cl20-device-side-enqueue.cl | 8 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/ |
D | test_sub_group_dispatch.cpp | 30 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()
|
D | test_zero_sized_enqueue.cpp | 32 …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/ |
D | cl20-device-side-enqueue.cl | 12 // 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 …]
|
/external/llvm-project/clang/test/CodeGenOpenCL/ |
D | amdgpu-enqueue-kernel.cl | 13 ndrange_t ndrange; 15 enqueue_kernel(default_queue, flags, ndrange, 20 enqueue_kernel(default_queue, flags, ndrange, 25 enqueue_kernel(default_queue, flags, ndrange, 36 enqueue_kernel(default_queue, flags, ndrange, block);
|
D | enqueue-kernel-non-entry-block.cl | 23 ndrange_t ndrange; 25 enqueue_kernel(default_queue, flags, ndrange, ^(local void *a) { }, 32);
|
D | cl20-device-side-enqueue.cl | 43 // COMMON: %ndrange = alloca %struct.ndrange_t 44 ndrange_t ndrange; 87 enqueue_kernel(default_queue, flags, ndrange, 104 enqueue_kernel(default_queue, flags, ndrange, 2, &event_wait_list, &clk_event, 111 enqueue_kernel(default_queue, flags, ndrange, 1, 0, 0, 134 enqueue_kernel(default_queue, flags, ndrange, 159 enqueue_kernel(default_queue, flags, ndrange, 186 enqueue_kernel(default_queue, flags, ndrange, 2, event_wait_list2, &clk_event, 213 enqueue_kernel(default_queue, flags, ndrange, 2, event_wait_list2, &clk_event, 238 enqueue_kernel(default_queue, flags, ndrange, [all …]
|
D | builtins.cl | 3 void testBranchingOnEnqueueKernel(queue_t default_queue, unsigned flags, ndrange_t ndrange) { 6 if (enqueue_kernel(default_queue, flags, ndrange, ^(void) {}))
|
/external/llvm-project/clang/lib/Sema/ |
D | OpenCLBuiltins.td | 1273 // TODO: ndrange functions
|