more test case for vector load/store function
authorHomer Hsing <homer.xing@intel.com>
Fri, 4 Jan 2013 01:25:01 +0000 (09:25 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 10 Apr 2013 06:51:30 +0000 (14:51 +0800)
kernels/compiler_vector_load_store.cl

index 6d0d9b1..28fd93a 100644 (file)
@@ -5,6 +5,11 @@ kernel void compiler_vector_load_store() {
   f4 = vload4(0, p);
   vstore4(f4, 0, p);
   
+  long x[16], l;
+  long16 l16;
+  l = vload16(0, x);
+  vstore16(l16, 0, x);
+
   half h[16];
   half4 h4;
   f = vload_half(0, h);