Skip to content

Commit 91bf5b9

Browse files
shoumikhinfacebook-github-bot
authored andcommitted
Fix -Wdocumentation warning. (#3715)
Summary: Pull Request resolved: #3715 . Reviewed By: mergennachin Differential Revision: D57711383 fbshipit-source-id: 8d7427743775abe800b41b192ed872560b75b4d5
1 parent fe910e1 commit 91bf5b9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

runtime/backend/interface.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ class PyTorchBackendInterface {
6767
* memory.
6868
* @param[in] compile_specs The exact same compiler specification that
6969
* was used ahead-of-time to produce `processed`.
70-
* @param[in] memory_allocator The allocator to allocate from if necessary.
7170
*
7271
* @returns On success, an opaque handle representing the the method
7372
* implemented by the delegate. This handle is passed to `execute()` and
@@ -126,7 +125,7 @@ class BackendRegistry {
126125
/**
127126
* Registers the Backend object (i.e. string name and PyTorchBackendInterface
128127
* pair) so that it could be called via the name during the runtime.
129-
* @param[in] name Name of the user-defined backend delegate.
128+
* @param[in] backend Backend object of the user-defined backend delegate.
130129
* @retval Error code representing whether registration was successful.
131130
*/
132131
__ET_NODISCARD Error register_backend(const Backend& backend);

0 commit comments

Comments
 (0)