Adaptive data parallelism for internet clients on heterogeneous platforms

  • Authors:
  • Alessandro Pignotti;Adam Welc;Bernd Mathiske

  • Affiliations:
  • Scuola Superiore Sant'Anna, Pisa, Italy;Oracle Labs, Belmont, CA, USA;Adobe, San Jose, CA, USA

  • Venue:
  • Proceedings of the 8th symposium on Dynamic languages
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Today's Internet is long past static web pages filled with HTML-formatted text sprinkled with an occasional image or animation. We have entered an era of Rich Internet Applications executed locally on Internet clients such as web browsers: games, physics engines, image rendering, photo editing, etc. Yet today's languages used to program Internet clients have limited ability to tap to the computational capabilities of the underlying, often heterogeneous, platforms. In this paper we present how a Domain Specific Language(DSL) can be integrated into ActionScript, one of the most popular scripting languages used to program Internet clients and a close cousin of JavaScript. We demonstrate how our DSL, called ASDP (ActionScript Data Parallel), can be used to enable data parallelism for existing sequential programs. We also present a prototype of a system where data parallel workloads can be executed on either CPU or a GPU, with the runtime system transparently selecting the best processing unit, depending on the type of workload as well as the architecture and current load of the execution platform. We evaluate performance of our system on a variety of benchmarks, representing different types of workloads: physics, image processing, scientific computing and cryptography.