A quasidifferential optimization algorithm in a local memory parallel environment