Zaslat SMS: In-memory computing on a photonic platform