Click here to Skip to main content
15,867,939 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more: , +
hi all,

how to implement a subset of the SQLite command processor directly on the GPU using CUDA.Net on windows OS.

thank you.
Posted
Comments
Sergey Alexandrovich Kryukov 30-Apr-15 18:23pm    
Why?
—SA
Member 10219452 1-May-15 15:16pm    
really i have read a lot in this subject to know how i can execute a select command in the GPU only without using CPU, because i read about the performance of GPU to accelerate any operation so i want to see this performance when execute the command counterpart of CPU.
Dave Kreskowiak 30-Apr-15 19:31pm    
For ****'s sake, why? What part of a database parse and lookup is so massively parallel you need a GPU to do the lookup?

You know what. I really don't want to know.
Sascha Lefèvre 30-Apr-15 20:00pm    
Why not take a performant database system in the first place instead of trying to accelerate a slow one?
Member 10219452 1-May-15 15:16pm    
i have read a lot in this subject to know how i can execute a select command in the GPU only without using CPU, because i read about the performance of GPU to accelerate any operation so i want to see this performance when execute the command counterpart of CPU.

1 solution

Start reading these[^]. You're really not going to get any help on this out of a forum environment because the discussions would be huge and nobody is going to write this code for you.
 
Share this answer
 
Comments
Member 10219452 1-May-15 13:38pm    
really i have read a lot in this subject to know how i can execute a select command in the GPU only without using CPU, because i read about the performance of GPU to accelerate any operation so i want to see this performance when execute the command counterpart of CPU.
Dave Kreskowiak 1-May-15 14:25pm    
You seem to think that this is an easy thing to do. Just pop in a couple of function calls into your query and, boom!, instant results.

That's so far removed from what is actually involved in getting this to work that very very few people have ever tried it and succeeded in getting it to work.

To execute a LINQ query on some arbitrary dataset, you need a Provider that knows how to handle that dataset and execute a query on it. The Provider you're talking about (that you don't even know you're talking about!) is so exceptionaly specialized that it doesn't even exist! YOU would have to write a LINQ compatible data provider that knows how to transfer the required data to the GPU and knows how to parse and execute your query.

Start reading these: Google: how to write a LINQ Provider[^].

Good Luck. You're going to need it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900