Closed GoogleCodeExporter closed 8 years ago
Yes, this should be possible. Do you happen to know whether GCC or MSVC have
similar mechanisms? Also, do you happen to have a test case on hand that
substantially benefits from the optimization?
Original comment by wnbell
on 2 Nov 2010 at 7:35
I think the answer is no for both GCC [1] and MSVC [2], unfortunately. I will
get back to you with an example.
[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33426
[2] http://msdn.microsoft.com/en-us/library/d9x1s805.aspx
Original comment by andrew.c...@gmail.com
on 2 Nov 2010 at 7:53
Original comment by wnbell
on 6 Feb 2011 at 6:28
Punt until we can test that these pragmas are effective.
Original comment by jaredhoberock
on 8 Sep 2011 at 10:17
With the recent code reorganization I'm not sure where these additions would
go. Arguably they could be applied to the scalar/ implementations with the
appropriate #ifdef guards. Alternatively, we could supply an ICC backend and
make that compose-able with backend::omp and backend::tbb.
Of course we'd first want to make sure that #pragma ivdep was worth the bother
at all.
Original comment by wnbell
on 24 Jan 2012 at 2:01
Forwarded to https://github.com/thrust/thrust/issues/76
Original comment by jaredhoberock
on 7 May 2012 at 9:30
Original issue reported on code.google.com by
andrew.c...@gmail.com
on 2 Nov 2010 at 7:07