But even when it's possible to reduce, you often need the compiler to do it for you. For example the simple C loop:
for (int i = 0;i<LEN;i++){
b += a[i];
}
The naive implementation of this loop is serial - every iteration of i relies on the previous one. In this case, the compiler can trivially infer that this is not the case, and can produce the nth value of i without doing all the previous computation, and thus enable parallelism. But if we were to feed the 'naive' version into an inet cpu, we'd still get serial performance.If a computation's dependencies are not so trivial to determine, this simple parallelization might be beyond the compiler's ability, or may be straight up impossible. The latter seems to be the case for more general software.
Tbh, I'm not criticizing inets, and as GP has pointed out, out-of-order computation already does dependency tracking, but that ends at the scope of a single logical CPU thread, and what comes beyond that is user-managed-threading, a very difficult and bug-prone approach.
So there needs to be a better primitive for hardware parallelism, I agree, but imo inets. are not the whole solution in of themselves.
Curiously, the nqueens algorithm as presented has no memory accesses, so we have no idea how this tackles that.