Skip to content

Commit 8144556

Browse files
BabarZKhanhunhoffe
andauthored
[bugfix] correct device identifier in VE2802TargetModel error message (#2784)
Co-authored-by: Erika Hunhoff <erika.hunhoff@amd.com>
1 parent ec59030 commit 8144556

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/CppTests/target_model_rtti.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void test() {
5454
// AIEDevice::xcve2802
5555
if (!llvm::isa<AIE::VE2802TargetModel>(
5656
AIE::getTargetModel(AIE::AIEDevice::xcve2802))) {
57-
throw std::runtime_error("Failed xcvc1902 isa<VE2802TargetModel>");
57+
throw std::runtime_error("Failed xcve2802 isa<VE2802TargetModel>");
5858
}
5959
if (!llvm::isa<AIE::AIE2TargetModel>(
6060
AIE::getTargetModel(AIE::AIEDevice::xcve2802))) {
@@ -142,4 +142,4 @@ void test() {
142142
int main() {
143143
test();
144144
return 0;
145-
}
145+
}

0 commit comments

Comments
 (0)