Skip to content

Commit 8919637

Browse files
authored
7.1.1 Generated file update (#4431)
1 parent ec403ad commit 8919637

File tree

4 files changed

+14
-15
lines changed

4 files changed

+14
-15
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ rocm_enable_clang_tidy(
168168
-bugprone-easily-swappable-parameters
169169
-bugprone-implicit-widening-of-multiplication-result
170170
-bugprone-macro-parentheses
171+
-bugprone-nondeterministic-pointer-iteration-order
171172
-bugprone-return-const-ref-from-parameter
172173
-bugprone-signed-char-misuse
173174
-bugprone-unchecked-optional-access

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
4646
libomp-dev \
4747
rocblas \
4848
hipfft \
49+
hipsolver \
50+
rccl \
4951
rocthrust \
5052
rocrand \
5153
hipsparse \
@@ -67,7 +69,7 @@ RUN pip3 install https://repo.radeon.com/rocm/manylinux/rocm-rel-7.1/torch-2.6.0
6769
https://repo.radeon.com/rocm/manylinux/rocm-rel-7.1/torchvision-0.21.0%2Brocm7.1.0.git4040d51f-cp310-cp310-linux_x86_64.whl\
6870
https://repo.radeon.com/rocm/manylinux/rocm-rel-7.1/triton-3.2.0%2Brocm7.1.0.git20943800-cp310-cp310-linux_x86_64.whl
6971

70-
# add this for roctracer dependancies
72+
# add this for roctracer dependencies
7173
RUN pip3 install CppHeaderParser
7274

7375
# Workaround broken rocm packages

src/include/migraphx/operation.hpp

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,8 @@ auto operator==(const T& x, const U& y) -> decltype(x.name() == y.name())
130130
} // namespace operation_operators
131131

132132
template <class T>
133-
auto compute_shape_op(rank<3>,
134-
const T& x,
135-
const std::vector<shape>& inputs) -> decltype(x.compute_shape(inputs))
133+
auto compute_shape_op(rank<3>, const T& x, const std::vector<shape>& inputs)
134+
-> decltype(x.compute_shape(inputs))
136135
{
137136
return x.compute_shape(inputs);
138137
}
@@ -149,9 +148,8 @@ auto compute_shape_op(rank<2>, const T& x, const std::vector<shape>& inputs)
149148
}
150149

151150
template <class T>
152-
auto compute_shape_op(rank<1>,
153-
const T& x,
154-
const std::vector<shape>& inputs) -> decltype(x.compute_shape(inputs, {}))
151+
auto compute_shape_op(rank<1>, const T& x, const std::vector<shape>& inputs)
152+
-> decltype(x.compute_shape(inputs, {}))
155153
{
156154
return x.compute_shape(inputs, {});
157155
}
@@ -388,9 +386,8 @@ auto is_context_free_op(rank<0>, const T&, const shape&, const std::vector<argum
388386
-> std::false_type;
389387

390388
template <class T>
391-
auto is_context_free_op(const T& x)
392-
-> decltype(is_context_free_op(
393-
rank<1>{}, x, std::declval<const shape&>(), std::declval<std::vector<argument>>()))
389+
auto is_context_free_op(const T& x) -> decltype(is_context_free_op(
390+
rank<1>{}, x, std::declval<const shape&>(), std::declval<std::vector<argument>>()))
394391
{
395392
return {};
396393
}
@@ -1430,8 +1427,8 @@ inline shape compute_shape(const operation& op, const std::vector<shape>& inputs
14301427
}
14311428

14321429
template <class T>
1433-
inline auto compute_shape(const T& op,
1434-
const std::vector<shape>& inputs) -> decltype(op.compute_shape(inputs))
1430+
inline auto compute_shape(const T& op, const std::vector<shape>& inputs)
1431+
-> decltype(op.compute_shape(inputs))
14351432
{
14361433
return op.compute_shape(inputs);
14371434
}

src/include/migraphx/pass.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,8 @@ MIGRAPHX_EXPORT module& get_module(module_pass_manager& mpm);
6262
namespace detail {
6363

6464
template <class T>
65-
auto module_pass_manager_apply(rank<1>,
66-
const T& x,
67-
module_pass_manager& mpm) -> decltype(x.apply(get_module(mpm)))
65+
auto module_pass_manager_apply(rank<1>, const T& x, module_pass_manager& mpm)
66+
-> decltype(x.apply(get_module(mpm)))
6867
{
6968
return x.apply(get_module(mpm));
7069
}

0 commit comments

Comments
 (0)