diff options
author | Lu Guanqun <guanqun.lu@intel.com> | 2012-12-25 13:26:55 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@linux.intel.com> | 2013-03-29 19:35:17 +0800 |
commit | 4d5f9ccae70a540f040bdb4068954f57a3b8ea30 (patch) | |
tree | 170af188adf9d82ace43dc302c456664552bfe0c /kernels/compiler_multiple_kernels.cl | |
parent | 18dc79be0c89f4785164c132ae0f31b5e085ac9d (diff) |
fix assertion when two kernels exist in cl file
The root cause is that it fails to increment `currID` when traversing hash map.
Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'kernels/compiler_multiple_kernels.cl')
-rw-r--r-- | kernels/compiler_multiple_kernels.cl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kernels/compiler_multiple_kernels.cl b/kernels/compiler_multiple_kernels.cl new file mode 100644 index 00000000..d5cea68a --- /dev/null +++ b/kernels/compiler_multiple_kernels.cl @@ -0,0 +1,7 @@ +__kernel void first_kernel(void) +{ +} + +__kernel void second_kernel(void) +{ +}
\ No newline at end of file |