[general] removed unnecessary includes
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
#ifndef TDL_INCLUDE_CODEGEN_ALIGNMENT_INFO_PASS_H
|
#ifndef TDL_INCLUDE_CODEGEN_ALIGNMENT_INFO_PASS_H
|
||||||
#define TDL_INCLUDE_CODEGEN_ALIGNMENT_INFO_PASS_H
|
#define TDL_INCLUDE_CODEGEN_ALIGNMENT_INFO_PASS_H
|
||||||
|
|
||||||
#include <set>
|
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
namespace triton {
|
namespace triton {
|
||||||
|
@@ -1,10 +1,6 @@
|
|||||||
#ifndef TDL_INCLUDE_IR_CODEGEN_TARGET_H
|
#ifndef TDL_INCLUDE_IR_CODEGEN_TARGET_H
|
||||||
#define TDL_INCLUDE_IR_CODEGEN_TARGET_H
|
#define TDL_INCLUDE_IR_CODEGEN_TARGET_H
|
||||||
|
|
||||||
#include <map>
|
|
||||||
#include <set>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
namespace llvm{
|
namespace llvm{
|
||||||
class Type;
|
class Type;
|
||||||
class Value;
|
class Value;
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
#ifndef TDL_INCLUDE_CODEGEN_OPTIMIZE_CSE_H
|
#ifndef TDL_INCLUDE_CODEGEN_OPTIMIZE_CSE_H
|
||||||
#define TDL_INCLUDE_CODEGEN_OPTIMIZE_CSE_H
|
#define TDL_INCLUDE_CODEGEN_OPTIMIZE_CSE_H
|
||||||
|
|
||||||
#include <tuple>
|
|
||||||
#include <vector>
|
|
||||||
#include <set>
|
|
||||||
|
|
||||||
namespace triton {
|
namespace triton {
|
||||||
|
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
#ifndef TDL_INCLUDE_CODEGEN_OPTIMIZE_TRANS_H
|
#ifndef TDL_INCLUDE_CODEGEN_OPTIMIZE_TRANS_H
|
||||||
#define TDL_INCLUDE_CODEGEN_OPTIMIZE_TRANS_H
|
#define TDL_INCLUDE_CODEGEN_OPTIMIZE_TRANS_H
|
||||||
|
|
||||||
#include <tuple>
|
|
||||||
#include <vector>
|
|
||||||
#include <set>
|
|
||||||
|
|
||||||
namespace triton {
|
namespace triton {
|
||||||
|
|
||||||
|
@@ -4,7 +4,6 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
namespace triton {
|
namespace triton {
|
||||||
|
|
||||||
|
@@ -1,10 +1,6 @@
|
|||||||
#ifndef TDL_INCLUDE_CODEGEN_BARRIERS_H
|
#ifndef TDL_INCLUDE_CODEGEN_BARRIERS_H
|
||||||
#define TDL_INCLUDE_CODEGEN_BARRIERS_H
|
#define TDL_INCLUDE_CODEGEN_BARRIERS_H
|
||||||
|
|
||||||
#include <tuple>
|
|
||||||
#include <vector>
|
|
||||||
#include <set>
|
|
||||||
|
|
||||||
namespace triton {
|
namespace triton {
|
||||||
|
|
||||||
namespace ir {
|
namespace ir {
|
||||||
|
@@ -25,7 +25,6 @@
|
|||||||
|
|
||||||
#include "triton/driver/module.h"
|
#include "triton/driver/module.h"
|
||||||
#include "triton/driver/handle.h"
|
#include "triton/driver/handle.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
namespace llvm
|
namespace llvm
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
#ifndef TDL_INCLUDE_IR_BUILDER_H
|
#ifndef TDL_INCLUDE_IR_BUILDER_H
|
||||||
#define TDL_INCLUDE_IR_BUILDER_H
|
#define TDL_INCLUDE_IR_BUILDER_H
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "instructions.h"
|
#include "instructions.h"
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
#ifndef TDL_INCLUDE_IR_CONTEXT_IMPL_H
|
#ifndef TDL_INCLUDE_IR_CONTEXT_IMPL_H
|
||||||
#define TDL_INCLUDE_IR_CONTEXT_IMPL_H
|
#define TDL_INCLUDE_IR_CONTEXT_IMPL_H
|
||||||
|
|
||||||
#include <memory>
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include "triton/ir/type.h"
|
#include "triton/ir/type.h"
|
||||||
|
|
||||||
|
@@ -5,7 +5,6 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include "value.h"
|
#include "value.h"
|
||||||
#include "constant.h"
|
#include "constant.h"
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
namespace triton{
|
namespace triton{
|
||||||
namespace ir{
|
namespace ir{
|
||||||
|
@@ -2,8 +2,6 @@
|
|||||||
#define TDL_INCLUDE_IR_TYPE_H
|
#define TDL_INCLUDE_IR_TYPE_H
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <iostream>
|
|
||||||
#include <set>
|
|
||||||
|
|
||||||
namespace triton{
|
namespace triton{
|
||||||
namespace ir{
|
namespace ir{
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <memory>
|
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
namespace triton{
|
namespace triton{
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
namespace triton{
|
namespace triton{
|
||||||
|
|
||||||
|
@@ -3,9 +3,7 @@
|
|||||||
|
|
||||||
#include "lang.h"
|
#include "lang.h"
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <vector>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
|
|
||||||
namespace triton{
|
namespace triton{
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
#ifndef TRITON_INCLUDE_RUNTIME_LAUNCH_INFO_H
|
#ifndef TRITON_INCLUDE_RUNTIME_LAUNCH_INFO_H
|
||||||
#define TRITON_INCLUDE_RUNTIME_LAUNCH_INFO_H
|
#define TRITON_INCLUDE_RUNTIME_LAUNCH_INFO_H
|
||||||
|
|
||||||
#include <vector>
|
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
namespace triton{
|
namespace triton{
|
||||||
|
@@ -1,4 +1,7 @@
|
|||||||
|
#include <vector>
|
||||||
|
#include <set>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
#include "triton/codegen/transform/shmem/barriers.h"
|
#include "triton/codegen/transform/shmem/barriers.h"
|
||||||
#include "triton/codegen/analysis/shmem/allocation.h"
|
#include "triton/codegen/analysis/shmem/allocation.h"
|
||||||
#include "triton/codegen/analysis/shmem/info.h"
|
#include "triton/codegen/analysis/shmem/info.h"
|
||||||
|
@@ -20,6 +20,8 @@
|
|||||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <vector>
|
||||||
|
#include <stdexcept>
|
||||||
#include "triton/driver/dispatch.h"
|
#include "triton/driver/dispatch.h"
|
||||||
#include "triton/driver/backend.h"
|
#include "triton/driver/backend.h"
|
||||||
#include "triton/driver/buffer.h"
|
#include "triton/driver/buffer.h"
|
||||||
@@ -27,9 +29,6 @@
|
|||||||
#include "triton/driver/stream.h"
|
#include "triton/driver/stream.h"
|
||||||
#include "triton/driver/kernel.h"
|
#include "triton/driver/kernel.h"
|
||||||
|
|
||||||
#include <assert.h>
|
|
||||||
#include <stdexcept>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
namespace triton
|
namespace triton
|
||||||
{
|
{
|
||||||
|
@@ -20,7 +20,6 @@
|
|||||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
#include "triton/driver/stream.h"
|
#include "triton/driver/stream.h"
|
||||||
#include "triton/driver/buffer.h"
|
#include "triton/driver/buffer.h"
|
||||||
#include "triton/driver/context.h"
|
#include "triton/driver/context.h"
|
||||||
|
@@ -20,12 +20,9 @@
|
|||||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
#include "triton/driver/context.h"
|
#include "triton/driver/context.h"
|
||||||
#include "triton/driver/module.h"
|
#include "triton/driver/module.h"
|
||||||
|
|
||||||
#include "triton/tools/sys/getenv.hpp"
|
#include "triton/tools/sys/getenv.hpp"
|
||||||
#include "triton/tools/sys/mkdir.hpp"
|
#include "triton/tools/sys/mkdir.hpp"
|
||||||
|
|
||||||
|
@@ -20,7 +20,6 @@
|
|||||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <map>
|
|
||||||
#include "triton/driver/dispatch.h"
|
#include "triton/driver/dispatch.h"
|
||||||
#include "triton/driver/context.h"
|
#include "triton/driver/context.h"
|
||||||
|
|
||||||
|
@@ -20,8 +20,6 @@
|
|||||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <cassert>
|
|
||||||
#include <memory>
|
|
||||||
#include "triton/driver/handle.h"
|
#include "triton/driver/handle.h"
|
||||||
|
|
||||||
namespace triton
|
namespace triton
|
||||||
|
@@ -20,9 +20,7 @@
|
|||||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <iostream>
|
#include <string.h>
|
||||||
#include <cstring>
|
|
||||||
#include "llvm/ExecutionEngine/GenericValue.h"
|
|
||||||
#include "triton/driver/kernel.h"
|
#include "triton/driver/kernel.h"
|
||||||
#include "triton/driver/buffer.h"
|
#include "triton/driver/buffer.h"
|
||||||
|
|
||||||
|
@@ -23,11 +23,11 @@
|
|||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include "llvm/IR/IRBuilder.h"
|
|
||||||
#include "triton/driver/module.h"
|
#include "triton/driver/module.h"
|
||||||
#include "triton/driver/context.h"
|
#include "triton/driver/context.h"
|
||||||
#include "triton/driver/error.h"
|
#include "triton/driver/error.h"
|
||||||
#include "triton/tools/sys/getenv.hpp"
|
#include "triton/tools/sys/getenv.hpp"
|
||||||
|
#include "llvm/IR/IRBuilder.h"
|
||||||
#include "llvm/IR/IRPrintingPasses.h"
|
#include "llvm/IR/IRPrintingPasses.h"
|
||||||
#include "llvm/Bitcode/BitcodeWriter.h"
|
#include "llvm/Bitcode/BitcodeWriter.h"
|
||||||
#include "llvm/IR/Verifier.h"
|
#include "llvm/IR/Verifier.h"
|
||||||
|
@@ -20,11 +20,10 @@
|
|||||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <string>
|
||||||
#include "triton/driver/platform.h"
|
#include "triton/driver/platform.h"
|
||||||
#include "triton/driver/device.h"
|
#include "triton/driver/device.h"
|
||||||
|
|
||||||
#include <string>
|
|
||||||
|
|
||||||
namespace triton
|
namespace triton
|
||||||
{
|
{
|
||||||
|
@@ -20,10 +20,8 @@
|
|||||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
#include "triton/driver/backend.h"
|
#include "triton/driver/backend.h"
|
||||||
#include "triton/driver/stream.h"
|
#include "triton/driver/stream.h"
|
||||||
#include "triton/driver/context.h"
|
#include "triton/driver/context.h"
|
||||||
|
@@ -1,8 +1,7 @@
|
|||||||
|
#include <stack>
|
||||||
#include "triton/ir/cfg.h"
|
#include "triton/ir/cfg.h"
|
||||||
#include "triton/ir/basic_block.h"
|
#include "triton/ir/basic_block.h"
|
||||||
#include "triton/ir/function.h"
|
#include "triton/ir/function.h"
|
||||||
#include <stack>
|
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
namespace triton{
|
namespace triton{
|
||||||
namespace ir{
|
namespace ir{
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
#include <iostream>
|
||||||
#include "triton/ir/basic_block.h"
|
#include "triton/ir/basic_block.h"
|
||||||
#include "triton/ir/module.h"
|
#include "triton/ir/module.h"
|
||||||
#include "triton/ir/type.h"
|
#include "triton/ir/type.h"
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
|
#include <cassert>
|
||||||
#include "triton/ir/value.h"
|
#include "triton/ir/value.h"
|
||||||
#include "triton/ir/instructions.h"
|
#include "triton/ir/instructions.h"
|
||||||
#include <iostream>
|
|
||||||
#include <cassert>
|
|
||||||
|
|
||||||
namespace triton{
|
namespace triton{
|
||||||
namespace ir{
|
namespace ir{
|
||||||
|
Reference in New Issue
Block a user