Lines Matching refs:demo_kernel
91 SmartPtr<CLImageKernel> demo_kernel; in create_cl_demo_image_handler() local
93 demo_kernel = new CLImageKernel (context); in create_cl_demo_image_handler()
94 XCAM_ASSERT (demo_kernel.ptr ()); in create_cl_demo_image_handler()
96 ERROR, demo_kernel->build_kernel (kernel_demo_info, NULL) == XCAM_RETURN_NO_ERROR, in create_cl_demo_image_handler()
99 XCAM_ASSERT (demo_kernel->is_valid ()); in create_cl_demo_image_handler()
102 demo_handler->set_copy_kernel (demo_kernel); in create_cl_demo_image_handler()
111 SmartPtr<CLImageKernel> demo_kernel; in create_cl_binary_demo_image_handler() local
114 demo_kernel = new CLImageKernel (context, "kernel_demo"); in create_cl_binary_demo_image_handler()
120 ret = demo_kernel->load_from_binary (kernel_demo_body, sizeof (kernel_demo_body)); in create_cl_binary_demo_image_handler()
122 ret = demo_kernel->load_from_binary (binary, size); in create_cl_binary_demo_image_handler()
127 "CL image handler(%s) load binary failed", demo_kernel->get_kernel_name()); in create_cl_binary_demo_image_handler()
129 XCAM_ASSERT (demo_kernel->is_valid ()); in create_cl_binary_demo_image_handler()
131 demo_handler->set_copy_kernel (demo_kernel); in create_cl_binary_demo_image_handler()