JittorMirror/extern/cuda/nccl/inc/nccl_warper.h

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