Skip to content

Commit 0f820d1

Browse files
committed
Put in a NOTE call out box and change to AMD ROCm.
1 parent 81fb13e commit 0f820d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

advanced_source/cpp_custom_ops.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ Custom C++ and CUDA Operators
1919
* PyTorch 2.4 or later
2020
* Basic understanding of C++ and CUDA programming
2121

22+
.. note::
23+
24+
This tutorial will also work on AMD ROCm with no additional modifications.
25+
2226
PyTorch offers a large library of operators that work on Tensors (e.g. torch.add, torch.sum, etc).
2327
However, you may wish to bring a new custom operator to PyTorch. This tutorial demonstrates the
2428
blessed path to authoring a custom operator written in C++/CUDA.
@@ -420,7 +424,3 @@ In this tutorial, we went over the recommended approach to integrating Custom C+
420424
and CUDA operators with PyTorch. The ``TORCH_LIBRARY/torch.library`` APIs are fairly
421425
low-level. For more information about how to use the API, see
422426
`The Custom Operators Manual <https://pytorch.org/tutorials/advanced/custom_ops_landing_page.html#the-custom-operators-manual>`_.
423-
424-
Custom Operators on the AMD GPU
425-
-------------------------------
426-
This tutorial will also work on the AMD GPU with no additional modifications.

0 commit comments

Comments
 (0)