summaryrefslogtreecommitdiff
path: root/utests/compiler_write_only.cpp
diff options
context:
space:
mode:
authorBenjamin Segovia <benjamin.segovia@intel.com>2012-11-09 20:16:24 -0800
committerBenjamin Segovia <benjamin.segovia@intel.com>2012-11-09 20:16:24 -0800
commit1fdf4fd5fc13b26b8710bbe7240377f726e5f957 (patch)
tree862bb6307626daaee287d27068d28a6f94cf04f8 /utests/compiler_write_only.cpp
parentbc0ea9d62436f766bd5394ea6de3107d8fe3b24e (diff)
downloadbeignet-1fdf4fd5fc13b26b8710bbe7240377f726e5f957.tar.gz
Added support for __local pointer in kernel arguments. This require to add more
features in the run-time and proper support in the rest of the compiler
Diffstat (limited to 'utests/compiler_write_only.cpp')
-rw-r--r--utests/compiler_write_only.cpp21
1 files changed, 20 insertions, 1 deletions
diff --git a/utests/compiler_write_only.cpp b/utests/compiler_write_only.cpp
index e04f855b..39355352 100644
--- a/utests/compiler_write_only.cpp
+++ b/utests/compiler_write_only.cpp
@@ -1,6 +1,25 @@
+/*
+ * 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 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/>.
+ *
+ * Author: Benjamin Segovia <benjamin.segovia@intel.com>
+ */
+
#include "utest_helper.hpp"
-void compiler_write_only(void)
+static void compiler_write_only(void)
{
const size_t n = 2048;