Documentation ¶
Index ¶
- func BytesEq(x, y []byte) bool
- func ExitErr(err error)
- func Immpossible()
- func InstallStallDetector(name string) *stallDetector
- func ListNvidiaGPUNames() []string
- func LogAllEnvs()
- func LogArgs()
- func LogCudaEnv()
- func LogEnvWithPrefix(prefix string, logPrefix string)
- func LogKungfuEnv()
- func LogNCCLEnv()
- func LogNICInfo() error
- func Measure(f func() error) (time.Duration, error)
- func MergeErrors(errs []error, hint string) error
- func OpenURL(url string, client *http.Client, userAgent string) (io.ReadCloser, error)
- func Pluralize(n int, singular, plural string) string
- func Poll(ctx context.Context, cond func() bool) (int, bool)
- func ProgName() string
- func Rate(n int64, d time.Duration) float64
- func ReadJSON(r io.Reader, i interface{}) error
- func ShowBuildInfo()
- func ShowRate(r float64) string
- func Trap(cancel func(os.Signal))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Immpossible ¶ added in v0.2.3
func Immpossible()
func InstallStallDetector ¶ added in v0.2.2
func InstallStallDetector(name string) *stallDetector
func ListNvidiaGPUNames ¶
func ListNvidiaGPUNames() []string
func LogAllEnvs ¶
func LogAllEnvs()
func LogCudaEnv ¶
func LogCudaEnv()
func LogEnvWithPrefix ¶
func LogKungfuEnv ¶
func LogKungfuEnv()
func LogNCCLEnv ¶
func LogNCCLEnv()
func LogNICInfo ¶
func LogNICInfo() error
func MergeErrors ¶ added in v0.2.2
func ShowBuildInfo ¶ added in v0.2.2
func ShowBuildInfo()
Types ¶
This section is empty.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
runner
|
|
from: https://github.com/lgarithm/go/blob/master/net/ssh/ssh.go Package ssh is a simple wrapper for golang.org/x/crypto/ssh
|
from: https://github.com/lgarithm/go/blob/master/net/ssh/ssh.go Package ssh is a simple wrapper for golang.org/x/crypto/ssh |
Click to show internal directories.
Click to hide internal directories.