When writing the doxygen comment for a function, I use @param
for its parameters, and I can also use @tparam
for its template parameters. However, when writing a GPU kernel (OpenCL or CUDA), I can't quite find a way to document the choices w.r.t. the grid/nd-range:
- Dimensionality - how many dimensions?
- What do the "axes" of the grid signify? Which dimension corresponds to what parameter?
- What are block (OpenCL workgroup) sizes, number of blocks, and/or overall size in each dimenion?
I'm looking for an appropriate doxygen feature with which to record this information in the comment - preferably better than a @note
...