Skip to content

Commit 30f3098

Browse files
committed
style(benchmark): apply linter
1 parent 7783eb9 commit 30f3098

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

benchmark/BenchmarkUtils.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ template <typename T>
1313
class Memref {
1414
public:
1515
Memref(size_t h, size_t w) {
16-
allocatedPtr = reinterpret_cast<T*>(malloc(sizeof(T) * w * h));
16+
allocatedPtr = reinterpret_cast<T *>(malloc(sizeof(T) * w * h));
1717
alignedPtr = allocatedPtr;
1818

1919
offset = 0;
@@ -23,15 +23,15 @@ class Memref {
2323
strides[1] = 1;
2424
}
2525

26-
T* pget(size_t i, size_t j) const {
26+
T *pget(size_t i, size_t j) const {
2727
return &alignedPtr[offset + i * strides[0] + j * strides[1]];
2828
}
2929

3030
T get(size_t i, size_t j) const { return *pget(i, j); }
3131

3232
private:
33-
T* allocatedPtr;
34-
T* alignedPtr;
33+
T *allocatedPtr;
34+
T *alignedPtr;
3535
size_t offset;
3636
size_t sizes[2];
3737
size_t strides[2];

0 commit comments

Comments
 (0)