cc_staff
782
edits
(Clearer definition of intensity) |
(Interpretation of Intensity) |
||
Line 276: | Line 276: | ||
<translate> | <translate> | ||
== | === Interpretation of the Compiler Feedback === <!--T:19--> | ||
Computational Intensity of a loop is a measure of how much work is being done compared to memory operations. | The ''Computational Intensity'' of a loop is a measure of how much work is being done compared to memory operations. | ||
Basically: | |||
<!--T:20--> | <!--T:20--> | ||
<math>\mbox{Computational Intensity} = \frac{\mbox{Compute Operations}}{\mbox{Memory Operations}}</math> | |||
<!--T:21--> | <!--T:21--> | ||
In the compiler feedback, an <code>Intensity</code> <math>\ge</math> 1.0 suggests that the loop might run well on a GPU. | |||
== Understanding the code == <!--T:22--> | == Understanding the code == <!--T:22--> |