decred / gominer

Go (golang) based GPU miner for Decred.
GNU General Public License v3.0
162 stars 80 forks source link

implement ADL support to fetch fan/temperature information #106

Closed jolan closed 8 years ago

jolan commented 8 years ago

This adds basic AMD Device Library support to get the fan and temperature values. The ADL bits will get built out and revised some more as part of #104.

Also regrettably adds a 3rd build tag to prevent a hard dependency on the ADL library.

I renamed deviceInfo() to deviceStats() since it's a bit confusing with cl.CLGetDeviceInfo and getDeviceInfo().

I tested all 3 builds and they behave as expected.

Closes #62.

jolan commented 8 years ago

Removed commented debug printf's and I was ably to simplify the calibrate.go build tag to just !cuda.