Artigo Acesso aberto Revisado por pares

SPOC: GPGPU PROGRAMMING THROUGH STREAM PROCESSING WITH OCAML

2012; World Scientific; Volume: 22; Issue: 02 Linguagem: Inglês

10.1142/s0129626412400075

ISSN

1793-642X

Autores

Mathias Bourgoin, Emmanuel Chailloux, Jean–Luc Lamotte,

Tópico(s)

Algorithms and Data Compression

Resumo

General purpose computing on graphics processing units (GPGPU) consists of using GPUs to handle computations commonly handled by CPUs. GPGPU programming implies developing specific programs to run on GPUs managed by a host program running on the CPU. To achieve high performance implies to explicitly organize memory transfers between devices. Besides, different incompatible frameworks exist making productivity and portability difficult to achieve. In this paper, we describe SPOC, an OCaml library, defining specific data sets in order to automatically manage transfers between GPU and CPU. SPOC also offers a runtime library looking for multiple frameworks and making them usable transparently. We also describe the link between SPOC and the OCaml garbage collector to optimize transfers dynamically. SPOC benchmarks show that SPOC can offer great performance while simplifying GPGPU programming

Referência(s)