summaryrefslogtreecommitdiff
path: root/utests/compiler_volatile.cpp
diff options
context:
space:
mode:
authorLu Guanqun <guanqun.lu@intel.com>2013-04-10 16:11:59 +0800
committerZhigang Gong <zhigang.gong@linux.intel.com>2013-04-11 16:47:29 +0800
commit6d2c0af1db2586469eb9d1d1f07232dc2ae8fa8e (patch)
tree33289ead85001fcbcc2f05c19484f2adb769ed8c /utests/compiler_volatile.cpp
parent45c9d0c00fc213d668275f3fe16af6b409134d75 (diff)
downloadbeignet-6d2c0af1db2586469eb9d1d1f07232dc2ae8fa8e.tar.gz
release the contraint of volatile pointer
Signed-off-by: Lu Guanqun <guanqun.lu@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'utests/compiler_volatile.cpp')
-rw-r--r--utests/compiler_volatile.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/utests/compiler_volatile.cpp b/utests/compiler_volatile.cpp
new file mode 100644
index 00000000..f4fe054b
--- /dev/null
+++ b/utests/compiler_volatile.cpp
@@ -0,0 +1,9 @@
+#include "utest_helper.hpp"
+
+void compiler_volatile(void)
+{
+ // Setup kernel and buffers
+ OCL_CREATE_KERNEL("compiler_volatile");
+}
+
+MAKE_UTEST_FROM_FUNCTION(compiler_volatile);