Design of a custom vector operation API exploiting SIMD intrinsics within Java
Authors:
- 1 May 2010
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 08407789,p. 1-4
Abstract
The use of Single Instruction Multiple Data (SIMD) operations can be instrumental in meeting the needs of high performance computations. Most languages, including C/C++, give a user the power to directly exploit this hardware and inherent parallelism. We have created a retargetable native SIMD library which Java programmers are now able to use to directly access SIMD intrinsics including MMX, SSE1, SSE2 and SSE3 through prescribed Java methods in an API. This API gives users direct control over their high-performance computations instead of solely relying on the SIMD optimizations of the Java Virtual Machine (JVM), or relying on a GPU which must send and receive the data from the CPU. Through the use of this Java API and the included backing library, substantial performance gains can be achieved on large and complex vector operations. We show an example for which the API obtains a 2x to 3x speedup for both small and large data sets as compared to solely relying on the SIMD optimizations in the JVM.Keywords
This publication has 5 references indexed in Scilit:
- Towards a Next-Generation Matrix Library for Java2009
- Parallel Image Processing Based on CUDA2008
- Design Assists for Embedded Systems in the COINS Compiler Infrastructure2007
- Making Java/sup TM/ math libraries by translating Fortran2002
- Java for numerically intensive computing: from flops to gigaflops1999