Lines Matching refs:kernel
27 compute::kernel foo = compute::kernel::create_with_source( in BOOST_AUTO_TEST_CASE()
32 compute::kernel bar = compute::kernel::create_with_source( in BOOST_AUTO_TEST_CASE()
40 compute::kernel foo = compute::kernel::create_with_source( in BOOST_AUTO_TEST_CASE()
45 compute::kernel bar = compute::kernel::create_with_source( in BOOST_AUTO_TEST_CASE()
50 compute::kernel baz = compute::kernel::create_with_source( in BOOST_AUTO_TEST_CASE()
65 compute::kernel foo = in BOOST_AUTO_TEST_CASE()
66 compute::kernel::create_with_source(source, "foo", context); in BOOST_AUTO_TEST_CASE()
93 compute::kernel kernel = program.create_kernel("sum"); in BOOST_AUTO_TEST_CASE() local
98 kernel.get_work_group_info<ulong_>(device, CL_KERNEL_LOCAL_MEM_SIZE); in BOOST_AUTO_TEST_CASE()
102 kernel.get_work_group_info<size_t>(device, CL_KERNEL_WORK_GROUP_SIZE); in BOOST_AUTO_TEST_CASE()
109 compute::kernel k = compute::kernel::create_with_source( in BOOST_AUTO_TEST_CASE()
120 compute::kernel k = compute::kernel::create_with_source( in BOOST_AUTO_TEST_CASE()
155 compute::kernel kernel = program.create_kernel("sum_kernel"); in BOOST_AUTO_TEST_CASE() local
157 BOOST_CHECK_EQUAL(kernel.get_info<CL_KERNEL_NUM_ARGS>(), compute::uint_(3)); in BOOST_AUTO_TEST_CASE()
159 BOOST_CHECK_EQUAL(kernel.get_arg_info<std::string>(0, CL_KERNEL_ARG_TYPE_NAME), "int*"); in BOOST_AUTO_TEST_CASE()
160 BOOST_CHECK_EQUAL(kernel.get_arg_info<std::string>(0, CL_KERNEL_ARG_NAME), "input"); in BOOST_AUTO_TEST_CASE()
161 BOOST_CHECK_EQUAL(kernel.get_arg_info<std::string>(1, CL_KERNEL_ARG_TYPE_NAME), "uint"); in BOOST_AUTO_TEST_CASE()
162 BOOST_CHECK_EQUAL(kernel.get_arg_info<std::string>(1, CL_KERNEL_ARG_NAME), "size"); in BOOST_AUTO_TEST_CASE()
163 BOOST_CHECK_EQUAL(kernel.get_arg_info<std::string>(2, CL_KERNEL_ARG_TYPE_NAME), "int*"); in BOOST_AUTO_TEST_CASE()
164 BOOST_CHECK_EQUAL(kernel.get_arg_info<std::string>(2, CL_KERNEL_ARG_NAME), "result"); in BOOST_AUTO_TEST_CASE()
166 BOOST_CHECK_EQUAL(kernel.get_arg_info<CL_KERNEL_ARG_TYPE_NAME>(0), "int*"); in BOOST_AUTO_TEST_CASE()
167 BOOST_CHECK_EQUAL(kernel.get_arg_info<CL_KERNEL_ARG_NAME>(0), "input"); in BOOST_AUTO_TEST_CASE()
168 BOOST_CHECK_EQUAL(kernel.get_arg_info<CL_KERNEL_ARG_TYPE_NAME>(1), "uint"); in BOOST_AUTO_TEST_CASE()
169 BOOST_CHECK_EQUAL(kernel.get_arg_info<CL_KERNEL_ARG_NAME>(1), "size"); in BOOST_AUTO_TEST_CASE()
170 BOOST_CHECK_EQUAL(kernel.get_arg_info<CL_KERNEL_ARG_TYPE_NAME>(2), "int*"); in BOOST_AUTO_TEST_CASE()
171 BOOST_CHECK_EQUAL(kernel.get_arg_info<CL_KERNEL_ARG_NAME>(2), "result"); in BOOST_AUTO_TEST_CASE()
184 compute::kernel k = compute::kernel::create_with_source( in BOOST_AUTO_TEST_CASE()
245 compute::kernel k = compute::kernel::create_with_source( in BOOST_AUTO_TEST_CASE()
319 compute::kernel k1 = compute::kernel::create_with_source( in BOOST_AUTO_TEST_CASE()
328 compute::kernel k2 = k1.clone(); in BOOST_AUTO_TEST_CASE()