1. 19 Sep, 2018 4 commits
    • fireice-uk's avatar
      Merge pull request #1838 from psychocrypt/fix-openCLNiceHash · 52176d93
      fireice-uk authored
      fix nicehash `invalid results`
      52176d93
    • fireice-uk's avatar
      Merge pull request #1840 from psychocrypt/fix-outOfMemory · c92fc15d
      fireice-uk authored
      OpenCL: avoid out of memory access
      c92fc15d
    • psychocrypt's avatar
      OpenCL: avoid out of memory access · 16da9886
      psychocrypt authored
      During the initialization of the compile parameter for OpenCL it could be that the
      fixed size buffer is to small. To avoid this we are now using `std::string`.
      There is no problem by using `std::string` because this part of code is not perfromance critical.
      16da9886
    • psychocrypt's avatar
      fix nicehash `invalid results` · 77160cf1
      psychocrypt authored
      If the first bit of the nonce is `1` (this is very often if we use a nicehash pool)
      than it could be that some OpenCL implementations handle the 64bit representation of the 32bit
      nonce on the device side as signed integer.
      During a right bitshift we pull wrong ones from the wrong higher part of the 64bit
      nonce representation into the 32bit part of the nonce.
      The result will be that the computed share is invalid.
      
      - explicit cast the nonce on the device to `uint` to avoid any side effects
      77160cf1
  2. 16 Sep, 2018 2 commits
  3. 14 Sep, 2018 1 commit
  4. 13 Sep, 2018 1 commit
    • psychocrypt's avatar
      unify cpu cryptonight implementations · 931bd5fe
      psychocrypt authored
      xmr-stak has several implementations for multi hash per thread.
      The results into 3 intepedent implementations.
      Each time the algorithm must be changed the possibility to introduce errors is very large.
      
      - unify the different cryptonight CPU implementations
      - simplify the function selection array to find the specilized cryptonight implementation
      - add a intermediat pointer to access the large state (similar to the old multi hash implementation)
      
      As side effect this change increases the speed of the single and multi hash algorithm.
      931bd5fe
  5. 28 Aug, 2018 2 commits
  6. 21 Aug, 2018 3 commits
  7. 19 Aug, 2018 1 commit
  8. 08 Aug, 2018 1 commit
  9. 03 Aug, 2018 1 commit
  10. 02 Aug, 2018 2 commits
  11. 29 Jul, 2018 1 commit
  12. 27 Jul, 2018 3 commits
  13. 25 Jul, 2018 1 commit
  14. 22 Jul, 2018 1 commit
  15. 17 Jul, 2018 7 commits
  16. 16 Jul, 2018 5 commits
  17. 14 Jul, 2018 3 commits
  18. 12 Jul, 2018 1 commit