[Triton-MLIR][BACKEND] Add elementwise ops and tests (#804)
Co-authored-by: Keren Zhou <kerenzhou@openai.com>
This commit is contained in:
@@ -1335,6 +1335,12 @@ void init_triton_translation(py::module &m) {
|
||||
py::bytes bytes(cubin);
|
||||
return bytes;
|
||||
});
|
||||
|
||||
m.def("add_external_libs",
|
||||
[](mlir::ModuleOp &op, const std::vector<std::string> &names,
|
||||
const std::vector<std::string> &paths) {
|
||||
::mlir::triton::addExternalLibs(op, names, paths);
|
||||
});
|
||||
}
|
||||
|
||||
void init_triton(py::module &m) {
|
||||
|
Reference in New Issue
Block a user