Add printMemref for complex data types and index type. Add printMemref for 1d
type beyond f32.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/ExecutionEngine/RunnerUtils.h | ||
---|---|---|
75 | Note that you may want to add a // Assume index_type is in fact uint64_t. "Expected index_type == uint64_t"); in the CPP file for this, so that header and CPP file cannot go out of sync in their view of index_type. |
Comment Actions
Add static_assert to check index_type assumption.
mlir/include/mlir/ExecutionEngine/RunnerUtils.h | ||
---|---|---|
75 | Thanks! Added. |
Note that you may want to add a
// Assume index_type is in fact uint64_t.
static_assert(std::is_same<index_type, uint64_t>::value,
in the CPP file for this, so that header and CPP file cannot go out of sync in their view of index_type.