[Beignet] [PATCH V2 3/5] Utest: read/write_only qualifier should only used with image.

Xiuli Pan xiuli.pan at intel.com
Tue Sep 27 05:11:07 UTC 2016


From: Pan Xiuli <xiuli.pan at intel.com>

Signed-off-by: Pan Xiuli <xiuli.pan at intel.com>
---
 kernels/test_get_arg_info.cl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernels/test_get_arg_info.cl b/kernels/test_get_arg_info.cl
index ae08887..b9201a4 100644
--- a/kernels/test_get_arg_info.cl
+++ b/kernels/test_get_arg_info.cl
@@ -3,6 +3,6 @@ typedef struct _test_arg_struct {
     int b;
 }test_arg_struct;
 
-kernel void test_get_arg_info(read_only global float const volatile *src, read_write local int *dst, test_arg_struct extra) {
+kernel void test_get_arg_info(global float const volatile *src, local int *dst, test_arg_struct extra) {
 
 }
-- 
2.7.4



More information about the Beignet mailing list