1 // 2 // Copyright (c) 2017 The Khronos Group Inc. 3 // 4 // Licensed under the Apache License, Version 2.0 (the "License"); 5 // you may not use this file except in compliance with the License. 6 // You may obtain a copy of the License at 7 // 8 // http://www.apache.org/licenses/LICENSE-2.0 9 // 10 // Unless required by applicable law or agreed to in writing, software 11 // distributed under the License is distributed on an "AS IS" BASIS, 12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 // See the License for the specific language governing permissions and 14 // limitations under the License. 15 // 16 #ifndef _procs_h 17 #define _procs_h 18 19 #include "harness/testHarness.h" 20 #include "harness/kernelHelpers.h" 21 #include "harness/errorHelpers.h" 22 #include "harness/conversions.h" 23 #include "harness/threadTesting.h" 24 #include "harness/typeWrappers.h" 25 #include "harness/mt19937.h" 26 27 extern MTdata gMTdata; 28 29 extern int test_sub_group_info_ext(cl_device_id device, cl_context context, 30 cl_command_queue queue, int num_elements); 31 extern int test_sub_group_info_core(cl_device_id device, cl_context context, 32 cl_command_queue queue, int num_elements); 33 extern int test_work_item_functions_ext(cl_device_id device, cl_context context, 34 cl_command_queue queue, 35 int num_elements); 36 extern int test_work_item_functions_core(cl_device_id device, 37 cl_context context, 38 cl_command_queue queue, 39 int num_elements); 40 extern int test_work_group_functions_ext(cl_device_id device, 41 cl_context context, 42 cl_command_queue queue, 43 int num_elements); 44 extern int test_work_group_functions_core(cl_device_id device, 45 cl_context context, 46 cl_command_queue queue, 47 int num_elements); 48 extern int test_barrier_functions_ext(cl_device_id device, cl_context context, 49 cl_command_queue queue, int num_elements); 50 extern int test_barrier_functions_core(cl_device_id device, cl_context context, 51 cl_command_queue queue, 52 int num_elements); 53 extern int test_pipe_functions(cl_device_id device, cl_context context, 54 cl_command_queue queue, int num_elements); 55 extern int test_ifp_ext(cl_device_id device, cl_context context, 56 cl_command_queue queue, int num_elements); 57 extern int test_ifp_core(cl_device_id device, cl_context context, 58 cl_command_queue queue, int num_elements); 59 60 #endif /*_procs_h*/ 61