Skip to content
Snippets Groups Projects
  1. Oct 07, 2018
    • psychocrypt's avatar
      fix crash with monero and strided_index · 1c0ef154
      psychocrypt authored
      Strided index 1 is not allowed for cryptonight_v8 and monero.
      In the case the dev pool is set to monero and the user tuned there settings for
      an other currency the miner will crash if strided index or memChunk is not
      fitting the requirement to mine monero.
      This PR detects wrong configurations and will set strided index and memChunk to a valid
      value but only for cryptonight_v8. The user pool settings will only be changed if monero or
      cryptonight_v8 is selected.
      1c0ef154
  2. Oct 06, 2018
  3. 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
  4. Oct 04, 2018
  5. Sep 30, 2018
  6. Sep 21, 2018
  7. 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
      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
  8. Sep 17, 2018
  9. Jul 17, 2018
  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 08, 2018
  16. May 03, 2018
  17. May 01, 2018
  18. Apr 22, 2018
  19. Apr 17, 2018
    • psychocrypt's avatar
      remove fork for sumokoin and monero · 053dcb01
      psychocrypt authored
      remove fork version for sumokoin and monero7
      053dcb01
    • psychocrypt's avatar
      add independent dev pool coin description · 0877e2f6
      psychocrypt authored
      - allow the dev pool to fork on a different block version than the user descriped coin
      
      All algorithm are centered around the user coin description.
      It is allowed to have two two different coin algorithms in the user coin description.
      It is only allowed to use algorithms for the dev pool coin description those are used in the user coin description.
      There are two ways to define a non forking coin.
        - set both user coin algorithm descriptions to the same algorithm and set version to zero
        - set the first algorithm in the user coin description to something you like to use in the dev pool
          and set the second algorithm to the correct representation of the coin. Set the version to 255.
          This will allow that the dev pool can mine on a different coin algorithm than the not forking user coin.
          Do not use an algorithm with different scratchpad size for the dev pool.
      0877e2f6
  20. Apr 14, 2018
    • psychocrypt's avatar
      allow non AMD OpenCL driver and devices · 4682b28a
      psychocrypt authored
      - add CLI flag to explicitly use non AMD OpenCL and devices
      - adjust OpenCL output (use OpenCL instead of AMD if --altOpenCL is sued)
      - optimize NVIDIA OpenCL auto suggestion
      4682b28a
  21. Apr 08, 2018
  22. Apr 06, 2018
  23. Apr 03, 2018
  24. Apr 01, 2018
  25. Mar 28, 2018
  26. Mar 27, 2018
    • psychocrypt's avatar
      fix parentheses warning · 983efafd
      psychocrypt authored
      fix warning
      
      ```
      /Users/user/xmr-stak/xmrstak/backend/amd/amd_gpu/gpu.cpp:481:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                      if( ret = clGetProgramInfo(ctx->Program, CL_PROGRAM_BINARIES, num_devices * sizeof(char*), all_programs.data(),NULL) != CL_SUCCESS)
      ```
      983efafd
    • psychocrypt's avatar
      POW AEON v7 · 5a2c4444
      psychocrypt authored
      - add new pow for AEON
      - fix missing cryptonight-heavy selection for multi hashes
      5a2c4444
  27. Mar 25, 2018
  28. Mar 13, 2018
    • psychocrypt's avatar
      fix shadowed variable · 702ab566
      psychocrypt authored
      A redefinition of a variable in a local scope avoid that the intensity is rounded to a multiple of the work size.
      702ab566
  29. Mar 03, 2018
    • psychocrypt's avatar
      add OpenCL compiler cache · 6beb3f59
      psychocrypt authored
      Reduce OpenCL start time by using a self made compiler cache.
      
      - store compiled OpenCL binary
      - load OpenCl binary if available
      6beb3f59
Loading