Skip to content

Commit

Permalink
doc: add a warning for profiling API
Browse files Browse the repository at this point in the history
  • Loading branch information
densamoilov authored and vpirogov committed Jul 10, 2023
1 parent 51a8f7a commit 8d796ef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/advanced/experimental.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,13 @@ user-provided queue.
dnnl::reset_profiling(stream);
~~~

@warning
- When the stream is created with enabled profiling capabilities it will
collect profiling data for each primitive execution. It is the user's
responsibility to reset the profiler's state to avoid consuming all
memory resources in the system.


#### Limitations

* Only GPU engines with OpenCL and SYCL runtimes are supported
Expand Down

0 comments on commit 8d796ef

Please sign in to comment.