Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PollGPUMemory ¶
func PollGPUMemory() chan GPU
Returns a GPU{} struct every ~1s, or blocks indefinitely if there is no known way to get the spare GPU memory information. Polling is terminated by calling close() on the channel
func PollNvidiaGPUMemory ¶
func PollNvidiaGPUMemory() chan GPU
Types ¶
type ChannelWriter ¶
type ChannelWriter struct {
// contains filtered or unexported fields
}
type NVGpu ¶
Click to show internal directories.
Click to hide internal directories.