Open pramodgadekar opened 8 years ago
Yes it is not going to work without strings_sort_device.cu. So you need to compile it . It takes a while but it has to be done just once.
How much memory do I need to compile the string_sort_device.cu?
You can modify UNROLL_COUNT parameter in file strings.h to improve compilation time.
Thank you! I'll have a try.
I am trying to compile alenka and strings_sort_device.cu file take too much time not compile yet. OS- WIndows 7 64bit Cuda Toolkit 7.5 VStudio 10 Could you solve this problem I am tried without strings_sort_device.cu and following problem occurred
E:\gpu database engine>nmake -f Makefile.win
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved.
gpucontext.obj mgpuutil.obj -o alenka merge.obj MurmurHash2_64.obj filter.obj select.obj zone_map.obj atof.obj cm.obj bison.obj callbacks.obj main.obj operat ors.obj mgpucontext.obj mgpuutil.obj merge.obj MurmurHash2_64.obj filter.obj select.obj zone_map.obj atof.obj cm.obj bison.obj callbacks.obj main.obj operators.obj cm.obj : error LNK2019: unresolved external symbol "void cdecl str_gather(void ,unsigned __int64,void ,void ,unsigned int)" (?str_gather@@YAXPEAX_K00I@Z) r eferenced in function "void __cdecl apply_permutation_char(char ,unsigned int ,unsigned __int64,char ,unsigned int)" (?apply_permutation_char@@YAXPEADPEAI_K0 I@Z) cm.obj : error LNK2019: unresolved external symbol "void cdecl str_gather_host (unsigned int const ,unsigned __int64,void ,void ,unsigned int)" (?str_gather _host@@YAXPEBI_KPEAX2I@Z) referenced in function "void __cdecl apply_permutation _char_host(char ,unsigned int ,unsigned __int64,char ,unsigned int)" (?apply_ permutation_char_host@@YAXPEADPEAI_K0I@Z) cm.obj : error LNK2019: unresolved external symbol "void cdecl str_sort_host(c har *,unsigned int64,unsigned int ,bool,unsigned int)" (?str_sort_host@@YAXPE AD_KPEAI_NI@Z) referenced in function "void __cdecl update_permutation_char_host (char ,unsigned int ,unsigned __int64,class std::basic_string<char,struct std: :char_traits,class std::allocator >,char ,unsigned int)" (?update_p
ermutation_char_host@@YAXPEADPEAI_KV?$basic_string@DU?$char_traits@D@std@@V?$all
ocator@D@2@@std@@0I@Z)
cm.obj : error LNK2019: unresolved external symbol "void cdecl str_sort(char
,unsigned __int64,unsigned int ,bool,unsigned int)" (?str_sort@@YAXPEAD_KPEAI_N
I@Z) referenced in function "void cdecl update_char_permutation(class CudaSet
,class std::basic_string<char,struct std::char_traits,class std::allocato
r >,unsigned int ,class std::basic_string<char,struct std::char_traits<ch
ar>,class std::allocator >,void *,bool)" (?update_char_permutation@@YAXPEA
VCudaSet@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEAI1PEA
X_N@Z)
alenka.exe : fatal error LNK1120: 4 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\
v7.5\bin\nvcc.exe"' : return code '0x2'
Stop.
E:\gpu database engine>