- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
is there a FORTRAN-keyword similar to the __attribute__((vector)) of __declspec(vector) in C/C++,
which automatically creates a vectorized version of my function?
Best,
eimunic
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fortran has elemental functions - you precede the FUNCTION keyword with the keyword ELEMENTAL. This is not really the same as __declspec(vector), but the Intel Fortran compiler is very good about vectorizing array and loop operations.
If you have further questions about Intel Fortran, please ask in one of our Fortran forum sections.
If you have further questions about Intel Fortran, please ask in one of our Fortran forum sections.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page