Skip to content
Snippets Groups Projects
  1. Dec 29, 2018
    • psychocrypt's avatar
      OpenCL: allow more than two algorithms · a39ee088
      psychocrypt authored
      In the current implementation the POW algorithm in dev pool section of a
      currency will not be taken into account during the binary creation.
      This PR changes the behavior and allow to create binaries for more than two POW algorihms.
      a39ee088
  2. Dec 02, 2018
    • psychocrypt's avatar
      OpenCL: auto tuning option · af87b408
      psychocrypt authored
      Add an option to brute force intensity settings and lock in at the intensity with the highest hashrate.
      
      - update decumentation of the `interleave` option to mention the side effect with `auto-tune`
      - disable `interleave` auto adjustment if `auto-tune` is enabled
      - jconf: add `auto-tune` as optional option
      af87b408
    • psychocrypt's avatar
      OpenCl: fix NVIDIA · 1b27f0f3
      psychocrypt authored
      - fix broken compile: change used `ULL` to `UL` because `UL` is defined as 64bit
      - fix memory copy to shared memory via vload8 (somehow it create wrong access)
      1b27f0f3
    • psychocrypt's avatar
      OpenCL: auto config two threads per GPU · e46226fa
      psychocrypt authored
      The auto config generates for AMD devices now by default two threads per GPU.
      
      - remove the savety 128MiB memory now only from the max available GPU memory not from the avaialble memory for one alloc call
      - extend the memory documentation in amd.txt
      e46226fa
    • psychocrypt's avatar
      fix clamp implementation · b606304b
      psychocrypt authored
      Due to a wrong implementation clamp was not working.
      b606304b
  3. Nov 30, 2018
    • psychocrypt's avatar
      OpenCL: comp mode optimization · 307dda83
      psychocrypt authored
      Disable compatibility mode if intensity is a multiple of worksize. In that case enabled compaibility mode will only slow down the miner.
      307dda83
  4. Nov 27, 2018
    • psychocrypt's avatar
      OpenCL: thread interleaving · d8316f7d
      psychocrypt authored
      If two threads are using the same GPU device the start time of each hash round is optimized based on the average time needed to calculate a bunch of hashes.
      
      This way to optimize the hash rate was first introduced by @SChernykh. This implementation based on the implementation in xmrig but differen in the details.
      
      - introduce a new config option `interleave`
      - implement thread interleaving
      d8316f7d
  5. Nov 21, 2018
  6. Nov 20, 2018
  7. Nov 19, 2018
    • psychocrypt's avatar
      OpenCL reduce API overhead · 6c563c9d
      psychocrypt authored
      - remove useless `clFinish`
      - avoid download num threads for skein&co and start always as much threads as in all other kernel (terminate useless threads)
      6c563c9d
  8. Nov 16, 2018
  9. Nov 06, 2018
  10. Oct 16, 2018
  11. Oct 15, 2018
    • psychocrypt's avatar
      fix broken AMD OpenCL compile · 2a0d565b
      psychocrypt authored
      The AMD compiler for OpenCL shipped with the driver 14XX is broken
      and can not compile xmr-stak since the monero v8 changes are introduced.
      
      - workaround a simple compare.
      - add new device define `OPENCL_DRIVER_MAJOR`
      2a0d565b
  12. 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
  13. Oct 06, 2018
  14. Sep 21, 2018
  15. Sep 19, 2018
    • 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: 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
  16. Sep 17, 2018
  17. 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
  18. Jun 07, 2018
  19. Jun 05, 2018
  20. May 08, 2018
  21. May 03, 2018
  22. May 01, 2018
  23. Apr 22, 2018
  24. 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
  25. 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
  26. Apr 08, 2018
  27. Apr 06, 2018
  28. Apr 03, 2018
  29. Apr 01, 2018
  30. Mar 28, 2018
  31. 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
Loading