karrenberg/wfvopencl — Issue #6: implement heuristic to disable WFV for unsuited kernels
Author: karrenberg
Created: 2011-11-08 23:11:28+00:00
State: open

Things we could take into account:
- number of incoherent memory accesses (scatter/gather)
- divergence information ("how much overhead due to linearization")

WFV::analyzeFunction() should give us all this information.

This should be weighted against the amount (and estimated runtime) of "vectorizable" instructions.