Neuro-inspired Computing Using Resistive Synaptic Devices