mirror of
https://github.com/microsoft/mscclpp.git
synced 2026-03-23 16:47:48 +00:00
Fix the legacy cpplint error in main branch. --------- Co-authored-by: Qinghua Zhou <qinghuahzhou@microsoft.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Binyang Li <binyli@microsoft.com>
17 lines
427 B
C++
17 lines
427 B
C++
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT license.
|
|
|
|
#include <nanobind/nanobind.h>
|
|
#include <nanobind/stl/string.h>
|
|
|
|
#include <mscclpp/npkit/npkit.hpp>
|
|
|
|
namespace nb = nanobind;
|
|
|
|
void register_npkit(nb::module_& m) {
|
|
nb::module_ sub_m = m.def_submodule("cpp_npkit", "NPKit functions");
|
|
sub_m.def("init", &NpKit::Init);
|
|
sub_m.def("dump", &NpKit::Dump);
|
|
sub_m.def("shutdown", &NpKit::Shutdown);
|
|
}
|