The specification-file tells HyCuda what you want to name the
generated class, in which namespace you want to embed it, what the
type of your input-data is, how you want to allocate memory and most
importantly, what your algorithm looks like. It consists of 4
sections, seperated by two consecutive percent-signs (%%):
- Directives
- Memory
- Routines
- Order of execution
Each of the sections above will now be discussed in more
detail. Keywords specific to HyCuda are prefixed by a single
percent-sign, in order to be able to distinguish them from C++
keywords. There are two types of comment available in the HyCuda
specification-file. Both end-of-line comments (// single-line
comment) as C-style comments (/* multi-line comment */)
are supported.
Subsections
Joren Heit
2013-12-17