Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Remove leftover pieces from the gpu mining (#397)
Browse files Browse the repository at this point in the history
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
  • Loading branch information
krasi-georgiev committed Feb 3, 2021
1 parent 2cdeb99 commit da2fe9a
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 1,121 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
*/saved.json
coverage.out

pkg/pow/kernelSource.go

configs/.env

/telliot
Expand Down
2 changes: 1 addition & 1 deletion pkg/pow/miningGroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func (g *MiningGroup) Mine(input chan *Work, output chan *Result) {

// Mine until a null challenge is received.
// Each time a hasher finishes a chunk, give it a new one to work on.
// Always waits for all miners to finish their chunks before returning (thread safety with OpenCL)
// Always waits for all miners to finish their chunks before returning.
// EXCEPT in the case of an error, but then the app is almost certainly just quitting anyways!
shouldRun := true
for shouldRun || (len(idleWorkers) < len(g.Backends)) {
Expand Down
107 changes: 0 additions & 107 deletions scripts/opencl/opencl.go

This file was deleted.

9 changes: 0 additions & 9 deletions scripts/opencl/sources/header.c

This file was deleted.

170 changes: 0 additions & 170 deletions scripts/opencl/sources/keccak.cl

This file was deleted.

61 changes: 0 additions & 61 deletions scripts/opencl/sources/kernel.cl

This file was deleted.

0 comments on commit da2fe9a

Please sign in to comment.