Displaying 2 results from an estimated 2 matches for "cb0d93dc".
2017 Dec 30
1
Issues with omp simd
...>>>> Please help
>>>>
>>>>
>>>> --
>>> ~Craig
>>>
>>
>> --
> ~Craig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171231/cb0d93dc/attachment.html>
2017 Dec 30
3
Issues with omp simd
I even tried following;
int main(int argc, char **argv)
{
const int size = 1000000;
float a[size], b[size],c[size];
#pragma omp simd
for (int i=0; i<size; ++i)
{
a[i]=2; b[i]=3; c[i]=4;
c[i]= a[i] + b[i];
}
return 0;
}
but the output with and without openmp simd is same. why is that so?
On Sun, Dec 31, 2017 at 12:01