Displaying 4 results from an estimated 4 matches for "row_ptr".
Did you mean:
  bo_ptr
  
2015 Jul 08
7
[LLVMdev] LLVM loop vectorizer
Hello.
     I am trying to vectorize a CSR SpMV (sparse matrix vector multiplication) procedure 
but the LLVM loop vectorizer is not able to handle such code.
     I am using cland and llvm version 3.4 (on Ubuntu 12.10). I use the -fvectorize option 
with clang and -loop-vectorize with opt-3.4 .
     The CSR SpMV function is inspired from 
2016 Feb 18
3
[LLVMdev] LLVM loop vectorizer
...>>     Alex Susu
>> 
>> On 7/8/2015 9:17 PM, Michael Zolotukhin wrote:
>>> Hi Alex,
>>> 
>>> Example from the link you provided looks like this:
>>> 
>>> |for  (i=0;  i<M;  i++  ){
>>>     z[i]=0;
>>>     for  (ckey=row_ptr[i];  ckey<row_ptr[i+1];  ckey++)  {
>>>       z[i]  +=  data[ckey]*x[colind[ckey]];
>>>     }
>>>   }|
>>> 
>>> Is it the loop you are trying to vectorize? I don’t see any ‘if’ inside the innermost loop.
>> I tried to simplify this code in the h...
2016 Jun 04
4
[LLVMdev] LLVM loop vectorizer
...>>>> 
>>>> On 7/8/2015 9:17 PM, Michael Zolotukhin wrote:
>>>>> Hi Alex,
>>>>> 
>>>>> Example from the link you provided looks like this:
>>>>> 
>>>>> |for  (i=0;  i<M;  i++  ){ z[i]=0; for  (ckey=row_ptr[i];  ckey<row_ptr[i+1];
>>>>> ckey++)  { z[i]  +=  data[ckey]*x[colind[ckey]]; } }|
>>>>> 
>>>>> Is it the loop you are trying to vectorize? I don’t see any ‘if’ inside the
>>>>> innermost loop.
>>>> I tried to simplify this...
2016 Jun 07
2
[LLVMdev] LLVM loop vectorizer
...>>>> 
>>>> On 7/8/2015 9:17 PM, Michael Zolotukhin wrote:
>>>>> Hi Alex,
>>>>> 
>>>>> Example from the link you provided looks like this:
>>>>> 
>>>>> |for  (i=0;  i<M;  i++  ){ z[i]=0; for  (ckey=row_ptr[i];  ckey<row_ptr[i+1];
>>>>> ckey++)  { z[i]  +=  data[ckey]*x[colind[ckey]]; } }|
>>>>> 
>>>>> Is it the loop you are trying to vectorize? I don’t see any ‘if’ inside the
>>>>> innermost loop.
>>>> I tried to simplify this...