Detail výsledku

Expand OpenCL Includes

Vznik: 2016
Typ
software
Jazyk
anglicky
Autoři
Polok Lukáš, Ing., Ph.D., UPGM (FIT)
Popis

Since an early version, it is possible to #include files in OpenCL kernels. While this is a reasonably good way to reduce repeated code, it also makes it harder to package your application. This tool partially preprocesses the given kernel files and expands the includes. It also (optionally) adds the #line directives so that in case there are compile errors, the line numbers and the original source file name are reported correctly.

This also includes a build rule for Visual Studio. This build rule cooperates with File-to-header to package the kernel in an include file so that it is not needed to package the kernel files alongside your application. Note that the kernels should be built in a separate VS project on which the main project should depend, to ensure correct build order (otherwise the headers get updated and the depending C++ files that include them may not get compiled anymore).

Klíčová slova

OpenCL, GPGPU, kernel, preprocessor, compiler

URL
Licence
K využití výsledku jiným subjektem je vždy nutné nabytí licence
Licenční poplatek
Poskytovatel licence na výsledek nepožaduje licenční poplatek
Soubory
Projekty
Centrum kompetence ve zpracování vizuálních informací (V3C - Visual Computing Competence Center), TAČR, Centra kompetence, TE01020415, zahájení: 2012-05-01, ukončení: 2019-12-31, ukončen
Výzkumné skupiny
Pracoviště
Nahoru