work with simd pragma

16 views
Skip to first unread message

Hengjie

unread,
Jan 14, 2020, 6:30:47 PM1/14/20
to Pluto development
Hello,

I want to vectorize the coded generated by Pluto. However, when my source code contains "#pragam omp simd", Clan generates syntax error at this pragma. 
The code optimized by Pluto has many inner loops. It would be impractical to add pragma before each loop. May I ask if there is a way to work around this? 
Thanks!

Hengjie

Abhishek Patwardhan

unread,
Jan 20, 2020, 7:13:00 AM1/20/20
to Hengjie, Pluto development
Hi
It appears that you are trying to optimize "explicitly"? parallel program (as opposed to parallelizing  a sequential program)
If yes, then AFAIK clan doesn't supports detection of such pragmas.
Instead what you need is a compilation strategy explained below :


>> However, when my source code contains "#pragam omp simd", Clan generates syntax error at this pragma. 

Thanks and Regards,
= Abhishek.



--
You received this message because you are subscribed to the Google Groups "Pluto development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pluto-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pluto-development/a134b6a8-ada1-4a88-a0fc-c68543ba3754%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages