antonmks / Alenka

GPU database engine
Other
1.17k stars 120 forks source link

Compile problem for strings_sort_device.cu #113

Open kuaikuaikim opened 7 years ago

kuaikuaikim commented 7 years ago

@antonmks Why it take too much time for compiling strings_sort_device.cu. My device is nvidia 920m Geforce 920m. Finally i can't wait and just kill it.

kuaikuaikim commented 7 years ago

I use gcc4.9(ubuntu 17.05 gnome) before.but when i replace using gcc 5, it print some error: /usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10684): error: argument of type "void " is incompatible with parameter of type "int " /usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10693): error: argument of type "void " is incompatible with parameter of type "long long "

antonmks commented 7 years ago

Yes, it takes a while to compile. You can modify string

define UNROLL_COUNT 101

in file strings.h - it defines maximum supported length of string types. It would compile faster if you set it to, say, 50.

kuaikuaikim commented 7 years ago

Thx @antonmks , you solved my big problem.When i try execute test sql script, occur an error: terminate called after throwing an instance of 'mgpu::cuda_exception_t' what(): an illegal memory access was encountered Aborted (core dumped)

antonmks commented 7 years ago

It doesn't support DELETE and UPDATE. Alenka is just an experimental program that I wrote. It only supports LOAD, SELECT, JOIN, GROUP and SORT.

On Fri, Apr 28, 2017 at 6:53 AM, jquick notifications@github.com wrote:

Thx @antonmks https://github.com/antonmks , you solved my big problem.When i try execute test sql script, occur an error: terminate called after throwing an instance of 'mgpu::cuda_exception_t' what(): an illegal memory access was encountered Aborted (core dumped)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/antonmks/Alenka/issues/113#issuecomment-297900713, or mute the thread https://github.com/notifications/unsubscribe-auth/ABhkFOZ7VArWnYuLiklqM6JUd0QDlzw-ks5r0WKjgaJpZM4NJq7k .