Multiscale modeling of neuromorphic computing: From materials to device operations