github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/cmd/aisloader/main.go (about)

     1  // Package main for the `aisloader` executable.
     2  /*
     3   * Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.
     4   */
     5  package main
     6  
     7  import (
     8  	"fmt"
     9  	"os"
    10  
    11  	"github.com/NVIDIA/aistore/bench/tools/aisloader"
    12  	"github.com/NVIDIA/aistore/cmn"
    13  )
    14  
    15  var (
    16  	build     string
    17  	buildtime string
    18  )
    19  
    20  func main() {
    21  	if err := aisloader.Start(cmn.VersionLoader+"."+build, buildtime); err != nil {
    22  		fmt.Fprintf(os.Stderr, "aisloader exited with error: %v\n", err)
    23  		os.Exit(1)
    24  	}
    25  }