-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix clang-tidy errors, closes #189 #583
Conversation
runtime/lib/ttnn/program.cpp
Outdated
TT_FATAL(isOnHost(inputTensor) or isOnDevice(inputTensor), | ||
"Unsupported storage type {}", inputTensor.storage_type()); | ||
assert((isOnHost(inputTensor) or isOnDevice(inputTensor)) && | ||
"Unsupported storage type"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jnie-TT, unfortunately we cannot use TT_FATAL
, we just happened to pull in metal's assert.hpp
, but this is not public API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good... Thanks for updating this!
@@ -131,11 +131,10 @@ mlir::tt::SystemDescAttr::getFromPath(MLIRContext *context, std::string &path) { | |||
|
|||
// Acquire chip descs | |||
std::vector<tt::ChipDescAttr> chip_desc_list; | |||
for (auto element : *binary_chip_desc) { | |||
|
|||
for (auto const *element : *binary_chip_desc) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy suggests all uses of auto
are at least qualified with specifiers.
98643a6
to
279c431
Compare
b95081e
to
58f8177
Compare
0b08397
to
cce8a5b
Compare
cce8a5b
to
305ab41
Compare
No description provided.