Add logging and options for cache blocking and inner loop methods