lbp kernel and all the memory operations checked