[Beignet] [PATCH 2/2] Utest: Add -cl-kernel-arg-info to the utest test_get_arg_info

junyan.he at inbox.com junyan.he at inbox.com
Sun Sep 6 03:45:15 PDT 2015


From: Junyan He <junyan.he at linux.intel.com>

Signed-off-by: Junyan He <junyan.he at linux.intel.com>
---
 utests/get_arg_info.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utests/get_arg_info.cpp b/utests/get_arg_info.cpp
index c1ea1ef..effeb64 100644
--- a/utests/get_arg_info.cpp
+++ b/utests/get_arg_info.cpp
@@ -10,7 +10,7 @@ void test_get_arg_info(void)
   char name[64];
 
   // Setup kernel and buffers
-  OCL_CREATE_KERNEL("test_get_arg_info");
+  OCL_CALL (cl_kernel_init, "test_get_arg_info.cl", "test_get_arg_info", SOURCE, "-cl-kernel-arg-info");
 
   //Arg 0
   ret = clGetKernelArgInfo(kernel, 0, CL_KERNEL_ARG_ADDRESS_QUALIFIER,
-- 
1.9.1



More information about the Beignet mailing list