Cu2cl: a Cuda-To-Opencl Translator for Multi- and Many-Core Architectures

dc.contributor.authorMartinez Arroyo, Gabriel Ernestoen
dc.contributor.committeechairFeng, Wu-chunen
dc.contributor.committeememberSandu, Adrianen
dc.contributor.committeememberGardner, Mark K.en
dc.contributor.departmentComputer Science and Applicationsen
dc.date.accessioned2014-03-14T20:42:10Zen
dc.date.adate2011-09-02en
dc.date.available2014-03-14T20:42:10Zen
dc.date.issued2011-07-14en
dc.date.rdate2011-09-02en
dc.date.sdate2011-07-28en
dc.description.abstractThe use of graphics processing units (GPUs) in high-performance parallel computing continues to steadily become more prevalent, often as part of a heterogeneous system. For years, CUDA has been the de facto programming environment for nearly all general-purpose GPU (GPGPU) applications. In spite of this, the framework is available only on NVIDIA GPUs, traditionally requiring reimplementation in other frameworks in order to utilize additional multi- or many-core devices. On the other hand, OpenCL provides an open and vendor-neutral programming environment and run-time system. With implementations available for CPUs, GPUs, and other types of accelerators, OpenCL therefore holds the promise of a "write once, run anywhere" ecosystem for heterogeneous computing. Given the many similarities between CUDA and OpenCL, manually porting a CUDA application to OpenCL is almost straightforward, albeit tedious and error-prone. In response to this issue, we created CU2CL, an automated CUDA-to-OpenCL source-to-source translator that possesses a novel design and clever reuse of the Clang compiler framework. Currently, the CU2CL translator covers the primary constructs found in the CUDA Runtime API, and we have successfully translated several applications from the CUDA SDK and Rodinia benchmark suite. CU2CL's translation times are reasonable, allowing for many applications to be translated at once. The number of manual changes required after executing our translator on CUDA source is minimal, with some compiling and working with no changes at all. The performance of our automatically translated applications via CU2CL is on par with their manually ported counterparts.en
dc.description.degreeMaster of Scienceen
dc.identifier.otheretd-07282011-122302en
dc.identifier.sourceurlhttp://scholar.lib.vt.edu/theses/available/etd-07282011-122302/en
dc.identifier.urihttp://hdl.handle.net/10919/34233en
dc.publisherVirginia Techen
dc.relation.haspartMartinez_GE_T_2011.pdfen
dc.rightsIn Copyrighten
dc.rights.urihttp://rightsstatements.org/vocab/InC/1.0/en
dc.subjectGPUen
dc.subjectCompilersen
dc.subjectCUDAen
dc.subjectOpenCLen
dc.subjectSource Translationen
dc.subjectClangen
dc.titleCu2cl: a Cuda-To-Opencl Translator for Multi- and Many-Core Architecturesen
dc.typeThesisen
thesis.degree.disciplineComputer Science and Applicationsen
thesis.degree.grantorVirginia Polytechnic Institute and State Universityen
thesis.degree.levelmastersen
thesis.degree.nameMaster of Scienceen

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Martinez_GE_T_2011.pdf
Size:
583.08 KB
Format:
Adobe Portable Document Format

Collections