
Dialect to 'shard' (discourse 87053) - dialect name mesh -> shard - (device) mesh -> (device) grid - spmdize -> partition A lot of diffs, but simple renames only. @tkarna @yaochengji
19 lines
731 B
C++
19 lines
731 B
C++
//===- AllExtensions.cpp - All Func Dialect Extensions --------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "mlir/Dialect/Func/Extensions/AllExtensions.h"
|
|
#include "mlir/Dialect/Func/Extensions/InlinerExtension.h"
|
|
#include "mlir/Dialect/Func/Extensions/ShardingExtensions.h"
|
|
|
|
using namespace mlir;
|
|
|
|
void mlir::func::registerAllExtensions(DialectRegistry ®istry) {
|
|
registerInlinerExtension(registry);
|
|
registerShardingInterfaceExternalModels(registry);
|
|
}
|