InvestorsHub Logo
Followers 2
Posts 5515
Boards Moderated 0
Alias Born 03/21/2021

Re: None

Saturday, 06/22/2024 12:18:42 PM

Saturday, June 22, 2024 12:18:42 PM

Post# of 12314
firt to the second . data flows to the device like a browser.
What does it mean for CUDA to have parallel kernels?
🌐
stackoverflow.com
› questions › 54412832 › what-does-it-mean-for-cuda-to-have-parallel-kernels
A CUDA kernel is written from the standpoint of a single thread. It answers the question "what will each thread do?" A CUDA kernel gives a single definition for what every thread will do. From the standpoint of a single thread, it appears to be a serial program. However it becomes parallel at launch time, when many threads execute the same code, "in parallel".
I think you're misinterpreting. CUDA has "parallel kernels" means that each kernel in CUDA has the opportunity to express (according to how it is written, and the specifics of CUDA concepts such as built-in variables) and manifest (at launch time, across many threads of execution) parallelism. It does not mean that CUDA inherently requires multiple kernels to express parallelism. A single CUDA kernel launch is inherently parallel.
You may wish to read the CUDA programming guide.
Join InvestorsHub

Join the InvestorsHub Community

Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.