[Beignet] [PATCH 2/6] runtime: some backend don't use block_ip.

junyan.he at inbox.com junyan.he at inbox.com
Fri Jun 23 10:18:25 UTC 2017


From: Ruiling Song <ruiling.song at intel.com>

Signed-off-by: Ruiling Song <ruiling.song at intel.com>
---
 runtime/gen/cl_command_queue_gen.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/runtime/gen/cl_command_queue_gen.c b/runtime/gen/cl_command_queue_gen.c
index 4c18a52..0cb19f9 100644
--- a/runtime/gen/cl_command_queue_gen.c
+++ b/runtime/gen/cl_command_queue_gen.c
@@ -666,7 +666,6 @@ gen_gpgpu_upload_final_curbe(cl_kernel kernel, cl_kernel_gen kernel_gen,
     }
 
     assert(ip_offset < 0 || dw_ip_offset < 0);
-    assert(ip_offset >= 0 || dw_ip_offset >= 0);
 
     if (id_offset[0] >= 0) {
       ids[0] = (uint32_t *)alloca(sizeof(uint32_t) * gpu->thread.thread_num * gpu->simd_size);
-- 
2.7.4





More information about the Beignet mailing list