Skip to content

Commit f38876a

Browse files
committed
add full elf API support for aie4a and aie4z
Signed-off-by: Sri Latha Ayyannagari <SriLatha.Ayyannagari@amd.com>
1 parent 3d773cb commit f38876a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/cpp/assembler/aiebu_assembler.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,16 @@ aiebu_assembler(buffer_type type,
121121
elf_data = a.process({}, flags, {}, config_json_buffer, {}, {},&artifacts);
122122
m_output_type = aiebu::aiebu_assembler::buffer_type::elf_aie2ps_config;
123123
}
124-
else if (type == buffer_type::aie4_config)
124+
else if (type == buffer_type::aie4_config ||
125+
type == buffer_type::aie4a_config ||
126+
type == buffer_type::aie4z_config)
125127
{
126128
aiebu::assembler a(assembler::elf_type::aie4_config);
127129
elf_data = a.process({}, flags, {}, config_json_buffer, {}, {},&artifacts);
128130
m_output_type = aiebu::aiebu_assembler::buffer_type::elf_aie4_config;
129131
}
130-
else {
132+
else
133+
{
131134
throw error(error::error_code::invalid_buffer_type, "Buffer_type not supported !!!");
132135
}
133136
}

0 commit comments

Comments
 (0)