polybench 0.3.1__tar.gz → 0.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {polybench-0.3.1 → polybench-0.3.3}/PKG-INFO +8 -7
- {polybench-0.3.1 → polybench-0.3.3}/README.md +5 -4
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/flint/vcpkg.json +1 -1
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/rings/build.gradle +3 -3
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/rings/src/main/java/com/github/tueda/polybench/rings/App.java +16 -23
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/symbolica/Cargo.lock +74 -127
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/symbolica/Cargo.toml +1 -1
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/symbolica/src/main.rs +4 -6
- {polybench-0.3.1 → polybench-0.3.3}/pyproject.toml +3 -3
- {polybench-0.3.1 → polybench-0.3.3}/LICENSE +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/__init__.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/__main__.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/main.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/plot.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/poly.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/prob.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/py.typed +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solver.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/__init__.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/fer.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/flint/CMakeLists.txt +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/flint/cmake/init-vcpkg.cmake +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/flint/main.c +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/flint/version.h.in +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/flint.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/form.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/mma.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/reform/Cargo.lock +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/reform/Cargo.toml +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/reform/src/main.rs +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/reform.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/rings/config/greclipse.properties +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/rings/gradle/wrapper/gradle-wrapper.jar +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/rings/gradle/wrapper/gradle-wrapper.properties +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/rings/gradlew +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/rings/gradlew.bat +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/rings.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/singular.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/symbolica.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/util.py +0 -0
- {polybench-0.3.1 → polybench-0.3.3}/polybench/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: polybench
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: Multivariate polynomial arithmetic benchmark tests.
|
|
5
5
|
License: MIT
|
|
6
6
|
Keywords: benchmark,mathematics,multivariate-polynomials
|
|
@@ -22,7 +22,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
22
22
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
23
23
|
Classifier: Topic :: System :: Benchmark
|
|
24
24
|
Requires-Dist: colorama (>=0.4.5,<0.5.0)
|
|
25
|
-
Requires-Dist: colorlog (>=6.
|
|
25
|
+
Requires-Dist: colorlog (>=6.9.0,<7.0.0)
|
|
26
26
|
Requires-Dist: importlib-metadata (>=4.8.3,<5.0.0)
|
|
27
27
|
Requires-Dist: importlib-resources (>=5.4.0,<6.0.0)
|
|
28
28
|
Requires-Dist: kiwisolver (>=1.3.1,<1.4.0) ; python_full_version >= "3.6.1" and python_full_version < "3.7.0"
|
|
@@ -37,7 +37,7 @@ Requires-Dist: pandas (>=1.1.5,<1.2.0) ; python_full_version >= "3.6.1" and pyth
|
|
|
37
37
|
Requires-Dist: pandas (>=1.3.5,<1.4.0) ; python_full_version >= "3.7.1" and python_version < "3.11"
|
|
38
38
|
Requires-Dist: pandas (>=2.2.2,<3.0.0) ; python_version >= "3.11" and python_version < "3.14"
|
|
39
39
|
Requires-Dist: pretty-errors (>=1.2.25,<2.0.0)
|
|
40
|
-
Requires-Dist: psutil (>=
|
|
40
|
+
Requires-Dist: psutil (>=7.0.0,<8.0.0)
|
|
41
41
|
Requires-Dist: py-cpuinfo (>=9.0.0,<10.0.0)
|
|
42
42
|
Requires-Dist: symengine (>=0.10.0,<0.11.0) ; python_version == "3.7"
|
|
43
43
|
Requires-Dist: symengine (>=0.13.0,<0.14.0) ; python_version >= "3.8" and python_version < "3.14"
|
|
@@ -50,7 +50,7 @@ Description-Content-Type: text/markdown
|
|
|
50
50
|
polybench
|
|
51
51
|
=========
|
|
52
52
|
|
|
53
|
-
[](https://github.com/tueda/polybench/actions?query=branch:main)
|
|
54
54
|
[](https://pypi.org/project/polybench/)
|
|
55
55
|
|
|
56
56
|
Multivariate polynomial arithmetic benchmark tests.
|
|
@@ -74,7 +74,8 @@ They are (in alphabetical order):
|
|
|
74
74
|
|
|
75
75
|
- [Fermat](https://home.bway.net/lewis/)
|
|
76
76
|
- [FLINT](https://flintlib.org/): automatically downloaded via [vcpkg](https://vcpkg.io/)
|
|
77
|
-
(requires [CMake](https://cmake.org/) >= 3.15, a C compiler and the Make utility
|
|
77
|
+
(requires [CMake](https://cmake.org/) >= 3.15, a C compiler and the Make utility;
|
|
78
|
+
see also [vcpkg dependencies](https://learn.microsoft.com/en-us/vcpkg/concepts/supported-hosts#dependencies)).
|
|
78
79
|
- [FORM](https://www.nikhef.nl/~form/):
|
|
79
80
|
if not available in the system, then
|
|
80
81
|
a [release binary](https://github.com/vermaseren/form/releases)
|
|
@@ -90,7 +91,7 @@ They are (in alphabetical order):
|
|
|
90
91
|
- [Singular](https://www.singular.uni-kl.de/)
|
|
91
92
|
- [Symbolica](https://symbolica.io/):
|
|
92
93
|
automatically downloaded
|
|
93
|
-
(requires [Rust](https://www.rust-lang.org/) >= 1.
|
|
94
|
+
(requires [Rust](https://www.rust-lang.org/) >= 1.85),
|
|
94
95
|
running in [restricted mode](https://symbolica.io/docs/get_started.html#license).
|
|
95
96
|
|
|
96
97
|
|
|
@@ -206,5 +207,5 @@ cd path/to/project
|
|
|
206
207
|
License
|
|
207
208
|
-------
|
|
208
209
|
|
|
209
|
-
[MIT](https://github.com/tueda/polybench/blob/
|
|
210
|
+
[MIT](https://github.com/tueda/polybench/blob/main/LICENSE)
|
|
210
211
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
polybench
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
-
[](https://github.com/tueda/polybench/actions?query=branch:main)
|
|
5
5
|
[](https://pypi.org/project/polybench/)
|
|
6
6
|
|
|
7
7
|
Multivariate polynomial arithmetic benchmark tests.
|
|
@@ -25,7 +25,8 @@ They are (in alphabetical order):
|
|
|
25
25
|
|
|
26
26
|
- [Fermat](https://home.bway.net/lewis/)
|
|
27
27
|
- [FLINT](https://flintlib.org/): automatically downloaded via [vcpkg](https://vcpkg.io/)
|
|
28
|
-
(requires [CMake](https://cmake.org/) >= 3.15, a C compiler and the Make utility
|
|
28
|
+
(requires [CMake](https://cmake.org/) >= 3.15, a C compiler and the Make utility;
|
|
29
|
+
see also [vcpkg dependencies](https://learn.microsoft.com/en-us/vcpkg/concepts/supported-hosts#dependencies)).
|
|
29
30
|
- [FORM](https://www.nikhef.nl/~form/):
|
|
30
31
|
if not available in the system, then
|
|
31
32
|
a [release binary](https://github.com/vermaseren/form/releases)
|
|
@@ -41,7 +42,7 @@ They are (in alphabetical order):
|
|
|
41
42
|
- [Singular](https://www.singular.uni-kl.de/)
|
|
42
43
|
- [Symbolica](https://symbolica.io/):
|
|
43
44
|
automatically downloaded
|
|
44
|
-
(requires [Rust](https://www.rust-lang.org/) >= 1.
|
|
45
|
+
(requires [Rust](https://www.rust-lang.org/) >= 1.85),
|
|
45
46
|
running in [restricted mode](https://symbolica.io/docs/get_started.html#license).
|
|
46
47
|
|
|
47
48
|
|
|
@@ -157,4 +158,4 @@ cd path/to/project
|
|
|
157
158
|
License
|
|
158
159
|
-------
|
|
159
160
|
|
|
160
|
-
[MIT](https://github.com/tueda/polybench/blob/
|
|
161
|
+
[MIT](https://github.com/tueda/polybench/blob/main/LICENSE)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
|
3
3
|
"name": "polybench-flint",
|
|
4
4
|
"version-string": "0.1.0",
|
|
5
|
-
"builtin-baseline": "
|
|
5
|
+
"builtin-baseline": "ce613c41372b23b1f51333815feb3edd87ef8a8b",
|
|
6
6
|
"dependencies": [
|
|
7
7
|
{
|
|
8
8
|
"name": "flint",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
plugins {
|
|
2
2
|
id 'application'
|
|
3
|
-
id 'com.diffplug.spotless' version '7.
|
|
3
|
+
id 'com.diffplug.spotless' version '7.2.1'
|
|
4
4
|
id 'com.github.ben-manes.versions' version '0.52.0'
|
|
5
|
-
id 'ru.vyarus.quality' version '
|
|
5
|
+
id 'ru.vyarus.quality' version '5.0.0'
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
def versions = [
|
|
9
|
-
checkstyle: '10.
|
|
9
|
+
checkstyle: '10.26.1',
|
|
10
10
|
rings: '2.5.8',
|
|
11
11
|
]
|
|
12
12
|
|
|
@@ -21,31 +21,24 @@ public class App {
|
|
|
21
21
|
final Path inputFile = Paths.get(args[1]);
|
|
22
22
|
final Path outputFile = Paths.get(args[2]);
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
if (line == null) {
|
|
31
|
-
break;
|
|
32
|
-
}
|
|
33
|
-
String answer;
|
|
34
|
-
if (line.startsWith("gcd")) {
|
|
35
|
-
answer = doGcd(line, variables);
|
|
36
|
-
} else if (line.startsWith("factor")) {
|
|
37
|
-
answer = doFactor(line, variables);
|
|
38
|
-
} else {
|
|
39
|
-
String problemType = line.length() > 8 ? line.substring(0, 8) + "..." : line;
|
|
40
|
-
throw new IllegalArgumentException("unknown problem type: " + problemType);
|
|
41
|
-
}
|
|
42
|
-
out.println(answer);
|
|
24
|
+
try (BufferedReader in = Files.newBufferedReader(inputFile);
|
|
25
|
+
PrintWriter out = new PrintWriter(Files.newBufferedWriter(outputFile))) {
|
|
26
|
+
while (true) {
|
|
27
|
+
final String line = in.readLine();
|
|
28
|
+
if (line == null) {
|
|
29
|
+
break;
|
|
43
30
|
}
|
|
44
|
-
|
|
45
|
-
|
|
31
|
+
String answer;
|
|
32
|
+
if (line.startsWith("gcd")) {
|
|
33
|
+
answer = doGcd(line, variables);
|
|
34
|
+
} else if (line.startsWith("factor")) {
|
|
35
|
+
answer = doFactor(line, variables);
|
|
36
|
+
} else {
|
|
37
|
+
String problemType = line.length() > 8 ? line.substring(0, 8) + "..." : line;
|
|
38
|
+
throw new IllegalArgumentException("unknown problem type: " + problemType);
|
|
39
|
+
}
|
|
40
|
+
out.println(answer);
|
|
46
41
|
}
|
|
47
|
-
} finally {
|
|
48
|
-
in.close();
|
|
49
42
|
}
|
|
50
43
|
}
|
|
51
44
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is automatically @generated by Cargo.
|
|
2
2
|
# It is not intended for manual editing.
|
|
3
|
-
version =
|
|
3
|
+
version = 4
|
|
4
4
|
|
|
5
5
|
[[package]]
|
|
6
6
|
name = "ahash"
|
|
@@ -9,7 +9,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
9
9
|
checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
|
|
10
10
|
dependencies = [
|
|
11
11
|
"cfg-if",
|
|
12
|
-
"getrandom",
|
|
12
|
+
"getrandom 0.2.15",
|
|
13
13
|
"once_cell",
|
|
14
14
|
"version_check",
|
|
15
15
|
"zerocopy",
|
|
@@ -48,11 +48,17 @@ version = "1.2.1"
|
|
|
48
48
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
49
49
|
checksum = "7b7e4c2464d97fe331d41de9d5db0def0a96f4d823b8b32a2efd503578988973"
|
|
50
50
|
|
|
51
|
+
[[package]]
|
|
52
|
+
name = "bitflags"
|
|
53
|
+
version = "2.9.1"
|
|
54
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
55
|
+
checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
|
|
56
|
+
|
|
51
57
|
[[package]]
|
|
52
58
|
name = "brotli"
|
|
53
|
-
version = "
|
|
59
|
+
version = "8.0.1"
|
|
54
60
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
55
|
-
checksum = "
|
|
61
|
+
checksum = "9991eea70ea4f293524138648e41ee89b0b2b12ddef3b255effa43c8056e0e0d"
|
|
56
62
|
dependencies = [
|
|
57
63
|
"alloc-no-stdlib",
|
|
58
64
|
"alloc-stdlib",
|
|
@@ -61,9 +67,9 @@ dependencies = [
|
|
|
61
67
|
|
|
62
68
|
[[package]]
|
|
63
69
|
name = "brotli-decompressor"
|
|
64
|
-
version = "
|
|
70
|
+
version = "5.0.0"
|
|
65
71
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
66
|
-
checksum = "
|
|
72
|
+
checksum = "874bb8112abecc98cbd6d81ea4fa7e94fb9449648c93cc89aa40c81c24d7de03"
|
|
67
73
|
dependencies = [
|
|
68
74
|
"alloc-no-stdlib",
|
|
69
75
|
"alloc-stdlib",
|
|
@@ -95,12 +101,11 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
95
101
|
|
|
96
102
|
[[package]]
|
|
97
103
|
name = "colored"
|
|
98
|
-
version = "
|
|
104
|
+
version = "3.0.0"
|
|
99
105
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
100
|
-
checksum = "
|
|
106
|
+
checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e"
|
|
101
107
|
dependencies = [
|
|
102
|
-
"
|
|
103
|
-
"windows-sys 0.48.0",
|
|
108
|
+
"windows-sys",
|
|
104
109
|
]
|
|
105
110
|
|
|
106
111
|
[[package]]
|
|
@@ -148,24 +153,30 @@ checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
|
|
|
148
153
|
dependencies = [
|
|
149
154
|
"cfg-if",
|
|
150
155
|
"libc",
|
|
151
|
-
"wasi",
|
|
156
|
+
"wasi 0.11.0+wasi-snapshot-preview1",
|
|
152
157
|
]
|
|
153
158
|
|
|
154
159
|
[[package]]
|
|
155
|
-
name = "
|
|
156
|
-
version = "
|
|
160
|
+
name = "getrandom"
|
|
161
|
+
version = "0.3.3"
|
|
157
162
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
158
|
-
checksum = "
|
|
163
|
+
checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4"
|
|
159
164
|
dependencies = [
|
|
165
|
+
"cfg-if",
|
|
160
166
|
"libc",
|
|
161
|
-
"
|
|
167
|
+
"r-efi",
|
|
168
|
+
"wasi 0.14.2+wasi-0.2.4",
|
|
162
169
|
]
|
|
163
170
|
|
|
164
171
|
[[package]]
|
|
165
|
-
name = "
|
|
166
|
-
version = "1.
|
|
172
|
+
name = "gmp-mpfr-sys"
|
|
173
|
+
version = "1.6.4"
|
|
167
174
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
168
|
-
checksum = "
|
|
175
|
+
checksum = "b0205cd82059bc63b63cf516d714352a30c44f2c74da9961dfda2617ae6b5918"
|
|
176
|
+
dependencies = [
|
|
177
|
+
"libc",
|
|
178
|
+
"windows-sys",
|
|
179
|
+
]
|
|
169
180
|
|
|
170
181
|
[[package]]
|
|
171
182
|
name = "libc"
|
|
@@ -180,7 +191,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
180
191
|
checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4"
|
|
181
192
|
dependencies = [
|
|
182
193
|
"cfg-if",
|
|
183
|
-
"windows-targets
|
|
194
|
+
"windows-targets",
|
|
184
195
|
]
|
|
185
196
|
|
|
186
197
|
[[package]]
|
|
@@ -235,22 +246,27 @@ dependencies = [
|
|
|
235
246
|
"proc-macro2",
|
|
236
247
|
]
|
|
237
248
|
|
|
249
|
+
[[package]]
|
|
250
|
+
name = "r-efi"
|
|
251
|
+
version = "5.3.0"
|
|
252
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
253
|
+
checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
|
|
254
|
+
|
|
238
255
|
[[package]]
|
|
239
256
|
name = "rand"
|
|
240
|
-
version = "0.
|
|
257
|
+
version = "0.9.2"
|
|
241
258
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
242
|
-
checksum = "
|
|
259
|
+
checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
|
|
243
260
|
dependencies = [
|
|
244
|
-
"libc",
|
|
245
261
|
"rand_chacha",
|
|
246
262
|
"rand_core",
|
|
247
263
|
]
|
|
248
264
|
|
|
249
265
|
[[package]]
|
|
250
266
|
name = "rand_chacha"
|
|
251
|
-
version = "0.
|
|
267
|
+
version = "0.9.0"
|
|
252
268
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
253
|
-
checksum = "
|
|
269
|
+
checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
|
|
254
270
|
dependencies = [
|
|
255
271
|
"ppv-lite86",
|
|
256
272
|
"rand_core",
|
|
@@ -258,18 +274,18 @@ dependencies = [
|
|
|
258
274
|
|
|
259
275
|
[[package]]
|
|
260
276
|
name = "rand_core"
|
|
261
|
-
version = "0.
|
|
277
|
+
version = "0.9.3"
|
|
262
278
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
263
|
-
checksum = "
|
|
279
|
+
checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
|
|
264
280
|
dependencies = [
|
|
265
|
-
"getrandom",
|
|
281
|
+
"getrandom 0.3.3",
|
|
266
282
|
]
|
|
267
283
|
|
|
268
284
|
[[package]]
|
|
269
285
|
name = "rand_xoshiro"
|
|
270
|
-
version = "0.
|
|
286
|
+
version = "0.7.0"
|
|
271
287
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
272
|
-
checksum = "
|
|
288
|
+
checksum = "f703f4665700daf5512dcca5f43afa6af89f09db47fb56be587f80636bda2d41"
|
|
273
289
|
dependencies = [
|
|
274
290
|
"rand_core",
|
|
275
291
|
]
|
|
@@ -296,9 +312,9 @@ dependencies = [
|
|
|
296
312
|
|
|
297
313
|
[[package]]
|
|
298
314
|
name = "rug"
|
|
299
|
-
version = "1.
|
|
315
|
+
version = "1.27.0"
|
|
300
316
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
301
|
-
checksum = "
|
|
317
|
+
checksum = "4207e8d668e5b8eb574bda8322088ccd0d7782d3d03c7e8d562e82ed82bdcbc3"
|
|
302
318
|
dependencies = [
|
|
303
319
|
"az",
|
|
304
320
|
"gmp-mpfr-sys",
|
|
@@ -321,26 +337,6 @@ version = "1.0.4"
|
|
|
321
337
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
322
338
|
checksum = "d369a96f978623eb3dc28807c4852d6cc617fed53da5d3c400feff1ef34a714a"
|
|
323
339
|
|
|
324
|
-
[[package]]
|
|
325
|
-
name = "serde"
|
|
326
|
-
version = "1.0.208"
|
|
327
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
328
|
-
checksum = "cff085d2cb684faa248efb494c39b68e522822ac0de72ccf08109abde717cfb2"
|
|
329
|
-
dependencies = [
|
|
330
|
-
"serde_derive",
|
|
331
|
-
]
|
|
332
|
-
|
|
333
|
-
[[package]]
|
|
334
|
-
name = "serde_derive"
|
|
335
|
-
version = "1.0.208"
|
|
336
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
337
|
-
checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf"
|
|
338
|
-
dependencies = [
|
|
339
|
-
"proc-macro2",
|
|
340
|
-
"quote",
|
|
341
|
-
"syn",
|
|
342
|
-
]
|
|
343
|
-
|
|
344
340
|
[[package]]
|
|
345
341
|
name = "smallvec"
|
|
346
342
|
version = "1.13.2"
|
|
@@ -366,9 +362,9 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
|
366
362
|
|
|
367
363
|
[[package]]
|
|
368
364
|
name = "symbolica"
|
|
369
|
-
version = "0.
|
|
365
|
+
version = "0.17.0"
|
|
370
366
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
371
|
-
checksum = "
|
|
367
|
+
checksum = "bda144440566e5fd07e45ab88ff77723e49f5a840dfcb4c346b4446db6a95600"
|
|
372
368
|
dependencies = [
|
|
373
369
|
"ahash",
|
|
374
370
|
"append-only-vec",
|
|
@@ -384,7 +380,6 @@ dependencies = [
|
|
|
384
380
|
"rayon",
|
|
385
381
|
"rug",
|
|
386
382
|
"self_cell",
|
|
387
|
-
"serde",
|
|
388
383
|
"smallvec",
|
|
389
384
|
"smartstring",
|
|
390
385
|
"tinyjson",
|
|
@@ -459,22 +454,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
459
454
|
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
|
460
455
|
|
|
461
456
|
[[package]]
|
|
462
|
-
name = "
|
|
463
|
-
version = "0.
|
|
457
|
+
name = "wasi"
|
|
458
|
+
version = "0.14.2+wasi-0.2.4"
|
|
464
459
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
465
|
-
checksum = "
|
|
460
|
+
checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
|
|
466
461
|
dependencies = [
|
|
467
|
-
"
|
|
468
|
-
"safe_arch",
|
|
462
|
+
"wit-bindgen-rt",
|
|
469
463
|
]
|
|
470
464
|
|
|
471
465
|
[[package]]
|
|
472
|
-
name = "
|
|
473
|
-
version = "0.
|
|
466
|
+
name = "wide"
|
|
467
|
+
version = "0.7.28"
|
|
474
468
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
475
|
-
checksum = "
|
|
469
|
+
checksum = "b828f995bf1e9622031f8009f8481a85406ce1f4d4588ff746d872043e855690"
|
|
476
470
|
dependencies = [
|
|
477
|
-
"
|
|
471
|
+
"bytemuck",
|
|
472
|
+
"safe_arch",
|
|
478
473
|
]
|
|
479
474
|
|
|
480
475
|
[[package]]
|
|
@@ -483,22 +478,7 @@ version = "0.52.0"
|
|
|
483
478
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
484
479
|
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
|
|
485
480
|
dependencies = [
|
|
486
|
-
"windows-targets
|
|
487
|
-
]
|
|
488
|
-
|
|
489
|
-
[[package]]
|
|
490
|
-
name = "windows-targets"
|
|
491
|
-
version = "0.48.5"
|
|
492
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
493
|
-
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
|
|
494
|
-
dependencies = [
|
|
495
|
-
"windows_aarch64_gnullvm 0.48.5",
|
|
496
|
-
"windows_aarch64_msvc 0.48.5",
|
|
497
|
-
"windows_i686_gnu 0.48.5",
|
|
498
|
-
"windows_i686_msvc 0.48.5",
|
|
499
|
-
"windows_x86_64_gnu 0.48.5",
|
|
500
|
-
"windows_x86_64_gnullvm 0.48.5",
|
|
501
|
-
"windows_x86_64_msvc 0.48.5",
|
|
481
|
+
"windows-targets",
|
|
502
482
|
]
|
|
503
483
|
|
|
504
484
|
[[package]]
|
|
@@ -507,46 +487,28 @@ version = "0.52.6"
|
|
|
507
487
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
508
488
|
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
|
509
489
|
dependencies = [
|
|
510
|
-
"windows_aarch64_gnullvm
|
|
511
|
-
"windows_aarch64_msvc
|
|
512
|
-
"windows_i686_gnu
|
|
490
|
+
"windows_aarch64_gnullvm",
|
|
491
|
+
"windows_aarch64_msvc",
|
|
492
|
+
"windows_i686_gnu",
|
|
513
493
|
"windows_i686_gnullvm",
|
|
514
|
-
"windows_i686_msvc
|
|
515
|
-
"windows_x86_64_gnu
|
|
516
|
-
"windows_x86_64_gnullvm
|
|
517
|
-
"windows_x86_64_msvc
|
|
494
|
+
"windows_i686_msvc",
|
|
495
|
+
"windows_x86_64_gnu",
|
|
496
|
+
"windows_x86_64_gnullvm",
|
|
497
|
+
"windows_x86_64_msvc",
|
|
518
498
|
]
|
|
519
499
|
|
|
520
|
-
[[package]]
|
|
521
|
-
name = "windows_aarch64_gnullvm"
|
|
522
|
-
version = "0.48.5"
|
|
523
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
524
|
-
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
|
|
525
|
-
|
|
526
500
|
[[package]]
|
|
527
501
|
name = "windows_aarch64_gnullvm"
|
|
528
502
|
version = "0.52.6"
|
|
529
503
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
530
504
|
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
|
531
505
|
|
|
532
|
-
[[package]]
|
|
533
|
-
name = "windows_aarch64_msvc"
|
|
534
|
-
version = "0.48.5"
|
|
535
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
536
|
-
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
|
|
537
|
-
|
|
538
506
|
[[package]]
|
|
539
507
|
name = "windows_aarch64_msvc"
|
|
540
508
|
version = "0.52.6"
|
|
541
509
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
542
510
|
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
|
543
511
|
|
|
544
|
-
[[package]]
|
|
545
|
-
name = "windows_i686_gnu"
|
|
546
|
-
version = "0.48.5"
|
|
547
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
548
|
-
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
|
|
549
|
-
|
|
550
512
|
[[package]]
|
|
551
513
|
name = "windows_i686_gnu"
|
|
552
514
|
version = "0.52.6"
|
|
@@ -559,36 +521,18 @@ version = "0.52.6"
|
|
|
559
521
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
560
522
|
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
|
561
523
|
|
|
562
|
-
[[package]]
|
|
563
|
-
name = "windows_i686_msvc"
|
|
564
|
-
version = "0.48.5"
|
|
565
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
566
|
-
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
|
|
567
|
-
|
|
568
524
|
[[package]]
|
|
569
525
|
name = "windows_i686_msvc"
|
|
570
526
|
version = "0.52.6"
|
|
571
527
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
572
528
|
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
|
573
529
|
|
|
574
|
-
[[package]]
|
|
575
|
-
name = "windows_x86_64_gnu"
|
|
576
|
-
version = "0.48.5"
|
|
577
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
578
|
-
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
|
|
579
|
-
|
|
580
530
|
[[package]]
|
|
581
531
|
name = "windows_x86_64_gnu"
|
|
582
532
|
version = "0.52.6"
|
|
583
533
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
584
534
|
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
|
585
535
|
|
|
586
|
-
[[package]]
|
|
587
|
-
name = "windows_x86_64_gnullvm"
|
|
588
|
-
version = "0.48.5"
|
|
589
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
590
|
-
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
|
|
591
|
-
|
|
592
536
|
[[package]]
|
|
593
537
|
name = "windows_x86_64_gnullvm"
|
|
594
538
|
version = "0.52.6"
|
|
@@ -597,15 +541,18 @@ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
|
|
597
541
|
|
|
598
542
|
[[package]]
|
|
599
543
|
name = "windows_x86_64_msvc"
|
|
600
|
-
version = "0.
|
|
544
|
+
version = "0.52.6"
|
|
601
545
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
602
|
-
checksum = "
|
|
546
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
|
603
547
|
|
|
604
548
|
[[package]]
|
|
605
|
-
name = "
|
|
606
|
-
version = "0.
|
|
549
|
+
name = "wit-bindgen-rt"
|
|
550
|
+
version = "0.39.0"
|
|
607
551
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
608
|
-
checksum = "
|
|
552
|
+
checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
|
|
553
|
+
dependencies = [
|
|
554
|
+
"bitflags",
|
|
555
|
+
]
|
|
609
556
|
|
|
610
557
|
[[package]]
|
|
611
558
|
name = "zerocopy"
|
|
@@ -74,14 +74,14 @@ fn main() {
|
|
|
74
74
|
)
|
|
75
75
|
.unwrap();
|
|
76
76
|
if !monomial_factor.is_one() {
|
|
77
|
-
write!(&mut output, ",{}"
|
|
77
|
+
write!(&mut output, ",{monomial_factor}").unwrap();
|
|
78
78
|
}
|
|
79
79
|
for (f, p) in factors {
|
|
80
80
|
if f.nterms() != 1 {
|
|
81
81
|
if p == 1 {
|
|
82
|
-
write!(&mut output, ",{}"
|
|
82
|
+
write!(&mut output, ",{f}").unwrap();
|
|
83
83
|
} else {
|
|
84
|
-
write!(&mut output, ",({})^{}"
|
|
84
|
+
write!(&mut output, ",({f})^{p}").unwrap();
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -93,7 +93,5 @@ fn main() {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
fn get_poly(expr: &str, var_map: &Arc<Vec<Variable>>) -> MultivariatePolynomial<Z, u8> {
|
|
96
|
-
parse!(expr)
|
|
97
|
-
.unwrap()
|
|
98
|
-
.to_polynomial(&Z, Some(var_map.clone()))
|
|
96
|
+
parse!(expr).to_polynomial(&Z, Some(var_map.clone()))
|
|
99
97
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "polybench"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.3"
|
|
4
4
|
description = "Multivariate polynomial arithmetic benchmark tests."
|
|
5
5
|
license = "MIT"
|
|
6
6
|
authors = ["Takahiro Ueda <t.ueda.od@juntendo.ac.jp>"]
|
|
@@ -19,11 +19,11 @@ classifiers = [
|
|
|
19
19
|
python = "^3.6.1"
|
|
20
20
|
|
|
21
21
|
colorama = "^0.4.5" # 0.4.6 requires python >= 3.7
|
|
22
|
-
colorlog = "^6.
|
|
22
|
+
colorlog = "^6.9.0"
|
|
23
23
|
importlib-metadata = "^4.8.3" # 4.9.0 requires python >= 3.7
|
|
24
24
|
importlib-resources = "^5.4.0" # 5.6.0 requires python >= 3.7
|
|
25
25
|
pretty-errors = "^1.2.25"
|
|
26
|
-
psutil = "^
|
|
26
|
+
psutil = "^7.0.0"
|
|
27
27
|
py-cpuinfo = "^9.0.0"
|
|
28
28
|
toml = "^0.10.2"
|
|
29
29
|
typing-extensions = "^4.1.1" # 4.2.0 requires python >= 3.7
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/rings/gradle/wrapper/gradle-wrapper.jar
RENAMED
|
File without changes
|
{polybench-0.3.1 → polybench-0.3.3}/polybench/solvers/rings/gradle/wrapper/gradle-wrapper.properties
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|