• Jianying Lang's avatar
    Add BroadcastDistributed op (#2243) · 3af7837b
    Jianying Lang authored
    * Add MPI_Bcast to nGraph core
    
    * Add mpi_broadcast op and pass the unit test on CPU backend
    
    * Modify API for MLSL
    
    * Remove unused variable
    
    * Fix the format
    
    * Add the op call in python/pyngraph/ops/regmodule_pyngraph_op.cpp.
    
    * Fix emitter function for DistBroadcast op
    
    * Fix format
    
    * Fix the emitter function for distbroadcast op
    
    * Fix format
    
    * Delete the reference code for distbroadcast op
    
    * Include mlsl.h from ngraph build for genernal external usage
    
    * Change back for build
    
    * Fix alphabetical order issue and line space
    
    * Rename disbroadcast to broadcastdistributed
    
    * Change back continue
    
    * Update the changes
    
    * Fix style
    
    * Delete unused variables
    
    * Change some text format
    
    * Add support for interpreter backend for broadcastdistributed
    
    * Delete some redundant code
    
    * Fix format
    
    * rename
    
    * remove unused file
    
    * More renames
    
    * renaming
    
    * Remove one unused file
    
    * Fix a bug
    
    * add back redundant
    
    * One more commit
    
    * More commits
    
    * Unify distributed_send and distributed_recv functions
    
    * Fix format
    3af7837b
broadcast_distributed.hpp 894 Bytes
//*****************************************************************************
// Copyright 2017-2019 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//*****************************************************************************

#pragma once

#include <pybind11/pybind11.h>

namespace py = pybind11;

void regclass_pyngraph_op_BroadcastDistributed(py::module m);