Skip to content

Commit

Permalink
perf(Python): Enable wasm_simd, wasm_memory64 for WASI
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed May 26, 2023
1 parent bfee36f commit 3fb6d25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/python/itkwasm/itkwasm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""itkwasm: Python interface to itk-wasm WebAssembly modules."""

__version__ = "1.0b104"
__version__ = "1.0b105"

from .interface_types import InterfaceTypes
from .image import Image, ImageType
Expand Down
2 changes: 2 additions & 0 deletions packages/core/python/itkwasm/itkwasm/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ def __init__(self, pipeline: Union[str, Path, bytes]):
"""Compile the pipeline."""
self.config = Config()
self.config.wasm_bulk_memory = True
self.config.wasm_simd = True
self.config.wasm_memory64 = True
self.engine = Engine(self.config)
if isinstance(pipeline, bytes):
wasm_bytes = pipeline
Expand Down

0 comments on commit 3fb6d25

Please sign in to comment.