diff options
author | Luo Xionghu <xionghu.luo@intel.com> | 2016-04-21 18:50:38 +0800 |
---|---|---|
committer | Yang Rong <rong.r.yang@intel.com> | 2016-04-22 18:12:46 +0800 |
commit | 2d5c0576f0bdf2ad739f3778623b85d15465ec83 (patch) | |
tree | 6eb675c8d9cd12e0853dc6183f83f80a24524584 /utests/runtime_barrier_list.cpp | |
parent | 5ba6932e872419cd5fef448475a5fd749f4a5215 (diff) | |
download | beignet-2d5c0576f0bdf2ad739f3778623b85d15465ec83.tar.gz |
buf[0] destroyed twice in event cases.
it will be destroyed at last.
Signed-off-by: Luo Xionghu <xionghu.luo@intel.com>
Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'utests/runtime_barrier_list.cpp')
-rw-r--r-- | utests/runtime_barrier_list.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/utests/runtime_barrier_list.cpp b/utests/runtime_barrier_list.cpp index 135996f5..3b8d3c37 100644 --- a/utests/runtime_barrier_list.cpp +++ b/utests/runtime_barrier_list.cpp @@ -65,7 +65,6 @@ void runtime_barrier_list(void) for (uint32_t i = 0; i < n; ++i) { OCL_ASSERT(((int*)buf_data[0])[i] == (int)value + 0x3); } - clEnqueueUnmapMemObject(queue, buf[0], buf_data[0], 0, NULL, NULL); for (cl_uint i = 0; i != sizeof(ev) / sizeof(cl_event); ++i) { clReleaseEvent(ev[i]); |