Skip to content
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

Remove using namespace from header in glow/glow/lib/Backends/NNPI/NNPIResource.cpp +3 #6171

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Backends/NNPI/NNPIResource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ bool NNPIResource::init(const NNPIObjectName name,
// Create device resource.
bool allocateDeviceResource = false;

shared_ptr<NNPIResource> sharedResource = nullptr;
std::shared_ptr<NNPIResource> sharedResource = nullptr;
if (phUsage) {
sharedResource = findResourceForDevice(*users, device_);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Backends/NNPI/NNPIUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void DotWriter::clear() {

void DotWriter::addNode(std::string name, std::string label, unsigned color,
std::string subGraph) {
ostringstream os;
std::ostringstream os;
os << name << " [\n";
os << "\tlabel = \"" << label << "\"\n";
os << "\tstyle=\"filled,rounded\"\n";
Expand Down
2 changes: 0 additions & 2 deletions lib/Backends/NNPI/NNPIUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
#include <string>
#include <vector>

using namespace std;

enum NNPIAVXType { NNPI_AVX_NONE = 0, NNPI_AVX_AVX512 };

inline void convertI64toI32(int64_t const *i64Data, int32_t *i32Data,
Expand Down
Loading