PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

ARM NEON support
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
Linas



Joined: 22 May 2012
Posts: 9

PostPosted: Tue May 22, 2012 1:39 am    Post subject: ARM NEON support Reply with quote

I want to compare the performance different about has ARM NEON support and not has ARM NEON support,

could someone know how to enable/disable it at openCL thanks?
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5815
Location: The Portland Group Inc.

PostPosted: Thu May 24, 2012 11:48 am    Post subject: Reply with quote

Hi Linas,

Sorry for the late response. I need to ask our OpenCL compiler team. Their response:

When using pgcl on ARM, the option "-Mnoneon", when placed between the delimiters such as: --opencl-flags -Mnoneon --, will disable neon vector instructions, even if there are vector datatypes and vector operations within the LLVM assembly file. Note that this assumes static compilation.

- Mat
Back to top
View user's profile
Linas



Joined: 22 May 2012
Posts: 9

PostPosted: Thu May 24, 2012 11:34 pm    Post subject: Reply with quote

Hi Mat

Thanks for your reply

I have give a try for your compiler option

after static compiler ,I used objdump to check the output so file ,I still see the neon instruction , it is normal?

if I want to used dymantic compiler ,to diable neon support , how to do it?


Linas
Back to top
View user's profile
Linas



Joined: 22 May 2012
Posts: 9

PostPosted: Tue May 29, 2012 7:14 pm    Post subject: Reply with quote

Sorry , after I check , the compiler flasg "-Mnoneon " is working, I could disable Neon support

what I see is VFP instruction

BTW , I also found if I add compiler flag -o1 or -o2 ,the binary look like same as I used "-Mnoneon " it is normal?

anotherthing is , if I want to disable VFP support , what should I do?
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5815
Location: The Portland Group Inc.

PostPosted: Wed May 30, 2012 12:14 pm    Post subject: Reply with quote

Quote:
BTW , I also found if I add compiler flag -o1 or -o2 ,the binary look like same as I used "-Mnoneon " it is normal?
The compiler optimization level shouldn't matter since vector operations code generation will be generated at all opt levels. The only difference is if NEON or VFP is used, and NEON is the default where available.

Quote:
if I want to disable VFP support , what should I do?
We currently only support VFP and NEON. You will need to use one or the other.

- MAt
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group