- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Everybody,
I am new to vector programming and I am studying here and there just to better understand the details ...
There is a statement which isn't clear to me enough saying ... "Also for SIMD-enabled functions it is not allowed to have side effects except writes by their arguments. This rule can be violated by non-vector function calls, so be careful executing such calls in SIMD-enabled functions."
What does the above mean by "side effects except writes by their arguments. "?
I would appreciate any comments / elaboration.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Side-effect basically means that that a SIMD-enabled function cannot change any state outside of the function. (Like modifying a variable outside its local environment is not permitted)
Thanks,
Rahul
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Side-effect basically means that that a SIMD-enabled function cannot change any state outside of the function. (Like modifying a variable outside its local environment is not permitted)
Thanks,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for accepting the solution. Intel will no longer monitor this thread. Further discussions on this thread will be considered community only.
Regards,
Rahul

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page