size_t ipt = (1024 / lg + (1024 % lg > 0)); size_t bufsize = 128 * ipt * tc; size_t ipt = (1024 / 4 + (1024 % 4 > 0)); size_t bufsize = 128 * ipt * 51200; 16384 32768 131072 43818.66 42564.865 43776 63360 62720 113408 42203 42240 14216 13896 1863319552 1039138816 [01:51:34] Maximum buffer memory device 0 supports says 1829765120 [01:51:34] Your scrypt settings come to 2055208960 1829765120 1828716544 1865416704 1828716544 1027604480 max / 131072 = x 15680 13960 13734 128 * 256 * tc = bytes 2055208960 max / 32768 = x 62720 4294967295 = 7 + (X-1)*X + (Y-1)*Y*X better way to write it need to solve for X for values of Y 2^1 to 2^20 just want the equation rearranged so I can plug in Y values and get results X = 0.5 * (sqrt(85630649313) - 261631); something like that for Y = 512 15498 Y = 1024 4294967295 = 7 + (X-1)*X + (1023)*1024*X 4294967295 = 7 + (X-1)*X +1047552*X X = 0.5 * (sqrt(85630649313) - 1047552); 4084