polybench 0.3.0__tar.gz → 0.3.2__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.0 → polybench-0.3.2}/LICENSE +1 -1
- {polybench-0.3.0 → polybench-0.3.2}/PKG-INFO +20 -19
- {polybench-0.3.0 → polybench-0.3.2}/README.md +9 -8
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/flint/vcpkg.json +1 -1
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/rings/build.gradle +4 -4
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/rings/src/main/java/com/github/tueda/polybench/rings/App.java +16 -23
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/symbolica/Cargo.lock +3 -24
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/symbolica/Cargo.toml +1 -1
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/symbolica/src/main.rs +5 -10
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/symbolica.py +1 -5
- {polybench-0.3.0 → polybench-0.3.2}/pyproject.toml +8 -8
- {polybench-0.3.0 → polybench-0.3.2}/polybench/__init__.py +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/__main__.py +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/main.py +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/plot.py +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/poly.py +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/prob.py +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/py.typed +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solver.py +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/__init__.py +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/fer.py +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/flint/CMakeLists.txt +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/flint/cmake/init-vcpkg.cmake +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/flint/main.c +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/flint/version.h.in +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/flint.py +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/form.py +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/mma.py +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/reform/Cargo.lock +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/reform/Cargo.toml +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/reform/src/main.rs +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/reform.py +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/rings/config/greclipse.properties +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/rings/gradle/wrapper/gradle-wrapper.jar +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/rings/gradle/wrapper/gradle-wrapper.properties +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/rings/gradlew +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/rings/gradlew.bat +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/rings.py +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/solvers/singular.py +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/util.py +0 -0
- {polybench-0.3.0 → polybench-0.3.2}/polybench/version.py +0 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: polybench
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: Multivariate polynomial arithmetic benchmark tests.
|
|
5
|
-
Home-page: https://github.com/tueda/polybench
|
|
6
5
|
License: MIT
|
|
7
6
|
Keywords: benchmark,mathematics,multivariate-polynomials
|
|
8
7
|
Author: Takahiro Ueda
|
|
@@ -19,28 +18,29 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.10
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
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"
|
|
29
|
-
Requires-Dist: kiwisolver (>=1.4.5,<2.0.0) ; python_version >= "3.7" and python_version < "3.
|
|
29
|
+
Requires-Dist: kiwisolver (>=1.4.5,<2.0.0) ; python_version >= "3.7" and python_version < "3.14"
|
|
30
30
|
Requires-Dist: matplotlib (>=3.3.4,<3.4.0) ; python_full_version >= "3.6.1" and python_full_version < "3.7.0"
|
|
31
31
|
Requires-Dist: matplotlib (>=3.5.3,<3.6.0) ; python_version >= "3.7" and python_version < "3.11"
|
|
32
|
-
Requires-Dist: matplotlib (>=3.9.0,<4.0.0) ; python_version >= "3.11" and python_version < "3.
|
|
32
|
+
Requires-Dist: matplotlib (>=3.9.0,<4.0.0) ; python_version >= "3.11" and python_version < "3.14"
|
|
33
33
|
Requires-Dist: numpy (>=1.19.5,<1.20.0) ; python_full_version >= "3.6.1" and python_full_version < "3.7.0"
|
|
34
34
|
Requires-Dist: numpy (>=1.21.6,<1.22.0) ; python_version >= "3.7" and python_version < "3.11"
|
|
35
|
-
Requires-Dist: numpy (>=2.0.0,<3.0.0) ; python_version >= "3.11" and python_version < "3.
|
|
35
|
+
Requires-Dist: numpy (>=2.0.0,<3.0.0) ; python_version >= "3.11" and python_version < "3.14"
|
|
36
36
|
Requires-Dist: pandas (>=1.1.5,<1.2.0) ; python_full_version >= "3.6.1" and python_full_version < "3.7.1"
|
|
37
37
|
Requires-Dist: pandas (>=1.3.5,<1.4.0) ; python_full_version >= "3.7.1" and python_version < "3.11"
|
|
38
|
-
Requires-Dist: pandas (>=2.2.2,<3.0.0) ; python_version >= "3.11" and python_version < "3.
|
|
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
|
-
Requires-Dist: symengine (>=0.10.0,<0.11.0) ; python_version
|
|
43
|
-
Requires-Dist: symengine (>=0.
|
|
42
|
+
Requires-Dist: symengine (>=0.10.0,<0.11.0) ; python_version == "3.7"
|
|
43
|
+
Requires-Dist: symengine (>=0.13.0,<0.14.0) ; python_version >= "3.8" and python_version < "3.14"
|
|
44
44
|
Requires-Dist: symengine (>=0.8.1,<0.9.0) ; python_full_version >= "3.6.1" and python_full_version < "3.7.0"
|
|
45
45
|
Requires-Dist: toml (>=0.10.2,<0.11.0)
|
|
46
46
|
Requires-Dist: typing-extensions (>=4.1.1,<5.0.0)
|
|
@@ -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)
|
|
@@ -160,14 +161,14 @@ Example
|
|
|
160
161
|
| FLINT | flint 2.9.0, cc (GNU) 10.5.0 |
|
|
161
162
|
| FORM | FORM 4.3.1 (Apr 11 2023, v4.3.1) 64-bits |
|
|
162
163
|
| Mathematica | 14.1.0 for Linux x86 (64-bit) (July 22, 2024) |
|
|
163
|
-
| reFORM | 0.1.0-fix-serialize, rustc 1.
|
|
164
|
+
| reFORM | 0.1.0-fix-serialize, rustc 1.84.1 (e71f9a9a9 2025-01-27) |
|
|
164
165
|
| Rings | 2.5.8, JVM: 11.0.20.1 (Ubuntu 11.0.20.1+1-post-Ubuntu-0ubuntu120.04) |
|
|
165
|
-
| Singular | Singular for x86_64-Linux version 4.4.
|
|
166
|
-
| Symbolica | 0.
|
|
166
|
+
| Singular | Singular for x86_64-Linux version 4.4.1 (44100, 64 bit) Jan 2025 |
|
|
167
|
+
| Symbolica | 0.15.0, rustc 1.84.1 (e71f9a9a9 2025-01-27) |
|
|
167
168
|
|
|
168
|
-

|
|
169
170
|
|
|
170
|
-

|
|
171
172
|
|
|
172
173
|
Additional benchmark results are available [here](https://github.com/tueda/polybench-result/tree/main).
|
|
173
174
|
|
|
@@ -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)
|
|
@@ -111,14 +112,14 @@ Example
|
|
|
111
112
|
| FLINT | flint 2.9.0, cc (GNU) 10.5.0 |
|
|
112
113
|
| FORM | FORM 4.3.1 (Apr 11 2023, v4.3.1) 64-bits |
|
|
113
114
|
| Mathematica | 14.1.0 for Linux x86 (64-bit) (July 22, 2024) |
|
|
114
|
-
| reFORM | 0.1.0-fix-serialize, rustc 1.
|
|
115
|
+
| reFORM | 0.1.0-fix-serialize, rustc 1.84.1 (e71f9a9a9 2025-01-27) |
|
|
115
116
|
| Rings | 2.5.8, JVM: 11.0.20.1 (Ubuntu 11.0.20.1+1-post-Ubuntu-0ubuntu120.04) |
|
|
116
|
-
| Singular | Singular for x86_64-Linux version 4.4.
|
|
117
|
-
| Symbolica | 0.
|
|
117
|
+
| Singular | Singular for x86_64-Linux version 4.4.1 (44100, 64 bit) Jan 2025 |
|
|
118
|
+
| Symbolica | 0.15.0, rustc 1.84.1 (e71f9a9a9 2025-01-27) |
|
|
118
119
|
|
|
119
|
-

|
|
120
121
|
|
|
121
|
-

|
|
122
123
|
|
|
123
124
|
Additional benchmark results are available [here](https://github.com/tueda/polybench-result/tree/main).
|
|
124
125
|
|
|
@@ -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 '
|
|
4
|
-
id 'com.github.ben-manes.versions' version '0.
|
|
5
|
-
id 'ru.vyarus.quality' version '
|
|
3
|
+
id 'com.diffplug.spotless' version '7.0.4'
|
|
4
|
+
id 'com.github.ben-manes.versions' version '0.52.0'
|
|
5
|
+
id 'ru.vyarus.quality' version '5.0.0'
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
def versions = [
|
|
9
|
-
checkstyle: '
|
|
9
|
+
checkstyle: '10.25.0',
|
|
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"
|
|
@@ -321,26 +321,6 @@ version = "1.0.4"
|
|
|
321
321
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
322
322
|
checksum = "d369a96f978623eb3dc28807c4852d6cc617fed53da5d3c400feff1ef34a714a"
|
|
323
323
|
|
|
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
324
|
[[package]]
|
|
345
325
|
name = "smallvec"
|
|
346
326
|
version = "1.13.2"
|
|
@@ -366,9 +346,9 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
|
366
346
|
|
|
367
347
|
[[package]]
|
|
368
348
|
name = "symbolica"
|
|
369
|
-
version = "0.
|
|
349
|
+
version = "0.16.0"
|
|
370
350
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
371
|
-
checksum = "
|
|
351
|
+
checksum = "cd604b65465f118ac20bc2edef1b45f15f28e978b72e89050101dc524432e501"
|
|
372
352
|
dependencies = [
|
|
373
353
|
"ahash",
|
|
374
354
|
"append-only-vec",
|
|
@@ -384,7 +364,6 @@ dependencies = [
|
|
|
384
364
|
"rayon",
|
|
385
365
|
"rug",
|
|
386
366
|
"self_cell",
|
|
387
|
-
"serde",
|
|
388
367
|
"smallvec",
|
|
389
368
|
"smartstring",
|
|
390
369
|
"tinyjson",
|
|
@@ -3,12 +3,11 @@ use std::fs::File;
|
|
|
3
3
|
use std::io::{BufRead, BufReader, LineWriter, Write};
|
|
4
4
|
use std::sync::Arc;
|
|
5
5
|
use std::time::Instant;
|
|
6
|
-
use symbolica::atom::Atom;
|
|
7
6
|
use symbolica::domains::integer::Z;
|
|
8
7
|
use symbolica::poly::factor::Factorize;
|
|
9
8
|
use symbolica::poly::polynomial::MultivariatePolynomial;
|
|
10
9
|
use symbolica::poly::Variable;
|
|
11
|
-
use symbolica::
|
|
10
|
+
use symbolica::{atom::AtomCore, parse, symbol};
|
|
12
11
|
|
|
13
12
|
fn main() {
|
|
14
13
|
let args: Vec<_> = env::args().collect();
|
|
@@ -22,12 +21,8 @@ fn main() {
|
|
|
22
21
|
|
|
23
22
|
let mut output = LineWriter::new(output_file);
|
|
24
23
|
|
|
25
|
-
let var_map: Arc<Vec<Variable>> =
|
|
26
|
-
variables
|
|
27
|
-
.iter()
|
|
28
|
-
.map(|x| State::get_symbol(x).into())
|
|
29
|
-
.collect(),
|
|
30
|
-
);
|
|
24
|
+
let var_map: Arc<Vec<Variable>> =
|
|
25
|
+
Arc::new(variables.iter().map(|x| symbol!(x).into()).collect());
|
|
31
26
|
|
|
32
27
|
for line in BufReader::new(input_file).lines() {
|
|
33
28
|
let line = line.unwrap();
|
|
@@ -97,8 +92,8 @@ fn main() {
|
|
|
97
92
|
}
|
|
98
93
|
}
|
|
99
94
|
|
|
100
|
-
fn get_poly(expr: &str, var_map: &Arc<Vec<Variable>>) -> MultivariatePolynomial<Z> {
|
|
101
|
-
|
|
95
|
+
fn get_poly(expr: &str, var_map: &Arc<Vec<Variable>>) -> MultivariatePolynomial<Z, u8> {
|
|
96
|
+
parse!(expr)
|
|
102
97
|
.unwrap()
|
|
103
98
|
.to_polynomial(&Z, Some(var_map.clone()))
|
|
104
99
|
}
|
|
@@ -38,11 +38,7 @@ class SymbolicaSolver(Solver):
|
|
|
38
38
|
args = [variables, str(self.problem_file), str(log_file)]
|
|
39
39
|
if not self.run(
|
|
40
40
|
[
|
|
41
|
-
|
|
42
|
-
"run",
|
|
43
|
-
f"--manifest-path={self._build_dir}/Cargo.toml",
|
|
44
|
-
"--release",
|
|
45
|
-
"--",
|
|
41
|
+
f"{self._build_dir}/target/release/polybench-symbolica",
|
|
46
42
|
*args,
|
|
47
43
|
]
|
|
48
44
|
):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "polybench"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.2"
|
|
4
4
|
description = "Multivariate polynomial arithmetic benchmark tests."
|
|
5
5
|
license = "MIT"
|
|
6
6
|
authors = ["Takahiro Ueda <t.ueda.od@juntendo.ac.jp>"]
|
|
@@ -19,38 +19,38 @@ 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
|
|
30
30
|
|
|
31
31
|
kiwisolver = [
|
|
32
32
|
{ version = "~1.3.1", python = "~3.6.1" },
|
|
33
|
-
{ version = "^1.4.5", python = ">=3.7,<3.
|
|
33
|
+
{ version = "^1.4.5", python = ">=3.7,<3.14" },
|
|
34
34
|
]
|
|
35
35
|
symengine = [
|
|
36
36
|
{ version = "~0.8.1", python = "~3.6.1" },
|
|
37
37
|
{ version = "~0.10.0", python = ">=3.7,<3.8" },
|
|
38
|
-
{ version = "^0.
|
|
38
|
+
{ version = "^0.13.0", python = ">=3.8,<3.14" },
|
|
39
39
|
]
|
|
40
40
|
matplotlib = [
|
|
41
41
|
{ version = "~3.3.4", python = "~3.6.1" },
|
|
42
42
|
{ version = "~3.5.3", python = ">=3.7,<3.11" },
|
|
43
|
-
{ version = "^3.9.0", python = ">=3.11,<3.
|
|
43
|
+
{ version = "^3.9.0", python = ">=3.11,<3.14" },
|
|
44
44
|
]
|
|
45
45
|
numpy = [
|
|
46
46
|
{ version = "~1.19.5", python = "~3.6.1" },
|
|
47
47
|
{ version = "~1.21.6", python = ">=3.7,<3.11" },
|
|
48
|
-
{ version = "^2.0.0", python = ">=3.11,<3.
|
|
48
|
+
{ version = "^2.0.0", python = ">=3.11,<3.14" },
|
|
49
49
|
]
|
|
50
50
|
pandas = [
|
|
51
51
|
{ version = "~1.1.5", python = ">=3.6.1,<3.7.1" },
|
|
52
52
|
{ version = "~1.3.5", python = ">=3.7.1,<3.11" },
|
|
53
|
-
{ version = "^2.2.2", python = ">=3.11,<3.
|
|
53
|
+
{ version = "^2.2.2", python = ">=3.11,<3.14" },
|
|
54
54
|
]
|
|
55
55
|
|
|
56
56
|
[tool.poetry.dev-dependencies]
|
|
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.0 → polybench-0.3.2}/polybench/solvers/rings/gradle/wrapper/gradle-wrapper.jar
RENAMED
|
File without changes
|
{polybench-0.3.0 → polybench-0.3.2}/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
|