|
@@ -4846,13 +4846,8 @@ TODO
|
|
|
@node OpenCL statistics
|
|
|
@subsection OpenCL statistics
|
|
|
|
|
|
-@menu
|
|
|
-* starpu_opencl_collect_stats:: Collect statistics on a kernel execution
|
|
|
-@end menu
|
|
|
-
|
|
|
-@node starpu_opencl_collect_stats
|
|
|
-@subsubsection @code{starpu_opencl_collect_stats} -- Collect statistics on a kernel execution
|
|
|
@deftypefun int starpu_opencl_collect_stats (cl_event @var{event})
|
|
|
+This function allows to collect statistics on a kernel execution.
|
|
|
After termination of the kernels, the OpenCL codelet should call this function
|
|
|
to pass it the even returned by @code{clEnqueueNDRangeKernel}, to let StarPU
|
|
|
collect statistics about the kernel execution (used cycles, consumed power).
|