Browse Source

Reduced L2 scratchpad size by half.

rx
Just Wonder 5 years ago
parent
commit
16a2e780a2
  1. 4
      src/cn_utils/randomx/configuration.h

4
src/cn_utils/randomx/configuration.h

@ -75,7 +75,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. @@ -75,7 +75,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#endif
//Scratchpad L2 size in bytes. Must be a power of two and less than or equal to RANDOMX_SCRATCHPAD_L3.
#ifdef _KEVACOIN
#define RANDOMX_SCRATCHPAD_L2 131072
#else
#define RANDOMX_SCRATCHPAD_L2 262144
#endif
//Scratchpad L1 size in bytes. Must be a power of two (minimum 64) and less than or equal to RANDOMX_SCRATCHPAD_L2.
#define RANDOMX_SCRATCHPAD_L1 16384

Loading…
Cancel
Save