MCPcopy Create free account
hub / github.com/NVIDIA/SOL-ExecBench / PYBIND11_MODULE

Function PYBIND11_MODULE

examples/cuda_cpp/rmsnorm/main.cpp:63–65  ·  view source on GitHub ↗

--- Pybind11 Module Definition --- Exposes the 'run' function to Python, making it callable as a C++ extension.

Source from the content-addressed store, hash-verified

61// --- Pybind11 Module Definition ---
62// Exposes the 'run' function to Python, making it callable as a C++ extension.
63PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
64 m.def("run", &run, "RMSNorm kernel for hidden_size=4096 (BFloat16, CUDA, B200 Optimized)");
65}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected