Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Tim Prince <tprince@computer.org> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: Array operations in C |
| Date | 2015-04-07 10:30 -0400 |
| Message-ID | <coi7vpFm6stU1@mid.individual.net> (permalink) |
| References | <08d340bd-1867-458e-96cc-83a885cde72d@googlegroups.com> |
On 4/7/2015 9:06 AM, beliavsky@aol.com wrote: > According to the article > > http://www.hpcwire.com/2015/04/06/compilers-and-more-the-past-present-and-future-of-parallel-loops/ > April 6, 2015 > Compilers and More: The Past, Present and Future of Parallel Loops > by Michael Wolfe > > Intel C and C++ now support array operations such as the following: > > r[0:n] = 0; > for( int j = 0; j < ncols; ++j ) > r[0:n] += a[rowndx[0:n]+j] * v[colndx[rowndx[0:n]+j]]; > > What is the chance that such operations become part of standard C and are implemented in gcc? > gcc 5.0 has a more than 50% implementation of -fcilkplus. It's probably a chicken-and-egg question whether this gcc implementation will become somewhat useful, and whether the implied vectorization pragmas will become available for plain C99. Even if these did happen, I suppose the other response about slim chance of C or C++ standardization would be accurate.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Array operations in C beliavsky@aol.com - 2015-04-07 06:06 -0700
Re: Array operations in C Bartc <bc@freeuk.com> - 2015-04-07 15:10 +0100
Re: Array operations in C Bartc <bc@freeuk.com> - 2015-04-07 16:24 +0100
Re: Array operations in C Steve Thompson <stevet810@gmail.com> - 2015-04-09 00:35 +0000
Re: Array operations in C fir <profesor.fir@gmail.com> - 2015-04-08 07:48 -0700
Re: Array operations in C Tim Prince <tprince@computer.org> - 2015-04-07 10:30 -0400
Array operations in C asetofsymbols@gmail.com - 2015-04-07 08:00 -0700
Array operations in C asetofsymbols@gmail.com - 2015-04-07 08:09 -0700
Array operations in C asetofsymbols@gmail.com - 2015-04-07 08:36 -0700
Array operations in C asetofsymbols@gmail.com - 2015-04-07 08:58 -0700
Array operations in C asetofsymbols@gmail.com - 2015-04-08 00:16 -0700
Array operations in C asetofsymbols@gmail.com - 2015-04-08 01:30 -0700
Re: Array operations in C Tim Prince <tprince@computer.org> - 2015-04-08 08:59 -0400
csiph-web