parallel computation for 4 nested loops uisng Threads

I am trying to get result for Nfinal as fast as possible using GPU but getting no resources in Google on how to make it using threads!

Any resources or suggestions would be helpful!

for(n=0;n<240;n++)
{
 for(x=0;x<320;x++)
 {
   Nvalue=n+15;
   Xvalue=x+16+Nvalue;   

   for(y=0;y<30;y++)
   {

    for(z=0;z<30;z++)
    {
     Nfinal=arrayone[y]+arraytwo[z]+Nvalue;
     Xfinal=arrayone[y]+arraytwo[z]+Xvalue;
    }

  }

 } 

}