antonmks / Alenka

GPU database engine
Other
1.17k stars 120 forks source link

What functions are used for sorting and external sorting of strings? #22

Closed AlexeyAB closed 11 years ago

AlexeyAB commented 11 years ago

I have not found where are used the functions str_sort() and str_sort_host() from strings.cu. They are used somewhere? And what functions are used for sorting and external sorting of strings?

antonmks commented 11 years ago

These functions are used in sorts.cu file. And sorts.cu file is used by emit_order function in bison.y file. Basically if the dataset fits into GPU then we use a GPU sort, otherwise the dataset is sorted in a host memory.

Regards,

Anton