summaryrefslogtreecommitdiff
path: root/utests/compiler_local_slm.cpp
diff options
context:
space:
mode:
authorBenjamin Segovia <devnull@localhost>2012-06-25 01:30:11 +0000
committerKeith Packard <keithp@keithp.com>2012-08-10 16:18:56 -0700
commitb122a874272fcc32415dc93b83955a925361c47f (patch)
tree750748f08540594b91c2ef1deb0f25cace586348 /utests/compiler_local_slm.cpp
parent5cd69ced7e502e585d2a50c7579caf3c4cc4c102 (diff)
downloadbeignet-b122a874272fcc32415dc93b83955a925361c47f.tar.gz
Started to support __local and __constant
Diffstat (limited to 'utests/compiler_local_slm.cpp')
-rw-r--r--utests/compiler_local_slm.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/utests/compiler_local_slm.cpp b/utests/compiler_local_slm.cpp
new file mode 100644
index 00000000..f9c9e0c5
--- /dev/null
+++ b/utests/compiler_local_slm.cpp
@@ -0,0 +1,29 @@
+/*
+ * 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_local_slm(void)
+{
+ // Setup kernel and buffers
+ OCL_CREATE_KERNEL("compiler_local_slm");
+}
+
+MAKE_UTEST_FROM_FUNCTION(compiler_local_slm);
+