Skip to content

Commit

Permalink
Remove using namespace from header in glow/glow/lib/Backends/NNPI/N…
Browse files Browse the repository at this point in the history
…NPIResource.cpp +3

Reviewed By: palmje

Differential Revision: D56221159

fbshipit-source-id: 4b38e1cc651a0daeda3b0f54496769a7f9ee9271
  • Loading branch information
r-barnes authored and facebook-github-bot committed Apr 18, 2024
1 parent 2bc5be9 commit bc628fb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
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

0 comments on commit bc628fb

Please sign in to comment.