Xtra-Computing / thundergbm

ThunderGBM: Fast GBDTs and Random Forests on GPUs
Apache License 2.0
689 stars 84 forks source link

Make error #51

Closed mahi045 closed 3 years ago

mahi045 commented 3 years ago

I am getting this error after executing make -j:

/thundergbm/src/thundergbm/hist_cut.cu(142): error: a reference of type "SyncArray<float> &" (not const-qualified) cannot be initialized with a value of type "SyncArray<float_type>"

I am using the code of the support_cuda11 branch (as my CUDA version is 11).

Kurt-Liuhf commented 3 years ago

Hi @mahi045, thanks for the feedback. The issue is fixed. Please pull the updated repository and have a try. Thanks.

mahi045 commented 3 years ago

Hi @Kurt-Liuhf, First of all, thanks for your response and immediate action. I pulled the branch and then tried. Still, I cannot compile. I am getting the same error.

Kurt-Liuhf commented 3 years ago

Thanks. I have tested this branch on two computers but no error showed. Can you delete the library and clone it from GitHub again?

mahi045 commented 3 years ago

Yes, successfully compiled it. Thanks for your immediate action.

Kurt-Liuhf commented 3 years ago

Issues have been fixed. So, I would like to close it. Thanks.