gni 0.1.4

Library to create a GPU Node ID
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) Meta Platforms, Inc. and affiliates.
// All rights reserved.

// This source code is licensed under the license found in the
// LICENSE file in the root directory of this source tree.

#include <iostream>
#include "GNI.h"

int main() {
    std::string gpu_node_id = cpp_get_gpu_node_id();
    std::cout << gpu_node_id << std::endl;
    return 0;
}