Skip to content
Snippets Groups Projects
Commit fc8184af authored by Matt Wala's avatar Matt Wala
Browse files

Fix doctest warning.

parent 5108ca72
No related branches found
No related tags found
No related merge requests found
......@@ -267,6 +267,7 @@ Additionally, for C-based languages, header definitions can be obtained via
the :func:`loopy.generate_header`:
.. doctest::
>>> header = str(lp.generate_header(typed_knl)[0])
>>> print(header)
__kernel void __attribute__ ((reqd_work_group_size(1, 1, 1))) loopy_kernel(__global float const *__restrict__ a, int const n, __global float *__restrict__ out);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment