MPIM: Multi-purpose in-memory processing using configurable resistive memory | IEEE Conference Publication | IEEE Xplore