@@ -36,39 +36,5 @@ streamlinedLaunchKernel(const char *kernelName,
3636hybridLaunchKernel (const char *kernelName, KernelThunkType kernel, void *args,
3737 std::uint64_t argsSize, std::uint64_t resultOffset,
3838 const std::vector<void *> &rawArgs);
39-
40- // ===----------------------------------------------------------------------===//
41- // Launch module entry points.
42- //
43- // In some environments (e.g., Python), the ModuleOp of the source can be
44- // provided immediately to be launched, unlike with statically compiled systems
45- // (C++). These entry points allow the managed runtime to provide the ModuleOp
46- // directly.
47- // ===----------------------------------------------------------------------===//
48-
49- // Client-server interface. The caller must provide an mlir::ModuleOp and the
50- // exact name of the entry point kernel function to be called, which is
51- // typically the .thunk unmarshalling function. Passing short names is
52- // considered incorrect.
53- [[nodiscard]] KernelThunkResultType
54- altLaunchModule (const char *exactEntryPointName, void *moduleOp, void *args,
55- std::uint64_t argsSize, std::uint64_t resultOffset);
56-
57- // Streamlined interface for launching kernels. Argument synthesis and JIT
58- // compilation *must* happen on the local machine. The caller must provide an
59- // mlir::ModuleOp and the exact name of the entry point kernel function to be
60- // called,
61- [[nodiscard]] KernelThunkResultType
62- streamlinedLaunchModule (const char *exactEntryPointName, void *moduleOp,
63- const std::vector<void *> &rawArgs);
64-
65- // Hybrid of the client-server and streamlined approaches. Letting JIT
66- // compilation happen either early or late and can handle return values from
67- // each kernel launch. The caller must provide an mlir::ModuleOp and the exact
68- // name of the entry point kernel function to be called,
69- [[nodiscard]] KernelThunkResultType
70- hybridLaunchModule (const char *exactEntryPointName, void *moduleOp, void *args,
71- std::uint64_t argsSize, std::uint64_t resultOffset,
72- const std::vector<void *> &rawArgs);
7339} // extern "C"
7440} // namespace cudaq
0 commit comments