aboutsummaryrefslogtreecommitdiff
path: root/compute_kernel_writer/src/ITile.h
diff options
context:
space:
mode:
Diffstat (limited to 'compute_kernel_writer/src/ITile.h')
-rw-r--r--compute_kernel_writer/src/ITile.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/compute_kernel_writer/src/ITile.h b/compute_kernel_writer/src/ITile.h
index bed4996607..a54fd9b794 100644
--- a/compute_kernel_writer/src/ITile.h
+++ b/compute_kernel_writer/src/ITile.h
@@ -66,19 +66,13 @@ public:
*
* @return the name of the tile
*/
- std::string name() const
- {
- return _basename;
- }
+ virtual const std::string &name() const = 0;
/** Method to get the tile info
*
* @return the @ref TileInfo
*/
- TileInfo info() const
- {
- return _info;
- }
+ virtual const TileInfo &info() const = 0;
/** Method to know whether the tile is assignable or not.
* For example, a constant tile is not assignable.
@@ -86,10 +80,6 @@ public:
* @return true if the tile is assignable
*/
virtual bool is_assignable() const = 0;
-
-protected:
- TileInfo _info{ DataType::Unknown }; // Tile info
- std::string _basename{ "" }; // Tile name
};
/** Interface to provide support for scalar access for a Tile.