diff options
author | Yang, Rong R <rong.r.yang@intel.com> | 2017-07-20 13:40:13 +0800 |
---|---|---|
committer | Yang Rong <rong.r.yang@intel.com> | 2017-07-27 16:19:37 +0800 |
commit | ad63a53e5f77eb2a09e0e72cbee60298d6ff4d02 (patch) | |
tree | 9d0cca7632f3808bf26cd29f548cf2e4cb1747c4 /utests/compiler_bswap.cpp | |
parent | 705e73c7873e11a14fcc308fafd1c26bc188021f (diff) |
Runtime: fix the context ref is not 0 assert when delete.
The CL_ENQUEUE_FILL_BUFFER_ALIGN8_* internal program is the same
program, only add the program's ref once, but when delete context,
caculate the internal program count, will add them individually.
This mismatch will cause the context be free by mistake.
New different CL_ENQUEUE_FILL_BUFFER_ALIGN8_* program for clearly.
Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: Ruiling Song <ruiling.song@intel.com>
Diffstat (limited to 'utests/compiler_bswap.cpp')
0 files changed, 0 insertions, 0 deletions