// Copyright (c) 2017 Graphcore Ltd. All rights reserved.
#include "popnnCycleEstimators.hpp"
#include <poplibs_support/codelets.hpp>
#include <popnn/codelets.hpp>

namespace popnn {

void addCodelets(poplar::Graph &graph) {
  static poplibs::CurrentLibLocator loc;
  graph.addCodelets(poplibs::getCodeletsPath("popnn", "popnn.gp", loc));
  poputil::internal::registerPerfFunctions(graph, makePerfFunctionTable());
}

} // namespace popnn
