[Beignet] [PATCH] correct the kernel name

Guo Yejun yejun.guo at intel.com
Thu Sep 29 02:13:44 UTC 2016


Signed-off-by: Guo Yejun <yejun.guo at intel.com>
---
 src/cl_command_queue_gen7.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cl_command_queue_gen7.c b/src/cl_command_queue_gen7.c
index 5ad3b8b..9cdeb4c 100644
--- a/src/cl_command_queue_gen7.c
+++ b/src/cl_command_queue_gen7.c
@@ -354,7 +354,7 @@ cl_command_queue_ND_range_gen7(cl_command_queue queue,
   void* printf_info = NULL;
 
   /* Setup kernel */
-  kernel.name = "KERNEL";
+  kernel.name = interp_kernel_get_name(ker->opaque);
   kernel.grf_blocks = 128;
   kernel.bo = ker->bo;
   kernel.barrierID = 0;
-- 
2.7.4



More information about the Beignet mailing list