Vacancy No. IPE 03-20
IPE 03-20 Internship or Master Thesis: High-speed inter-operation between CUDA and OpenCL platforms
CUDA and OpenCL are platforms to write fast and efficient general-purpose applications for GPUs. OpenCL is running on a variety of different hardware. CUDA is developed by NVIDIA and supports NVIDIA GPUs only. On the other hand, CUDA is a more mature technology which provides significantly better development tools and a large collection of high-performance libraries. The NVIDIA GPUDirect technology is invaluable for low latency real-time application. It allows direct communication between GPUs and other devices on the PCIe bus, but is only available on CUDA platform as well. While both platforms have similar concepts and define a very similar syntax, the communication between OpenCL and CUDA components is not directly possible.
The goal of the project to investigate how it is possible to inter-operate modules written in CUDA and OpenCL with a minimal penalty to the performance. The student is expected to evaluate different approaches, measure associated performance penalty, and apply the selected approach to OpenCLbased UFO image-processing framework.
The goal is to
- Facilitate GPUDirect technology if NVIDIA GPUs are used
- Enable utilization of NVIDIA developer tools with OpenCL plugins
- Add support for plugins written in CUDA
There are several possible approaches to explore:
- Both CUDA and OpenCL are able to inter-operate with OpenGL to combine computing and visualization. OpenGL can be used as intermediate layer to provide inter-operation between CUDA and OpenCL.
- POCL (Portable Computing Language) is an opensource OpenCL platform supporting CPUs and GPUs. For NVIDIA GPUs, it serves as a bridge between an OpenCL application and CUDA framework. It should be possible to extend POCL to expose CUDA structures hidden beneath OpenCL abstraction.
- LLVM infrastructure may be utilized to convert between CUDA and OpenCL dialects on the fly. Particularly, AMD develops ROCm framework which includes tool to convert CUDA applications to AMD HCC. The resulting code can be, then, executed on NVIDIA with CUDA or AMD using OpenCL.
Good background in computer architecture, strong knowledge of C/C++ programming. Priorexperience in Linux kernel programming and parallel programming using CUDA or OpenCL is a plus.
Institute for Data Processing and Electronics (IPE)
limited, according to the study regulations
Contact person in line-management
Suren Chilingaryan firstname.lastname@example.org IPE
Phone: +49 721 / 608 26579
Andreas Kopmann email@example.com IPE
Phone: +49 721 / 608 24910
Please apply online using the button below for this vacancy number IPE 03-20.
Personnel support is provided by
phone: +49 721 608-25184,
Hermann-von-Helmholtz-Platz 1, 76344 Eggenstein-Leopoldshafen, Germany
If qualified, severely disabled persons will be preferred.