Загрузка
get_rng_stateReturn the random number generator state of the specified GPU as a ByteTensor. |
Return a list of ByteTensor representing the random number states of all devices. |
Set the random number generator state of the specified GPU. |
Set the random number generator state of all devices. |
Set the seed for generating random numbers for the current GPU. |
Set the seed for generating random numbers on all GPUs. |
Set the seed for generating random numbers to a random number for the current GPU. |
Set the seed for generating random numbers to a random number on all GPUs. |
Return the current random seed of the current GPU. |
Return True if CUDA graph capture is underway on the current CUDA stream, False otherwise. | |
Return an opaque token representing the id of a graph memory pool. | |
Wrapper around a CUDA graph. | |
Context-manager that captures CUDA work into a | |
Accept callables (functions or |
Wrapper around a CUDA stream. | |
Wrapper around an externally allocated CUDA stream. | |
Wrapper around a CUDA event. |