Comparison of performance/complexity of stencil code implementations for different architectures