[Beignet] [PATCH 4/5] runtime: set the kernel name in the cl_gpgpu_kernel structure
Mircea Gherzan
mircea.gherzan at intel.com
Fri Jul 8 12:39:38 UTC 2016
The debugger callbacks need an ID for a kernel/shader.
Signed-off-by: Mircea Gherzan <mircea.gherzan 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 6a9cf1f..648ac62 100644
--- a/src/cl_command_queue_gen7.c
+++ b/src/cl_command_queue_gen7.c
@@ -350,7 +350,7 @@ cl_command_queue_ND_range_gen7(cl_command_queue queue,
void* printf_info = NULL;
/* Setup kernel */
- kernel.name = "KERNEL";
+ kernel.name = cl_kernel_get_name(ker);
kernel.grf_blocks = 128;
kernel.bo = ker->bo;
kernel.barrierID = 0;
--
1.8.3.1
More information about the Beignet
mailing list