diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-10-29 20:14:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 20:14:40 +0200 |
commit | 8829b807a841911ce18e79b308fee9fb92fb91b6 (patch) | |
tree | 88b1c765b18a524dc89e98e94e412d5acea121d6 /runtests.py | |
parent | 43683b3256a86659f230dcadbcde1f8020398bfa (diff) | |
parent | ac4ffe1d39d9cc845948079a24facf7057effb24 (diff) | |
download | numpy-8829b807a841911ce18e79b308fee9fb92fb91b6.tar.gz |
Merge pull request #16782 from seiko2plus/implement_npyv_pymod
ENH, TST: Bring the NumPy C SIMD vectorization interface "NPYV" to Python
Diffstat (limited to 'runtests.py')
-rwxr-xr-x | runtests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtests.py b/runtests.py index f8b70d936..87e26768b 100755 --- a/runtests.py +++ b/runtests.py @@ -122,6 +122,9 @@ def main(argv): help="Specify a list of dispatched CPU optimizations"), parser.add_argument("--disable-optimization", action="store_true", help="Disable CPU optimized code(dispatch,simd,fast...)"), + parser.add_argument("--simd-test", default=None, + help="Specify a list of CPU optimizations to be " + "tested against NumPy SIMD interface"), parser.add_argument("--show-build-log", action="store_true", help="Show build output rather than using a log file") parser.add_argument("--bench", action="store_true", @@ -439,6 +442,8 @@ def build_project(args): cmd += ["--cpu-dispatch", args.cpu_dispatch] if args.disable_optimization: cmd += ["--disable-optimization"] + if args.simd_test is not None: + cmd += ["--simd-test", args.simd_test] # Install; avoid producing eggs so numpy can be imported from dst_dir. cmd += ['install', '--prefix=' + dst_dir, '--single-version-externally-managed', |