Skip to content

Commit 9bce36d

Browse files
P-1 factoring stage 2 better handling memory
1 parent 8856270 commit 9bce36d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/core/Version.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <string>
55

66
namespace core {
7-
const std::string PRMERS_VERSION = "4.15.51-alpha";
7+
const std::string PRMERS_VERSION = "4.15.52-alpha";
88
} // namespace core
99

1010
#endif // VERSION_HPP

include/io/CliParser.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ struct CliOptions {
2929
bool verify = true;
3030
bool gerbiczli = true;
3131
uint64_t B1 = 10000;
32-
uint64_t memlim = 70;
32+
uint64_t memlim = 85;
3333
uint64_t B1old = 0;
3434
uint64_t B1_new = 0;
3535
uint64_t B2 = 0;

src/modes/RunPM1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ int App::runPM1Stage2Marin() {
960960
eng->mul(static_cast<engine::Reg>(RTMP), static_cast<engine::Reg>(RREF));
961961
++cur_k;
962962
}
963-
size_t slot = REVEN + k2slot[target_k];
963+
size_t slot = REVEN + static_cast<size_t>(k2slot[target_k]);
964964
eng->copy(static_cast<engine::Reg>(slot), static_cast<engine::Reg>(RTMP));
965965
++produced;
966966
int newPct = int((produced * 100ull) / std::max<size_t>(1, usedSlots));

0 commit comments

Comments
 (0)