cuda_memory_stats {torch}R Documentation

Returns a dictionary of CUDA memory allocator statistics for a given device.

Description

The return value of this function is a dictionary of statistics, each of which is a non-negative integer.

Usage

cuda_memory_stats(device = cuda_current_device())

cuda_memory_summary(device = cuda_current_device())

Arguments

device

Integer value of the CUDA device to return capabilities of.

Core statistics

For these core statistics, values are broken down as follows.

Pool type:

Metric type:

Additional metrics


[Package torch version 0.13.0 Index]