Recent technologies, like general purpose computing GPU, have a major limitation consisting in the difficulties that developers face when implementing parallel code using device-oriented languages. This paper aims to assist developers by automatically producing snippets of code handling GPU-oriented tasks. Our proposed approach is based on Aspect-Oriented-Programming and generates modules in CUDA C compliant code, which are encapsulated and connected by means of JNI. By means of a set of predefined functions we separate the application code from device-dependent concerns, including device memory allocation and management. Moreover, bandwidth utilisation and cores occupancy is automatically handled in order to minimise the overhead caused by host to device communications and the computational imbalance, which often tampers with the effective speedup of a GPU parallelised code.

An AO system for OO-GPU programming / Fornaia, A; Napoli, C; Pappalardo, G; Tramontana, E. - 1382:(2015), pp. 24-31. (Intervento presentato al convegno 16th Workshop on From Object to Agents, WOA 2015 tenutosi a Naples; Italy).

An AO system for OO-GPU programming

Napoli C
;
2015

Abstract

Recent technologies, like general purpose computing GPU, have a major limitation consisting in the difficulties that developers face when implementing parallel code using device-oriented languages. This paper aims to assist developers by automatically producing snippets of code handling GPU-oriented tasks. Our proposed approach is based on Aspect-Oriented-Programming and generates modules in CUDA C compliant code, which are encapsulated and connected by means of JNI. By means of a set of predefined functions we separate the application code from device-dependent concerns, including device memory allocation and management. Moreover, bandwidth utilisation and cores occupancy is automatically handled in order to minimise the overhead caused by host to device communications and the computational imbalance, which often tampers with the effective speedup of a GPU parallelised code.
2015
16th Workshop on From Object to Agents, WOA 2015
High performance cmputing; Aspect oriented programming; Separation of concerns
04 Pubblicazione in atti di convegno::04b Atto di convegno in volume
An AO system for OO-GPU programming / Fornaia, A; Napoli, C; Pappalardo, G; Tramontana, E. - 1382:(2015), pp. 24-31. (Intervento presentato al convegno 16th Workshop on From Object to Agents, WOA 2015 tenutosi a Naples; Italy).
File allegati a questo prodotto
File Dimensione Formato  
Fornaia_An-AO-system_2015.pdf

accesso aperto

Tipologia: Versione editoriale (versione pubblicata con il layout dell'editore)
Licenza: Creative commons
Dimensione 300.38 kB
Formato Adobe PDF
300.38 kB Adobe PDF

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/1328684
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 3
  • ???jsp.display-item.citation.isi??? ND
social impact