Y
Hacker News
new
|
ask
|
show
|
jobs
by
tater
4722 days ago
Not to mention GPUs have no stack, no recursion.
3 comments
larsberg
4722 days ago
You can compile away those issues with a sufficiently smart compiler!
https://dl.acm.org/citation.cfm?id=2364563
(Caveat: I'm the author of that paper)
link
daniel-cussen
4722 days ago
You can do tail recursion without a stack...but still, you'd have to branch, which GPUs hate doing.
link
gamegoblin
4722 days ago
NVIDIA hardware with compute capability 2.0 and support for CUDA 3.1 (e.g. Fermi chips) have recursion.
link
https://dl.acm.org/citation.cfm?id=2364563
(Caveat: I'm the author of that paper)