Skip to main content

TornadoVM Makes It Possible To Run Java on GPUs and FPGAs

 A ray tracer in Java? That's just absurd! Is Java stepping into C++ privileged territory? Yes it is, thanks to TornadoVM.


TornadoVM is a plugin to OpenJDΚ which allows you to run Java on GPU's, FPGAs and dedicated hardware in order to achieve massive gains in performance. For example, the Java Ray Tracer project based on TornadoVM achieves acceleration from 1 FPS in Java to 60 FPS running on Intel HD Graphics and NVIDIA GPUs.


Performance aside, TornadoVM makes programming on such hardware possible with Java and other JVM-based languages, as such breaching the status quo of C++, OpenCL or Cuda. Last time we examined a similar approach was with Python in "Program Deep Learning on the GPU with Triton":


full article on i-programmer:

https://www.i-programmer.info/news/80-java/15376-tornado-vm-makes-it-possible-to-run-java-on-gpus-and-fpgas.html

Comments

Popular posts from this blog

Making GraalVM Based Executables Easy with Liberica Native Image Kit

  Liberica Native Image Kit is a utility for making native images for the JVM, letting you compile applications to executables using the GraalVM native-image compiler. As a refresher on what a native image is Native image is the executable binary file that contains your application, all its dependencies, and runtime components, allowing you to run your JVM based program on any supported configuration without the need for installing runtime or any setup. Native image is the easiest way to distribute your program and start it up faster. Native images have several advantages over JVM interpreted applications:  Almost instant startup time Optimized resource consumption and smaller static footprint Does not require JVM for execution  But why go for GraalVM over packaging your app with say Launch4J or javapackager?  full article on i-programmer: https://www.i-programmer.info/news/80-java/15284-making-graalvm-based-executables-easy.html

Play The Flex Box Adventure

  Coding Fantasy is a new platform for learning CSS, HTML and JavaScript by playing coding games. It already offers a free fun educational game for learning how to use the CSS Flex Box mode and here we look at what it entails. Coding Fantasy's creator Nick Bull has provided a well thought out gamified approach for learning about web development. The first game, Flex Box Adventure, uses three simple sprites - the Knight, Mage and Rogue- who must defeat the evil forces. Defeating them means placing your heroes at the same position as the evil ones by using flexbox's instructions like  flex-direction,justify-content  and  align-items . Check the pictures below for an example of how it works: Challenge Solution #field { display: flex; flex-direction: column; justify-content: flex-end; } full article on i-programmer.info

Azul's Cloud Native Compiler - Why Share The JIT Compiler?

  Azul's Cloud Native Compiler is targeted at organizations with multiple dev teams who share a common environment. Instead of compiling on their local machines, the process is offloaded to a cloud that shares a JIT compiler. Why is that beneficial? As we all know, when compiling code on the JVM there's a JIT compiler that turns the bytecode into machine code. Typically this happens locally at each dev's PC. What Azul offers is to offload this JIT compilation to a cloud-native Kubernetes-based compiler; this has distinct advantages over lone local compilation. Firstly the local resources are not stressed as much because they now engage less CPU and RAM resources. Another advantage is that as a lot of libraries and code is common amongst local dev machines, sharing their compilation in a common repository allows for caching, better dynamic resource optimization, faster compilation and less memory requirements. full article on i-programmer: https://www.i-programmer.info/news/