prsyahmi / GpuRamDrive

RamDrive that is backed by GPU Memory
MIT License
1.05k stars 86 forks source link

[Question] Performance comparison if CUDA was used #4

Closed Maghoumi closed 7 years ago

Maghoumi commented 7 years ago

First, great PoC! I can't believe nobody had though of this! 👍 A quick question: I noticed your'e handling the communication via OpenCL. I was curions to know if using CUDA would've made any improvements overall. I know CUDA supports overlapping operations and tons of optimizations under the hood, and I wanted to know if you ever considered or tried that.

Also, for anybody else who may be curious about the performance on a higher end GPU, here's a screenshot of the benchmark that was done using my GTX 1080 card.

GTX 1080

Again, great work!

prsyahmi commented 7 years ago

Hi, thanks! This was the result using CUDA on my system, same spec as on readme.

I've pushed latest commit with CUDA integrated maybe there's something you'd like to tweak or improve further. cuda

Maghoumi commented 7 years ago

Hey, Oh wow these results are indeed very interesting... Thanks! 👍 I'll take a look! Thanks again : )