# torch 2.15.0 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input
Delete memory allocated using the CUDA memory allocator.

    Memory allocated with :func:`~torch.cuda.caching_allocator_alloc`.
    is freed here. The associated device and stream are tracked inside
    the allocator.

    Args:
        mem_ptr (int): memory address to be freed by the allocator.

    .. note::
        See :ref:`cuda-memory-management` for more details about GPU memory
        management.
    
=== parse google
short_description: 'Delete memory allocated using the CUDA memory allocator.'
long_description: |
  Memory allocated with :func:`~torch.cuda.caching_allocator_alloc`.
  is freed here. The associated device and stream are tracked inside
  the allocator.
  
  .. note::
      See :ref:`cuda-memory-management` for more details about GPU memory
      management.
blank_after_short_description: True
blank_after_long_description: True
style: google
- DocstringParam
  description: 'memory address to be freed by the allocator.'
  kind: param
  key: 'param'
  arg_name: 'mem_ptr'
  type_name: 'int'
  is_optional: False
=== detect
google
=== compose google
Delete memory allocated using the CUDA memory allocator.

Memory allocated with :func:`~torch.cuda.caching_allocator_alloc`.
is freed here. The associated device and stream are tracked inside
the allocator.

.. note::
    See :ref:`cuda-memory-management` for more details about GPU memory
    management.

Args:
    mem_ptr (int): memory address to be freed by the allocator.
