Skip to content
Snippets Groups Projects
  • 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