JittorMirror/extern/cuda/nccl/ops/nccl_test_op.h

25 lines
620 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 "op.h"
namespace jittor {
struct NcclTestOp : Op {
Var* output;
string cmd;
NcclTestOp(string cmd);
const char* name() const override { return "nccl_test"; }
DECLARE_jit_run;
};
} // jittor