Insights Parallel Programming on a CPU with AVX-512

AI Thread Summary
The discussion focuses on two distinct approaches to parallel programming for solving the problem of finding the best-fitting regression line for a set of points. The first approach utilizes Single-instruction multiple-thread (SIMT) programming on Nvidia GPUs, where a single instruction is executed simultaneously across numerous microprocessors. The second approach employs Single-instruction multiple data (SIMD) on x64 processors from Intel and AMD, allowing a single instruction to operate on wide registers containing vectors. The article invites comments and questions, highlighting a surprising result that challenges common assumptions about these programming methods.
Messages
38,034
Reaction score
10,507
This article is the second of a two-part series that presents two distinctly different approaches to parallel programming. In the two articles, I use different approaches to solve the same problem: finding the best-fitting line (or regression line) for a set of points.
The two different approaches to parallel programming presented in this and the preceding Insights article (Parallel Programming on an NVIDIA GPU | Physics Forums) use these technologies.

Single-instruction multiple-thread (SIMT) programming is provided on the Nvidia® family of graphics processing units (GPUs). In SIMT programming, a single instruction is executed simultaneously on hundreds of microprocessors on a graphics card.
Single-instruction multiple data (SIMD) as provided on x64 processors from Intel® and AMD® (this article). In SIMD programming, a single instruction operates on wide registers that can contain vectors...

Continue reading...
 
Last edited:
  • Like
Likes Insulator, Jarvis323 and Greg Bernhardt
Technology news on Phys.org
That's an interesting, and surprising, result. Most people seem to have assumed the opposite. Thank you for this work!
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top