Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Apropos forceinline.

yuriisig
Beginner
1,215 Views

If program and subroutine are in different files forceinline does not work. Why?

0 Kudos
8 Replies
Steven_L_Intel1
Employee
1,215 Views
The compiler can't inline unless they are in the same source or if you use /Qipo
0 Kudos
yuriisig
Beginner
1,215 Views
Steve,


Thanks.
Why Intel Fortran does not support double extended?

0 Kudos
Steven_L_Intel1
Employee
1,215 Views
You mean 80-bit floating? That's an x87 feature not supported by the SSE instructions.  It would be a lot of work to support for not much benefit, so we chose to do other things.  We do support 128-bit floating.
0 Kudos
yuriisig
Beginner
1,215 Views
>>You mean 80-bit floating?
Yes.
>>That's an x87 feature not supported by the SSE instructions.
I know it.

>> ...to support for not much benefit.
Not always
>>We do support 128-bit floating.
It very slowly.

0 Kudos
yuriisig
Beginner
1,215 Views
Quoting yuriisig
>>We do support 128-bit floating.
It very slowly.
 

For example, speed of multiplication of matrixes decreases almost in 300 times in comparison with dgemm Intel MKL!!! It is absolutely unacceptable result. My algorithm concedes in speed of all in 13 times.



0 Kudos
Steven_L_Intel1
Employee
1,215 Views
I understand that 128-bit floating is slow.  But adding a new datatype, especially one that is not a power of two in byte size, is a major undertaking for the compiler and, while we've received a few requests for this over the years, other work has been given higher priority.

MKL DGEMM is very heavily optimized and uses multiple cores - not really a fair comparison.
0 Kudos
yuriisig
Beginner
1,215 Views
MKL DGEMM is very heavily optimized and uses multiple cores - not really a fair comparison.

I know it: http://redfort-software.intel.com/en-us/forums/showthread.php?t=76595&o=d&s=lr

My algorithm with accuracy more than 30 decimal signs concedes MKL DGEMM In total in 13 times (for x64).

0 Kudos
yuriisig
Beginner
1,215 Views
It would be a lot of work to support for not much benefit, so we chose to do other things.  
You are wrong: the good compiler should support the main possibilities of the processor. For development of many algorithms with accuracy double support 80-bit floating is important.
0 Kudos
Reply