Error in explicit-simd vectorization
by Nicholas Curtis
Hi all,
I'm playing around with explicit SIMD-vectorization (trying to teach POCL
to you know, actually speedup), and I think I've encountered a bug, see the
linked gist:
https://gist.github.com/arghdos/e7402d7fd5d7e20090393b48408448ad
By simply changing the order of an instruction, i.e. from (with appropriate
indicies):
>a = b + a
to
>a = a + b
I get the error in error_log.txt (again, see gist).
The former version (a = b + a) gives what seems to me to be the correct
output (see output.cl)
Any thoughts?
Nick
1 year