logoalt Hacker News

ameliusyesterday at 12:05 PM1 replyview on HN

Test of your GPU approach/library versus CPU.


Replies

eesmithyesterday at 1:10 PM

I think the author is more interested in showing how to implement a certain problem using a GPU approach than to test a GPU approach vs. a CPU one.

As mentioned, the topic comes from an end-of-chapter problem set on prefix sums, at https://www.cs.cmu.edu/~guyb/papers/Ble93.pdf .

A prefix sum cam be implemented using a GPU, as demonstrated.

However, using a prefix sum may not be the best way to compute Fibonacci numbers. As demonstrated.

show 1 reply