Skip to content

Commit 490b235

Browse files
committed
Use HPy NFI backend by default for benchmarks
1 parent 03fdbb7 commit 490b235

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1578,20 +1578,21 @@ def _register_vms(namespace):
15781578
'--llvm.managed', '--python.PosixModuleBackend=java'
15791579
]), SUITE, 10)
15801580
python_vm_registry.add_vm(GraalPythonVm(config_name=CONFIGURATION_NATIVE, extra_polyglot_args=[
1581+
'--experimental-options', '--python.HPyBackend=NFI'
15811582
]), SUITE, 10)
15821583
python_vm_registry.add_vm(GraalPythonVm(config_name=CONFIGURATION_NATIVE_INTERPRETER, extra_polyglot_args=[
1583-
'--experimental-options', '--engine.Compilation=false']), SUITE, 10)
1584+
'--experimental-options', '--engine.Compilation=false', '--python.HPyBackend=NFI']), SUITE, 10)
15841585
python_vm_registry.add_vm(GraalPythonVm(config_name=CONFIGURATION_SANDBOXED_MULTI, extra_polyglot_args=[
15851586
'--experimental-options', '-multi-context', '--llvm.managed', '--python.PosixModuleBackend=java'
15861587
]), SUITE, 10)
15871588
python_vm_registry.add_vm(GraalPythonVm(config_name=CONFIGURATION_NATIVE_MULTI, extra_polyglot_args=[
1588-
'--experimental-options', '-multi-context',
1589+
'--experimental-options', '-multi-context', '--python.HPyBackend=NFI'
15891590
]), SUITE, 10)
15901591
python_vm_registry.add_vm(GraalPythonVm(config_name=CONFIGURATION_NATIVE_INTERPRETER_MULTI, extra_polyglot_args=[
1591-
'--experimental-options', '-multi-context', '--engine.Compilation=false',
1592+
'--experimental-options', '-multi-context', '--engine.Compilation=false', '--python.HPyBackend=NFI'
15921593
]), SUITE, 10)
15931594
python_vm_registry.add_vm(GraalPythonVm(config_name=CONFIGURATION_NATIVE_MULTI_TIER, extra_polyglot_args=[
1594-
'--experimental-options', '--engine.MultiTier=true',
1595+
'--experimental-options', '--engine.MultiTier=true', '--python.HPyBackend=NFI'
15951596
]), SUITE, 10)
15961597

15971598
# java embedding driver

0 commit comments

Comments
 (0)