Samsung is working on artificial intelligence chips that use in-memory computing.