Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

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