Commit ea10b08dcecdd0852dee6903331adbcd0a038ac7

Con Kolivas 2012-07-25T22:02:14

Find the nearest power of 2 maximum alloc size for the scrypt buffer that can successfully be allocated and is large enough to accomodate the thread concurrency chosen, thus mapping it to an intensity.