Skip to content

Commit

Permalink
Remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacoby6000 committed Nov 24, 2019
1 parent d25590c commit 48170a8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions exec/Miner/OpenCL.hs
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,6 @@ run cfg mSteps (TargetBytes target) (HeaderBytes header) work genNonce = do
clSetKernelArgSto kern 2 outBuf
e0 <- clEnqueueWriteBuffer queue inBuf False (0::Int) 320 (castPtr inPtr) []
e1 <- clEnqueueWriteBuffer queue outBuf True (0::Int) 8 (castPtr outPtr) [e0]
n <- peekElemOff ((castPtr inBuf) :: Ptr Word8) 320
putStrLn (show n)
pokeElemOff (castPtr inBuf) 320 n
traverse_ clReleaseEvent [e0, e1]

pad :: Int -> ByteString -> ByteString
Expand Down

0 comments on commit 48170a8

Please sign in to comment.