Skip to content
Snippets Groups Projects
  1. Feb 10, 2019
  2. 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
  3. Feb 04, 2019
  4. Feb 01, 2019
  5. Jan 30, 2019
  6. Jan 25, 2019
  7. Dec 29, 2018
    • 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
  8. Nov 29, 2018
  9. Nov 19, 2018
  10. Oct 24, 2018
    • psychocrypt's avatar
      NVIDIA: fix wrong number of threads · 954296ed
      psychocrypt authored
      In the cuda backend for monero we start always twice as much threads as needed.
      Those threads are than removed after the AES matrix is copied to the shared memory.
      Never the less it is the result of an copy past bug.
      
      - start correct number of threads for `monero`
      954296ed
  11. Oct 11, 2018
    • psychocrypt's avatar
      NVIDIA: support for multiple CUDA libs · 732b0e41
      psychocrypt authored
      Allow to ship the miner with multiple cuda backends those depends on different driver versions.
      This will allow to support Turing/Volta and old Fermi GPU within one release.
      
      - add support to search for the first working CUDA backend
      - add some more messages to support better debugging (if a user has some issues)
      732b0e41
  12. Oct 10, 2018
    • SChernykh's avatar
      NVIDIA: tweak `get_reciprocal` · b1504b36
      SChernykh authored
      - remove helper array to perform division
      - tweak `get_reciprocal`
      b1504b36
    • psychocrypt's avatar
      NVIDIA: rename config option `comp_mode` · bd4a4c94
      psychocrypt authored
      The name `comp_mode` for a memoy load pattern if a bad choosen name.
      Therefore I changed it to `mem_mode` which also gives use the possibility
      to add new mode later if needed.
      
      - rename `comp_mode` to `mem_mode`
      - fix documentation
      bd4a4c94
    • psychocrypt's avatar
      CUDA: fix invalid results · ed2168b4
      psychocrypt authored
      If `comp_mode` is false the results on a windows platform will be invalid.
      The reason for that is that `ulong4` is in windows 16byte and in linux 32byte.
      
      thx @xmrig for finding and solving the issue
      
      fix #1873
      ed2168b4
  13. Oct 08, 2018
  14. Oct 05, 2018
    • psychocrypt's avatar
      CUDA: tine cryptonight_v8 · 99a12cb6
      psychocrypt authored
      Read memory in bigger chunks per thread to increase the used memory bandwith.
      Use for Kepla and Fermi GPUs the old autosuggestion instead of the new settings for cryptonight_v8.
      99a12cb6
  15. Oct 04, 2018
  16. Oct 01, 2018
  17. Sep 30, 2018
  18. Sep 22, 2018
  19. Sep 21, 2018
  20. Sep 19, 2018
  21. Sep 13, 2018
    • psychocrypt's avatar
      unify cpu cryptonight implementations · 931bd5fe
      psychocrypt authored
      xmr-stak has several implementations for multi hash per thread.
      The results into 3 intepedent implementations.
      Each time the algorithm must be changed the possibility to introduce errors is very large.
      
      - unify the different cryptonight CPU implementations
      - simplify the function selection array to find the specilized cryptonight implementation
      - add a intermediat pointer to access the large state (similar to the old multi hash implementation)
      
      As side effect this change increases the speed of the single and multi hash algorithm.
      931bd5fe
  22. Aug 08, 2018
Loading