SMASH: Sparse matrix atomic scratchpad hashing.