Performing computation directly within memory (e.g., ReRAM crossbars) to reduce data movement and improve energy efficiency.