Displaying 5 results from an estimated 5 matches for "stencil_poly".
2017 Jul 01
3
Jacobi 5 Point Stencil Code not Vectorizing
...M, "hameeza ahmed" <hahmed2305 at gmail.com> wrote:
> I even tried polly but still my llvm IR does not contain vector
> instructions. i used the following command;
>
> clang -S -emit-llvm stencil.c -march=knl -O3 -mllvm -polly -mllvm
> -polly-vectorizer=stripmine -o stencil_poly.ll
>
> Please specify what is wrong with my code?
>
>
> On Sat, Jul 1, 2017 at 4:08 PM, hameeza ahmed <hahmed2305 at gmail.com>
> wrote:
>
>> Hello,
>>
>> I am trying to vectorize following stencil code;
>>
>> #include <stdio.h>
>>...
2017 Jul 01
2
Jacobi 5 Point Stencil Code not Vectorizing
Hello,
I am trying to vectorize following stencil code;
#include <stdio.h>
#define N 100351
// This function computes 2D-5 point Jacobi stencil
void stencil(int a[restrict][N])
{
int i, j, k;
for (k = 0; k < 100; k++)
{ for (i = 1; i <= N-2; i++)
{ for (j = 1; j <= N-2; j++)
{ a[i][j] = 0.25 * (a[i][j] + a[i-1][j] + a[i+1][j] + a[i][j-1] +
2017 Jul 01
2
Jacobi 5 Point Stencil Code not Vectorizing
...mail.com> wrote:
>>
>>> I even tried polly but still my llvm IR does not contain vector
>>> instructions. i used the following command;
>>>
>>> clang -S -emit-llvm stencil.c -march=knl -O3 -mllvm -polly -mllvm
>>> -polly-vectorizer=stripmine -o stencil_poly.ll
>>>
>>> Please specify what is wrong with my code?
>>>
>>>
>>> On Sat, Jul 1, 2017 at 4:08 PM, hameeza ahmed <hahmed2305 at gmail.com>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> I am trying to vect...
2017 Oct 23
3
Jacobi 5 Point Stencil Code not Vectorizing
...</a>> wrote:<br />>>> I even tried polly but still my llvm IR does not contain vector instructions. i used the following command;<br />>>><br />>>> clang -S -emit-llvm stencil.c -march=knl -O3 -mllvm -polly -mllvm -polly-vectorizer=stripmine -o stencil_poly.ll<br />>>><br />>>> Please specify what is wrong with my code?<br />>>><br />>>> On Sat, Jul 1, 2017 at 4:08 PM, hameeza ahmed <<a href="mailto:hahmed2305@gmail.com">hahmed2305@gmail.com</a>> wrote:<br />...
2017 Oct 24
3
Jacobi 5 Point Stencil Code not Vectorizing
...;> I even tried polly but still my llvm IR does not contain vector
>> >>> instructions. i used the following command;
>> >>>
>> >>> clang -S -emit-llvm stencil.c -march=knl -O3 -mllvm -polly -mllvm
>> >>> -polly-vectorizer=stripmine -o stencil_poly.ll
>> >>>
>> >>> Please specify what is wrong with my code?
>> >>>
>> >>> On Sat, Jul 1, 2017 at 4:08 PM, hameeza ahmed <hahmed2305 at gmail.com>
>> >>> wrote:
>> >>>> Hello,
>> >>>>...