Is it possible to accelerate (dynamic) LINQ queries using GPU?

后端 未结 5 818
青春惊慌失措
青春惊慌失措 2021-02-07 13:35

I have been searching for some days for solid information on the possibility to accelerate LINQ queries using a GPU.

Technologies I have \"investigated\" so far:

5条回答
  •  时光说笑
    2021-02-07 14:18

    The simple answer for your use case is no.

    1) There's no solution for that kind of workload even in raw linq to object, much less in something that would replace your database.

    2) Even if you were fine with loading the whole set of data at once (this takes time) it would still be much slower as GPU have high thoroughput but their access is high latency, so if you're looking at "very" fast solutions GPGPU is often not the answer as just preparing / sending the workload and getting back the results will be slow, and in your case probably need to be done in chunks too.

提交回复
热议问题