Skip to content
Snippets Groups Projects
  1. Feb 11, 2019
  2. Feb 10, 2019
  3. Feb 09, 2019
  4. Feb 08, 2019
  5. Feb 07, 2019
    • psychocrypt's avatar
      remove cn_turtle as native POW · 1033dc28
      psychocrypt authored
      cryptonight_turtle is only cryptonight_v8 with a different scratchpad,
      iteration and mask value.
      We are using now the new machanism to describe such derived POWs.
      1033dc28
    • psychocrypt's avatar
      refactor POW definition · 3426e185
      psychocrypt authored
      A POW is now defined by a function `f` and three degrees of freedom `f(iteration, scratchpad, mask)`.
      `f` is the base algorithm like `cryptonight, cryptonight_gpu`
      An easy to pars snytax to write the full POW definition down is: `cryptonight_gpu:0x0000c000:0x00200000:0x001fffc0`
      
      This change make it very easy to integrate the new trend of variate the
      number of iteations or the scratchpad size without modifying the full
      code.
      3426e185
    • psychocrypt's avatar
      cn_gpu: disable auto suggestion for CPU · 74d69508
      psychocrypt authored
      To avoid that a miner is waisting power with there CPU to mine cn_gpu the
      auto suggestion will comment out the config.
      74d69508
    • 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
  6. Feb 06, 2019
    • psychocrypt's avatar
      OpenCl: use user defined unroll in cn_gpu · 7008cbe1
      psychocrypt authored
      - use the user defined unroll
      - auto suggestion:
        - only tune for cn_gpu if this is the main user
      currency (after a fork)
        - set unroll to 1 for cn_gpu
      7008cbe1
    • psychocrypt's avatar
      OpenCL: fix invalid work group size · ff92f4f2
      psychocrypt authored
      OpenCl kernel using a larger work group size than configured by the
      user to increase the occupancy. Depending on the algorithm and device
      the size is limited.
      
      This PR fixes that the user was able to select a invalid work group size.
      ff92f4f2
  7. 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
    • psychocrypt's avatar
      fix missing algorithm name · 970c9528
      psychocrypt authored
      During the implementation of `cryptonight_gpu` we missed to add the name
      of the algorithm to jpsock.
      
      - add function to translate an algorithm into a name.
      970c9528
    • psychocrypt's avatar
      CUDA. fix static in global kernel · 7d07af6b
      psychocrypt authored
      Remove `static constexpr` within the global kernel. This is not
      supported by all CUDA versions.
      7d07af6b
  8. Feb 02, 2019
  9. Feb 01, 2019
  10. Jan 30, 2019
  11. Jan 25, 2019
  12. 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
  13. Dec 19, 2018
Loading