Skip to content

Commit

Permalink
fix cv186x num_core params
Browse files Browse the repository at this point in the history
Change-Id: I7b6ead338c83d914712d51079bd3038529c7e0d1
  • Loading branch information
haozhe.yang authored and charlesxzb committed Mar 27, 2024
1 parent 3702b1a commit 8e3206a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dialect/Top/Transforms/ProcessorAssign.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class ProcessorAssignPass : public ProcessorAssignBase<ProcessorAssignPass> {
// only one device
num_device = 1;
}
if (!(module::isBM1688() || module::isSG2260Family())) {
if (!(module::isBM1688() || module::isSG2260Family()) || chip_ == "cv186x") {
// only one core
num_core = 1;
}
Expand Down

0 comments on commit 8e3206a

Please sign in to comment.