Future Possibilities and Effectiveness of JIT from Elixir Code of Image Processing and Machine Learning into Native Code with SIMD Instructions
この論文をさがす
説明
Nx is a multi-dimensional tensor library for Elixir with multi-staged compilation to the CPU or GPU, which is similar to NumPy and TensorFlow in Python. Nx is expected to be applied in image processing and machine learning. Code used by them in C is often optimized for CPUs into native code with SIMD instructions. In this presentation, we'll show that native code with SIMD instructions is 1000x+ faster than equivalent Elixir code with Nx, to evaluate future possibilities and effectiveness of such code generation and optimization. One of our future works is to implement code generation into BeamAsm, which is a JIT for Erlang VM, which is the backend of Elixir, though it doesn't generate SIMD instructions, now.
Nx is a multi-dimensional tensor library for Elixir with multi-staged compilation to the CPU or GPU, which is similar to NumPy and TensorFlow in Python. Nx is expected to be applied in image processing and machine learning. Code used by them in C is often optimized for CPUs into native code with SIMD instructions. In this presentation, we'll show that native code with SIMD instructions is 1000x+ faster than equivalent Elixir code with Nx, to evaluate future possibilities and effectiveness of such code generation and optimization. One of our future works is to implement code generation into BeamAsm, which is a JIT for Erlang VM, which is the backend of Elixir, though it doesn't generate SIMD instructions, now.
収録刊行物
-
- 情報処理学会論文誌プログラミング(PRO)
-
情報処理学会論文誌プログラミング(PRO) 15 (2), 7-7, 2022-05-20
- Tweet
詳細情報 詳細情報について
-
- CRID
- 1050292162830000000
-
- NII書誌ID
- AA11464814
-
- ISSN
- 18827802
-
- Web Site
- http://id.nii.ac.jp/1001/00218031/
-
- 本文言語コード
- en
-
- 資料種別
- article
-
- データソース種別
-
- IRDB