Skip to content

Commit

Permalink
More adaptations to clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
Tilman Dannert committed Sep 19, 2024
1 parent a2f351a commit 3635078
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/gtensor/backend_hip.h
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,9 @@ class backend_ops<gt::space::hip>
}
gtGpuCheck(rval);
#if HIP_VERSION_MAJOR >= 6
auto memoryType=attr.type;
auto memoryType = attr.type;
#else
auto memoryType=attr.memoryType;
auto memoryType = attr.memoryType;
#endif
return (memoryType == hipMemoryTypeDevice || attr.isManaged);
}
Expand All @@ -281,9 +281,9 @@ class backend_ops<gt::space::hip>
return memory_type::managed;
}
#if HIP_VERSION_MAJOR >= 6
auto memoryType=attr.type;
auto memoryType = attr.type;
#else
auto memoryType=attr.memoryType;
auto memoryType = attr.memoryType;
#endif
switch (memoryType) {
case hipMemoryTypeHost: return memory_type::host;
Expand Down

0 comments on commit 3635078

Please sign in to comment.