summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuiling Song <ruiling.song@intel.com>2017-06-23 18:18:25 +0800
committerYang Rong <rong.r.yang@intel.com>2017-08-02 17:16:30 +0800
commit4a508644b8cd182c4ca145f29c7c0ef0018eb0a3 (patch)
tree4479690a1c360c20e862ba9426c75c64cb854a3c
parentea25236f200f95a988b05c4ecc3627a732ac4da0 (diff)
downloadbeignet-4a508644b8cd182c4ca145f29c7c0ef0018eb0a3.tar.gz
runtime: some backend don't use block_ip.
Signed-off-by: Ruiling Song <ruiling.song@intel.com>
-rw-r--r--runtime/gen/cl_command_queue_gen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/gen/cl_command_queue_gen.c b/runtime/gen/cl_command_queue_gen.c
index d6e0b558..46348b69 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);