summaryrefslogtreecommitdiff
path: root/utests/compiler_sampler.cpp
diff options
context:
space:
mode:
authorHomer Hsing <homer.xing@intel.com>2012-11-23 08:45:59 +0800
committerZhigang Gong <zhigang.gong@linux.intel.com>2013-03-29 18:41:33 +0800
commitf1e09825e5387ad3d06eda92040c44ac2697c79b (patch)
tree48f7a73090c20653c9e1eefce799472b6c22df78 /utests/compiler_sampler.cpp
parentb5d68f0c9e9201c8acbb19f85b932f943c99d14d (diff)
downloadbeignet-f1e09825e5387ad3d06eda92040c44ac2697c79b.tar.gz
test OpenCL 1.1 sampler declaration fields
Diffstat (limited to 'utests/compiler_sampler.cpp')
-rw-r--r--utests/compiler_sampler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utests/compiler_sampler.cpp b/utests/compiler_sampler.cpp
index 807263ea..32bf9263 100644
--- a/utests/compiler_sampler.cpp
+++ b/utests/compiler_sampler.cpp
@@ -3,6 +3,8 @@
void compiler_sampler(void)
{
+ OCL_CREATE_KERNEL("compiler_sampler");
+
OCL_ASSERT(ctx != 0);
cl_sampler s;
cl_int err;