Skip to content
Snippets Groups Projects
  1. Nov 21, 2018
  2. Nov 19, 2018
  3. Nov 16, 2018
  4. Nov 06, 2018
  5. Oct 10, 2018
    • psychocrypt's avatar
      fix right bitshift in `amd_bitalign` · b4387ac0
      psychocrypt authored
      In the current implementation the bit align is using signed integer which results in pulling in
      ones in the case the sign bit is set.
      
      - cast to unsigned integer before using bitshift
      b4387ac0
  6. Oct 05, 2018
    • psychocrypt's avatar
      fix invalid shares · 8e1e7447
      psychocrypt authored
      With rocm we fighted very long with invalid shares. This is now solved with rocm 1.9 and
      this tiny fix.
      It is not fully clear where a memory optimization is kicking in and break the kernel `Groestl` if the variables `M` and `H` are not `volatile`.
      The performance ill not change with this fix.
      
      The fix is tested with rocm 1.9 with a VEGA64 and a RX570
      8e1e7447
  7. Oct 04, 2018
  8. Sep 30, 2018
  9. Sep 19, 2018
    • psychocrypt's avatar
      asm, style and spelling fixes · 1692c543
      psychocrypt authored
      - fix code style issues
      - fix spelling issue
      - fix asm to support newer clang versions
      1692c543
    • psychocrypt's avatar
      AMD: add unroll option · 28f41a6e
      psychocrypt authored
      add option `unroll` for OpenCL to allow better tuning the main POW kernel.
      28f41a6e
    • psychocrypt's avatar
      OpenCL: optimize NVIDIA pass · df1a4200
      psychocrypt authored
      
      Create a special pass for NVIDIA GPUs to load memory chunks first into the shared memory.
      
      Co-authored-by: default avatarSChernykh <sergey.v.chernykh@gmail.com>
      df1a4200
    • psychocrypt's avatar
      OpenCl: cryptonight_v8 · 5608f8df
      psychocrypt authored
      
      - implement cryptonight_v8
      - update auto adjust to fit the special requirements of `cryptonight_v8`
      - add fast math integer implementation for `sqrt`, `reciprocal`  and `division`
      
      Co-authored-by: default avatarSChernykh <sergey.v.chernykh@gmail.com>
      5608f8df
    • 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
  10. Jul 14, 2018
    • psychocrypt's avatar
      cryptonight_bittube2 · 12575794
      psychocrypt authored
      - add cryptonight_heavy derivate cryptonight_bittube2
      - add coin bittube
      - remove coin ipbc because this coin is now called bittube
      12575794
  11. Jul 08, 2018
  12. Jun 10, 2018
  13. Jun 07, 2018
  14. Jun 05, 2018
  15. May 03, 2018
  16. May 01, 2018
  17. Apr 22, 2018
  18. Apr 08, 2018
    • psychocrypt's avatar
      amd simplify kernel for different algorithms · a5797643
      psychocrypt authored
      - remove version numbers within the kernel
      - create seperate program context for each mining algorithm
      - remove kernel `cn1_monero` is now integrated in `cn1`
      - remname `cnX` kernel in `cnX + algorithmNumber`
      a5797643
  19. Apr 01, 2018
  20. Mar 25, 2018
  21. Feb 21, 2018
  22. Feb 19, 2018
  23. Feb 17, 2018
  24. Feb 14, 2018
  25. Dec 30, 2017
    • psychocrypt's avatar
      differgence in OpenCL code · 58db6082
      psychocrypt authored
      remove branch differgences in AMD OpenCl code based on #454
      
      a Please enter the commit message for your changes. Lines starting
      58db6082
  26. Dec 02, 2017
  27. Oct 27, 2017
  28. Oct 24, 2017
  29. Oct 10, 2017
    • psychocrypt's avatar
      remove early returns · 2c2d05e5
      psychocrypt authored
      Early returns within a kernel can have unexpected behavior, this strongly depends on the opencl
      runtime compiler. To avoid errors all early returns are removed.
      There is no negative effect(e.g.performance) if the threads stay alive up to the end of the kernel.
      
      One source for the early return is: http://al-key-opencl.blogspot.de/2014/09/be-careful-not-to-mix-early-return-and.html
      
      This pull request also fix a race condition where all fill the shared memory.
      Also a bug introduced with #16 is fixed, because of the early return not was possible that
      the last block works with an wrong initilized shared memory (result should be a wrong hash if the result target size is valid).
      2c2d05e5
  30. Oct 06, 2017
    • psychocrypt's avatar
      avoid possible illegal memory access · 611378eb
      psychocrypt authored
      Is is possible that the number of results are greater than the result output array,
      in this case invalid memory can be access within the device and on the host side.
      611378eb
  31. Oct 04, 2017
  32. Sep 30, 2017
    • psychocrypt's avatar
      fix windows compile · bb3e8840
      psychocrypt authored
      - string literal can only be 16kbyte
      bb3e8840
    • psychocrypt's avatar
      group files · cc429b68
      psychocrypt authored
      - move source code to `src`
      - categorize files and move to group folder
      - change upper case class files to lower case
      - change C++ header to `*.hpp`
      cc429b68
    • psychocrypt's avatar
      fix opencl for windows · 0938fd98
      psychocrypt authored
      - splitt literal to smaller chunks (windows only support 16k literals)
      - remove copy command for opencl folder
      0938fd98
Loading