When does it make sense to use Loop fission/distribution if I am compiling for a single core processor?
            Asked
            
        
        
            Active
            
        
            Viewed 230 times
        
    3 Answers
0
            
            
        See comp.compilers for the standard answers.
In addition to that, an odd-ball case that I could think up might be if there is a potential that one of the iterations might block. (e.g. does dynamic memory allocation)
Note that that case is more "abuse" of an easy language "paralel for" than a real numerical reason. (easier to use "for" than to manually do it using threads, even if the FOR waits for all threads to complete)
        Marco van de Voort
        
- 25,628
 - 5
 - 56
 - 89