A Riemannian Gradient Sampling Algorithm for Nonsmooth Optimization on Manifolds | Synapse