tromp / cuckoo

a memory-bound graph-theoretic proof-of-work system
Other
822 stars 173 forks source link

Fix build error on Cuda toolkit 10.1 #98

Closed agusdallalba closed 5 years ago

agusdallalba commented 5 years ago

I was trying to build grin-miner and came upon this bug: https://github.com/mimblewimble/grin-miner/issues/198

I realised the make_Edge function was referenced before it was defined in mean.cu

With this change the build succeeds and tests ok. I don't quite understand why it worked before.

Cheers.