Is there any way through we can make any program by parallel programming | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there any way through we can make any program by parallel programming

26th Oct 2017, 5:45 PM
Ali Ahmed Shaikh
Ali Ahmed Shaikh - avatar
2 Answers
+ 4
Hello! Parallel programming is best suited for GPU programming because modern gpus have tons of cores but they should perform a little operation(thread), so many little operations multiplied x thousand of threads = big work. for example if you want to turn a 15 megapixel image from color to shades of grey, you can execute a thread for every pixel in parallel, that way you can do the entire process in one time(about some clocks.. Or less than a millisecond.. I m not precise here). For CPUs is different.. modern cpus have many threads and cores, Intel presented a 18 core 36 thread CPU, but absolutely not as much as GPUs(thousand of CUDAcores). They work differently.. I'll give you an example.. suppose you are a gamer YouTube.. then you are playing Battlefield (it takes some threads from CPU), plus you are recording because you want to post the video of your fantastic match(some threads), plus you are chatting whit your friends (some threads)..etc. this is the parallelism for CPU.. threads are less but more complex. Hope it helps
26th Oct 2017, 10:02 PM
AZTECCO
AZTECCO - avatar
+ 2
If you mean "pair programming", I've seen people use CodeBunny.io and CodeAnywhere.com
26th Oct 2017, 8:37 PM
Kirk Schafer
Kirk Schafer - avatar