Article 2EG8V Let The Compiler Do Its Thing

Let The Compiler Do Its Thing

by
MichaelS
from High-Performance Computing News Analysis | insideHPC on (#2EG8V)
ProductGraphic_ParallelStudio-375-119x15

"In the past, developers would get best results if a loop was unrolled, that is, duplicating the body as many times as needed to that the operations could be operated on using full vectors. The number of iterations would reflect the hardware that the code was targeted towards. Since the application may have to run on different hardware in the future, results for todays generation of hardware may be compromised in the future. In fact, it is better to let modern compilers to the unrolling."

The post Let The Compiler Do Its Thing appeared first on insideHPC.

External Content
Source RSS or Atom Feed
Feed Location http://insidehpc.com/feed/
Feed Title High-Performance Computing News Analysis | insideHPC
Feed Link https://insidehpc.com/
Reply 0 comments