Skip to content
Snippets Groups Projects
  1. Feb 07, 2019
    • psychocrypt's avatar
      OpenCL: fix groestl · d322ee4f
      psychocrypt authored
      @xmrig provided the information that the driver 19.2.1 for vega also
      create invalid results if pragma unroll is used for the groestl algo.
      d322ee4f
  2. Feb 04, 2019
    • psychocrypt's avatar
      OpencL: fix cn_gpu · f14528ba
      psychocrypt authored
      If comp_mode is used the code will not compile.
      
      - fix compile issue
      - fix wrong conditions to handle `comp_mode`
      f14528ba
  3. Feb 02, 2019
  4. Feb 01, 2019
  5. Jan 30, 2019
  6. Jan 25, 2019
  7. Dec 29, 2018
    • psychocrypt's avatar
      OpenCl: avoid multiple map lookups · 0643f601
      psychocrypt authored
      Avoid that we do multiple lookups to `std::map` to find the OpenCL
      kernel binaries.
      0643f601
    • psychocrypt's avatar
      improve POW algorithm selection · 758dbfb1
      psychocrypt authored
      - add helper method `GetAllAlgorithms()` to get all active POW
      algorithms
      - select max scratchpad memory size based on the dev pool and user
      algorithms
      758dbfb1
    • 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
  8. Dec 06, 2018
    • psychocrypt's avatar
      fix bittube2 · e01eebc2
      psychocrypt authored
      Since #2080 bittube2 is broken.
      
      - reintroduce special AES function for bittube2
      e01eebc2
  9. Dec 03, 2018
  10. 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
  11. Nov 30, 2018
  12. Nov 29, 2018
  13. 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
  14. Nov 21, 2018
  15. Nov 20, 2018
  16. Nov 19, 2018
  17. Nov 16, 2018
  18. Nov 06, 2018
  19. Oct 16, 2018
  20. 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
  21. 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
  22. 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
  23. Oct 06, 2018
  24. 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
Loading