aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDjordje Senicic2016-03-10 15:31:33 -0600
committerDjordje Senicic2016-03-23 07:00:25 -0500
commit21dfa1ec51044a4374746068b3009bdc6a91a5f1 (patch)
tree01e44a16354ccc2f75a78bd8faf9b2c392435ee7
parent59640b5c07f0a57abfe157547d2db6e238390213 (diff)
downloadgst-plugin-dsp66-21dfa1ec51044a4374746068b3009bdc6a91a5f1.tar.gz
gst-plugin-dsp66-21dfa1ec51044a4374746068b3009bdc6a91a5f1.tar.xz
gst-plugin-dsp66-21dfa1ec51044a4374746068b3009bdc6a91a5f1.zip
Copyright cleanup - fix so we have BSD licensing banners
-rw-r--r--src/gstdsp66.c43
-rw-r--r--src/gstdsp66.h41
-rw-r--r--src/gstdsp66videokernel.c43
-rw-r--r--src/gstdsp66videokernel.h44
-rw-r--r--src/kernels/oclconv/conv.cl57
-rw-r--r--src/kernels/oclconv/oclconv.cpp57
6 files changed, 179 insertions, 106 deletions
diff --git a/src/gstdsp66.c b/src/gstdsp66.c
index 0048fe2..968402a 100644
--- a/src/gstdsp66.c
+++ b/src/gstdsp66.c
@@ -1,20 +1,35 @@
1/* 1/*
2 * GStreamer 2 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
3 * Copyright (c) 2010, Texas Instruments Incorporated
4 * 3 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation
8 * version 2.1 of the License.
9 * 4 *
10 * This library is distributed in the hope that it will be useful, 5 *  Redistribution and use in source and binary forms, with or without
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 6 *  modification, are permitted provided that the following conditions
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 7 *  are met:
13 * Lesser General Public License for more details. 8 *
9 *    Redistributions of source code must retain the above copyright
10 *    notice, this list of conditions and the following disclaimer.
14 * 11 *
15 * You should have received a copy of the GNU Lesser General Public 12 *    Redistributions in binary form must reproduce the above copyright
16 * License along with this library; if not, write to the Free Software 13 *    notice, this list of conditions and the following disclaimer in the
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 14 *    documentation and/or other materials provided with the  
15 *    distribution.
16 *
17 *    Neither the name of Texas Instruments Incorporated nor the names of
18 *    its contributors may be used to endorse or promote products derived
19 *    from this software without specific prior written permission.
20 *
21 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
18 */ 33 */
19 34
20#ifdef HAVE_CONFIG_H 35#ifdef HAVE_CONFIG_H
@@ -44,4 +59,4 @@ plugin_init (GstPlugin * plugin)
44 59
45GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, dsp66 , 60GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, dsp66 ,
46 "DSP66 accelerated filters", 61 "DSP66 accelerated filters",
47 plugin_init, VERSION, "LGPL", "GStreamer", "http://gstreamer.net/") 62 plugin_init, VERSION, "BSD", "GStreamer", "http://gstreamer.net/")
diff --git a/src/gstdsp66.h b/src/gstdsp66.h
index f1055f0..4147f5d 100644
--- a/src/gstdsp66.h
+++ b/src/gstdsp66.h
@@ -1,20 +1,35 @@
1/* 1/*
2 * GStreamer 2 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
3 * Copyright (c) 2010, Texas Instruments Incorporated
4 * 3 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation
8 * version 2.1 of the License.
9 * 4 *
10 * This library is distributed in the hope that it will be useful, 5 *  Redistribution and use in source and binary forms, with or without
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 6 *  modification, are permitted provided that the following conditions
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 7 *  are met:
13 * Lesser General Public License for more details. 8 *
9 *    Redistributions of source code must retain the above copyright
10 *    notice, this list of conditions and the following disclaimer.
14 * 11 *
15 * You should have received a copy of the GNU Lesser General Public 12 *    Redistributions in binary form must reproduce the above copyright
16 * License along with this library; if not, write to the Free Software 13 *    notice, this list of conditions and the following disclaimer in the
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 14 *    documentation and/or other materials provided with the  
15 *    distribution.
16 *
17 *    Neither the name of Texas Instruments Incorporated nor the names of
18 *    its contributors may be used to endorse or promote products derived
19 *    from this software without specific prior written permission.
20 *
21 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
18 */ 33 */
19 34
20#ifndef __GST_DSP66_H__ 35#ifndef __GST_DSP66_H__
diff --git a/src/gstdsp66videokernel.c b/src/gstdsp66videokernel.c
index 2d7bf5d..5db0225 100644
--- a/src/gstdsp66videokernel.c
+++ b/src/gstdsp66videokernel.c
@@ -1,20 +1,35 @@
1/* GStreamer 1/*
2 * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu> 2 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
3 * 3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 * 4 *
9 * This library is distributed in the hope that it will be useful, 5 *  Redistribution and use in source and binary forms, with or without
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 6 *  modification, are permitted provided that the following conditions
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 7 *  are met:
12 * Library General Public License for more details. 8 *
9 *    Redistributions of source code must retain the above copyright
10 *    notice, this list of conditions and the following disclaimer.
13 * 11 *
14 * You should have received a copy of the GNU Library General Public 12 *    Redistributions in binary form must reproduce the above copyright
15 * License along with this library; if not, write to the 13 *    notice, this list of conditions and the following disclaimer in the
16 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 14 *    documentation and/or other materials provided with the  
17 * Boston, MA 02110-1301, USA. 15 *    distribution.
16 *
17 *    Neither the name of Texas Instruments Incorporated nor the names of
18 *    its contributors may be used to endorse or promote products derived
19 *    from this software without specific prior written permission.
20 *
21 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
18 */ 33 */
19 34
20#ifdef HAVE_CONFIG_H 35#ifdef HAVE_CONFIG_H
diff --git a/src/gstdsp66videokernel.h b/src/gstdsp66videokernel.h
index 017d809..f57c5c4 100644
--- a/src/gstdsp66videokernel.h
+++ b/src/gstdsp66videokernel.h
@@ -1,23 +1,37 @@
1/* GStreamer 1/*
2 * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu> 2 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
3 * 3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 * 4 *
9 * This library is distributed in the hope that it will be useful, 5 *  Redistribution and use in source and binary forms, with or without
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 6 *  modification, are permitted provided that the following conditions
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 7 *  are met:
12 * Library General Public License for more details. 8 *
9 *    Redistributions of source code must retain the above copyright
10 *    notice, this list of conditions and the following disclaimer.
13 * 11 *
14 * You should have received a copy of the GNU Library General Public 12 *    Redistributions in binary form must reproduce the above copyright
15 * License along with this library; if not, write to the 13 *    notice, this list of conditions and the following disclaimer in the
16 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 14 *    documentation and/or other materials provided with the  
17 * Boston, MA 02110-1301, USA. 15 *    distribution.
16 *
17 *    Neither the name of Texas Instruments Incorporated nor the names of
18 *    its contributors may be used to endorse or promote products derived
19 *    from this software without specific prior written permission.
20 *
21 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
18 */ 33 */
19 34
20
21#ifndef __GST_DSP66_VIDEO_KERNEL_H__ 35#ifndef __GST_DSP66_VIDEO_KERNEL_H__
22#define __GST_DSP66_VIDEO_KERNEL_H__ 36#define __GST_DSP66_VIDEO_KERNEL_H__
23 37
diff --git a/src/kernels/oclconv/conv.cl b/src/kernels/oclconv/conv.cl
index 815b5ff..b1c0953 100644
--- a/src/kernels/oclconv/conv.cl
+++ b/src/kernels/oclconv/conv.cl
@@ -1,30 +1,37 @@
1/****************************************************************************** 1/*
2 * Copyright (c) 2013-2014, Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
3 * All rights reserved.
4 * 3 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 * * Neither the name of Texas Instruments Incorporated nor the
13 * names of its contributors may be used to endorse or promote products
14 * derived from this software without specific prior written permission.
15 * 4 *
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 5 *  Redistribution and use in source and binary forms, with or without
17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 6 *  modification, are permitted provided that the following conditions
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 7 *  are met:
19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 8 *
20 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 9 *    Redistributions of source code must retain the above copyright
21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 10 *    notice, this list of conditions and the following disclaimer.
22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 11 *
23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 12 *    Redistributions in binary form must reproduce the above copyright
24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 13 *    notice, this list of conditions and the following disclaimer in the
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 14 *    documentation and/or other materials provided with the  
26 * THE POSSIBILITY OF SUCH DAMAGE. 15 *    distribution.
27 *****************************************************************************/ 16 *
17 *    Neither the name of Texas Instruments Incorporated nor the names of
18 *    its contributors may be used to endorse or promote products derived
19 *    from this software without specific prior written permission.
20 *
21 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33 */
34
28#define PIX_SORT(a,b) { if ((a)>(b)) PIX_SWAP((a),(b)); } 35#define PIX_SORT(a,b) { if ((a)>(b)) PIX_SWAP((a),(b)); }
29#define PIX_SWAP(a,b) { unsigned char temp=(a);(a)=(b);(b)=temp; } 36#define PIX_SWAP(a,b) { unsigned char temp=(a);(a)=(b);(b)=temp; }
30#define ARGS global uchar *pInput, global ushort *pBufGradX, \ 37#define ARGS global uchar *pInput, global ushort *pBufGradX, \
diff --git a/src/kernels/oclconv/oclconv.cpp b/src/kernels/oclconv/oclconv.cpp
index ed6a17d..2c99bf3 100644
--- a/src/kernels/oclconv/oclconv.cpp
+++ b/src/kernels/oclconv/oclconv.cpp
@@ -1,30 +1,37 @@
1/****************************************************************************** 1/*
2 * Copyright (c) 2013-2014, Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
3 * All rights reserved.
4 * 3 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 * * Neither the name of Texas Instruments Incorporated nor the
13 * names of its contributors may be used to endorse or promote products
14 * derived from this software without specific prior written permission.
15 * 4 *
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 5 *  Redistribution and use in source and binary forms, with or without
17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 6 *  modification, are permitted provided that the following conditions
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 7 *  are met:
19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 8 *
20 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 9 *    Redistributions of source code must retain the above copyright
21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 10 *    notice, this list of conditions and the following disclaimer.
22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 11 *
23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 12 *    Redistributions in binary form must reproduce the above copyright
24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 13 *    notice, this list of conditions and the following disclaimer in the
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 14 *    documentation and/or other materials provided with the  
26 * THE POSSIBILITY OF SUCH DAMAGE. 15 *    distribution.
27 *****************************************************************************/ 16 *
17 *    Neither the name of Texas Instruments Incorporated nor the names of
18 *    its contributors may be used to endorse or promote products derived
19 *    from this software without specific prior written permission.
20 *
21 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33 */
34
28#define __CL_ENABLE_EXCEPTIONS 35#define __CL_ENABLE_EXCEPTIONS
29#include <CL/cl.hpp> 36#include <CL/cl.hpp>
30#include <iostream> 37#include <iostream>