Utilize este identificador para referenciar este registo:
http://hdl.handle.net/10437/10197
Título: | cf4ocl: A C framework for OpenCL |
Autores: | Fachada, Nuno Lopes, Vitor V. Martins, Rui C. Rosa, Agostinho C. |
Palavras-chave: | OPENCL LINGUAGEM C GENERAL PURPOSE GRAPHICS PROCESSING UNIT HIGH-PERFORMANCE COMPUTING C PROGRAMMING LANGUAGE INTERFACE DE PROGRAMA DE APLICAÇÃO APPLICATION PROGRAM INTERFACE OPENCL COMPUTAÇÃO DE ALTO DESEMPENHO UNIDADE DE PROCESSAMENTO GRÁFICO DE PROPÓSITO GERAL |
Editora: | Elsevier |
Citação: | Fachada, N., Lopes, V. V., Martins, R. C., & Rosa, A. C. (2017). cf4ocl: A C framework for OpenCL. Science of Computer Programming, 143, 9-19 |
Resumo: | OpenCL is an open standard for parallel programming of heterogeneous compute devices, such as GPUs, CPUs, DSPs or FPGAs. However, the verbosity of its C host API can hinder application development. In this paper we present cf4ocl, a software library for rapid development of OpenCL programs in pure C. It aims to reduce the verbosity of the OpenCL API, offering straightforward memory management, integrated profiling of events (e.g., kernel execution and data transfers), simple but extensible device selection mechanism and user-friendly error management. We compare two versions of a conceptual application example, one based on cf4ocl, the other developed directly with the OpenCL host API. Results show that the former is simpler to implement and offers more features, at the cost of an effectively negligible computational overhead. Additionally, the tools provided with cf4ocl allowed for a quick analysis on how to optimize the application. |
Descrição: | Science of Computer Programming |
URI: | https://doi.org/10.1016/j.scico.2017.03.005 http://hdl.handle.net/10437/10197 |
ISSN: | 0167-6423 |
Aparece nas colecções: | ECATI - Atas de Conferências Internacionais |
Ficheiros deste registo:
Ficheiro | Descrição | Tamanho | Formato | |
---|---|---|---|---|
2017_cf4ocl_arxiv.pdf | 865.99 kB | Adobe PDF | Ver/Abrir |
Todos os registos no repositório estão protegidos por leis de copyright, com todos os direitos reservados.