mirror of https://github.com/Jittor/Jittor
24 lines
596 B
C++
24 lines
596 B
C++
// ***************************************************************
|
|
// Copyright (c) 2021 Jittor.
|
|
// All Rights Reserved.
|
|
// Maintainers:
|
|
// Dun Liang <randonlang@gmail.com>.
|
|
//
|
|
// This file is subject to the terms and conditions defined in
|
|
// file 'LICENSE.txt', which is part of this source code package.
|
|
// ***************************************************************
|
|
#pragma once
|
|
#include "mpi_warper.h"
|
|
|
|
#include <cuda_runtime.h>
|
|
#include <nccl.h>
|
|
#include "helper_cuda.h"
|
|
|
|
namespace jittor {
|
|
|
|
extern ncclComm_t comm;
|
|
extern ncclUniqueId id;
|
|
extern int nccl_device_id;
|
|
|
|
} // jittor
|