Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

Why IPP uses gcc by default?

$
0
0

Hi,

I installed "parallel_studio_xe_2015_update3".

I ran the command:

perl build.pl --cmake=speech-codecs,intel64,make,d,mt,debug --build --clean

(I know speech codecs is no more supported, but my query is not about that..)

By default the build happens with gcc.

Query 1> Why gcc is default? Why not icc? Why icc location is not set in the $PATH? (Is it because I've installed parallel_studio_xe_2016 also? or it depends on type of license I've)

Query 2> When icc was forced to compiler, build failed. Why?

Query 3> The command "icc -fopenmp openmp2.c" (see attached code) gives correct multithread output (see below). Whereas, same code in IPP framework (i.e., when put in player.c of speech-codec) gives single threaded output. Why? How to get multithreaded output? Any code snippet similar to  attached one, that demonstrates IPP multithread features?

Query 4> Does icc perform better than gcc? (What is the meaning it is gcc compatible - icc version 15.0.3 (gcc version 4.8.3 compatibility)?)

 

(I've Xeon D1540 board.)

correct multithread output:

1
4
1
3
1

 

 

single threaded output:

1
1
1
1
1

 

 

Thank you,

Basawaraj

AttachmentSize
Downloadopenmp2.c479 bytes

Viewing all articles
Browse latest Browse all 1489

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>