Adding local MP in Cuda