Skip to content

Commit

Permalink
Switch MLIR dialects to use properties.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 564668382
  • Loading branch information
chsigg authored and copybara-github committed Sep 18, 2023
1 parent 08f9ca7 commit 279b0a9
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion include/tfrt/basic_kernels/opdefs/tfrt_base.td
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def TFRT_Dialect : Dialect {
}];

let cppNamespace = "::tfrt::compiler";
let usePropertiesForAttributes = 0;
}

def TFRT_ChainType :
Expand Down
1 change: 0 additions & 1 deletion include/tfrt/tensor/opdefs/coo_host_tensor.td
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def COO_Dialect : Dialect {
}];

let cppNamespace = "tfrt::coo";
let usePropertiesForAttributes = 0;
}

// Base class for the operation in this dialect.
Expand Down
1 change: 0 additions & 1 deletion include/tfrt/tensor/opdefs/dense_host_tensor.td
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def DHT_Dialect : Dialect {
}];

let cppNamespace = "tfrt::dht";
let usePropertiesForAttributes = 0;
}

// Base class for the operation in this dialect
Expand Down
1 change: 0 additions & 1 deletion include/tfrt/tensor/opdefs/dense_host_tensor_sync.td
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def DHT_Sync_Dialect : Dialect {
}];

let cppNamespace = "tfrt::dht";
let usePropertiesForAttributes = 0;
}

// Base class for the operation in this dialect
Expand Down
2 changes: 1 addition & 1 deletion include/tfrt/tensor/opdefs/host_tensor.td
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def HostTensor_Dialect : Dialect {
}];

let cppNamespace = "::tfrt::ht";
let usePropertiesForAttributes = 0;

}

//===----------------------------------------------------------------------===//
Expand Down
1 change: 0 additions & 1 deletion include/tfrt/tensor/opdefs/tensor.td
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def Tensor_Dialect : Dialect {
}];

let cppNamespace = "::tfrt::t";
let usePropertiesForAttributes = 0;
}

//===----------------------------------------------------------------------===//
Expand Down
1 change: 0 additions & 1 deletion include/tfrt/tensor/opdefs/tensor_shape_base.td
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def TensorShapeDialect : Dialect {
let cppNamespace = "::tfrt::ts";

let useDefaultTypePrinterParser = 1;
let usePropertiesForAttributes = 0;
}

// Type definition.
Expand Down
1 change: 0 additions & 1 deletion include/tfrt/tensor/opdefs/tensor_shape_sync.td
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def TensorShapeSyncDialect : Dialect {
}];

let cppNamespace = "::tfrt::ts_sync";
let usePropertiesForAttributes = 0;
}

// Base class for the operation in this dialect
Expand Down
1 change: 0 additions & 1 deletion include/tfrt/test_kernels/opdefs/test_kernels.td
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def Test_Dialect : Dialect {
}];

let cppNamespace = "::tfrt::test";
let usePropertiesForAttributes = 0;
}

def ProtoExampleType : OpaqueType<"proto", "example", "!proto.example type">;
Expand Down
1 change: 0 additions & 1 deletion include/tfrt/test_kernels/opdefs/test_kernels_sync.td
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def Test_Sync_Dialect : Dialect {
}];

let cppNamespace = "::tfrt::test_sync";
let usePropertiesForAttributes = 0;
}

#endif // TEST_SYNC_OPS

0 comments on commit 279b0a9

Please sign in to comment.