From: Junyan He <junyan...@intel.com> Signed-off-by: Junyan He <junyan...@intel.com> --- runtime/gen/cl_sampler_gen.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 runtime/gen/cl_sampler_gen.c
diff --git a/runtime/gen/cl_sampler_gen.c b/runtime/gen/cl_sampler_gen.c new file mode 100644 index 0000000..b04361e --- /dev/null +++ b/runtime/gen/cl_sampler_gen.c @@ -0,0 +1,30 @@ +/* + * Copyright © 2012 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see <http://www.gnu.org/licenses/>. + * + */ + +#include "cl_gen.h" + +LOCAL cl_int +cl_sampler_create_gen(cl_device_id device, cl_sampler sampler) +{ + return CL_SUCCESS; +} + +LOCAL void +cl_sampler_delete_gen(cl_device_id device, cl_sampler sampler) +{ +} -- 2.7.4 _______________________________________________ Beignet mailing list Beignet@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/beignet