Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
adstraw committed Nov 17, 2021
1 parent ef41cb0 commit acc78e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/hexagon/hexagon/hexagon_device_api_v2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void HexagonDeviceAPIv2::GetAttr(Device dev, DeviceAttrKind kind, TVMRetValue* r
}
}

// DataSpace : static allocations for Hexagon
// DataSpace: static allocations for Hexagon
void* HexagonDeviceAPIv2::AllocDataSpace(Device dev, int ndim, const int64_t* shape,
DLDataType dtype, Optional<String> mem_scope) {
CHECK(TVMDeviceExtType(dev.device_type) == kDLHexagon);
Expand Down Expand Up @@ -83,7 +83,7 @@ void HexagonDeviceAPIv2::FreeDataSpace(Device dev, void* ptr) {
delete hexbuf;
}

// WorkSpace : runtime allocations for Hexagon
// WorkSpace: runtime allocations for Hexagon
struct HexagonWorkspacePool : public WorkspacePool {
HexagonWorkspacePool() : WorkspacePool(kDLCPU, HexagonDeviceAPIv2::Global()) {}
};
Expand Down

0 comments on commit acc78e5

Please sign in to comment.