NebulousLabs / Sia-GPU-Miner

A GPU Miner for Sia
MIT License
151 stars 79 forks source link

Fix bug causing some Linux machines to freeze #5

Closed JoshVorick closed 9 years ago

JoshVorick commented 9 years ago

I also fixed a small bug in hash rate calculation and made the kernel able to handle a larger global_item_size.

JoshVorick commented 9 years ago

Sorry for the ugly code. I'm working on making it neat without harming performance at all. Hopefully I'll have it done before you wake up and merge this.

DavidVorick commented 9 years ago

the freezing was caused by clock()? lol

JoshVorick commented 9 years ago

That's what Wolf` said. I guess this clock() fix worked for him.