High-Level Accelerated Array Programming in the Web Browser - Archive ouverte HAL
Communication Dans Un Congrès Année : 2015

High-Level Accelerated Array Programming in the Web Browser

Mathias Bourgoin

Résumé

Client-side web programming currently means using technologies embedded in web browsers to run computations on the client computer. Most solutions imply using JavaScript which allows to describe computations, and modifications of the DOM displayed by the browser. However, JavaScript limits static checking as everything (types, names, etc.) is checked at runtime. Moreover its concurrent model does not take advantage of multi-core or GPU architectures. In this paper we present WebSPOC, an adapted version of the SPOC library for web applications. SPOC is an OCaml GPGPU library focusing on abstracting memory transfers and handling GPGPU computations in a strongly static typed context. SPOC proposes a specific language, called Sarek, to express kernels and different parallel skeletons to compose them. To run SPOC programs on the Web client side, its OCaml part is compiled to JavaScript code and its Sarek part to kernels running on GPUs or multi-core CPUs.
Fichier non déposé

Dates et versions

hal-01213290 , version 1 (08-10-2015)

Identifiants

Citer

Mathias Bourgoin, Emmanuel Chailloux. High-Level Accelerated Array Programming in the Web Browser. ACM SIGPLAN International Workshop on LIbraries, Languages and Compilers for Array Programming, Jun 2015, Portland, OR, United States. pp.31-36, ⟨10.1145/2774959.2774964⟩. ⟨hal-01213290⟩
50 Consultations
0 Téléchargements

Altmetric

Partager

More