Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
e00479af
Unverified
Commit
e00479af
authored
Jun 23, 2021
by
Paul Fultz II
Committed by
GitHub
Jun 23, 2021
Browse files
Use rocm 4.2 (#867)
parent
6d0acc92
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
8 deletions
+7
-8
.clang-tidy
.clang-tidy
+4
-6
CMakeLists.txt
CMakeLists.txt
+1
-0
Dockerfile
Dockerfile
+1
-1
hip-clang.docker
hip-clang.docker
+1
-1
No files found.
.clang-tidy
View file @
e00479af
...
@@ -5,8 +5,6 @@ CheckOptions:
...
@@ -5,8 +5,6 @@ CheckOptions:
value: '::std::async;::std::launder;::std::remove;::std::remove_if;::std::unique;::std::unique_ptr::release;::std::basic_string::empty;::std::vector::empty;::std::find;::std::find_if;::std::find_if_not;::std::all_of;::std::any_of;::std::none_of;::std::count;::std::count_if;::std::mismatch;::std::find_end;::std::find_first_of;::std::adjacent_find;::std::search;::std::search_n;::std::nth_element;::std::lower_bound;::std::upper_bound;::std::binary_search;::std::equal_range;::std::max;::std::max_element;::std::min;::std::min_element;::std::minmax;::std::minmax_element;::std::equal;::std::lexicographical_compare;::std::accumulate;::std::inner_product'
value: '::std::async;::std::launder;::std::remove;::std::remove_if;::std::unique;::std::unique_ptr::release;::std::basic_string::empty;::std::vector::empty;::std::find;::std::find_if;::std::find_if_not;::std::all_of;::std::any_of;::std::none_of;::std::count;::std::count_if;::std::mismatch;::std::find_end;::std::find_first_of;::std::adjacent_find;::std::search;::std::search_n;::std::nth_element;::std::lower_bound;::std::upper_bound;::std::binary_search;::std::equal_range;::std::max;::std::max_element;::std::min;::std::min_element;::std::minmax;::std::minmax_element;::std::equal;::std::lexicographical_compare;::std::accumulate;::std::inner_product'
- key: cppcoreguidelines-macro-usage.AllowedRegexp
- key: cppcoreguidelines-macro-usage.AllowedRegexp
value: 'DEBUG|FALLTHROUGH|STRINGIZE|_HAS_|_THROW|_REQUIRES|_DECLARE_|_VISIT_|_REGISTER_|_GENERATE_|_DETAIL_|_TIDY_|_MANAGE_PTR|_MATCHER|DEVICE_SHARED'
value: 'DEBUG|FALLTHROUGH|STRINGIZE|_HAS_|_THROW|_REQUIRES|_DECLARE_|_VISIT_|_REGISTER_|_GENERATE_|_DETAIL_|_TIDY_|_MANAGE_PTR|_MATCHER|DEVICE_SHARED'
- key: cppcoreguidelines-narrowing-conversions.WarnOnFloatingPointNarrowingConversion
value: 0
- key: modernize-loop-convert.MinConfidence
- key: modernize-loop-convert.MinConfidence
value: risky
value: risky
- key: modernize-loop-convert.NamingStyle
- key: modernize-loop-convert.NamingStyle
...
@@ -111,7 +109,7 @@ CheckOptions:
...
@@ -111,7 +109,7 @@ CheckOptions:
value: CamelCase
value: CamelCase
- key: readability-identifier-naming.TypeAliasCase
- key: readability-identifier-naming.TypeAliasCase
value: lower_case
value: lower_case
#
- key: readability-identifier-naming.MacroDefinitionCase
- key: readability-identifier-naming.MacroDefinitionCase
#
value: UPPER_CASE
value: UPPER_CASE
#
- key: readability-identifier-naming.MacroDefinitionPrefix
- key: readability-identifier-naming.MacroDefinitionPrefix
#
value: MIGRAPHX_
value: MIGRAPHX_
CMakeLists.txt
View file @
e00479af
...
@@ -148,6 +148,7 @@ rocm_enable_clang_tidy(
...
@@ -148,6 +148,7 @@ rocm_enable_clang_tidy(
-*-avoid-c-arrays
-*-avoid-c-arrays
-*-explicit-constructor
-*-explicit-constructor
-*-magic-numbers
-*-magic-numbers
-*-narrowing-conversions
-*-non-private-member-variables-in-classes
-*-non-private-member-variables-in-classes
-*-use-auto
-*-use-auto
-*-use-emplace
-*-use-emplace
...
...
Dockerfile
View file @
e00479af
...
@@ -6,7 +6,7 @@ ARG PREFIX=/usr/local
...
@@ -6,7 +6,7 @@ ARG PREFIX=/usr/local
RUN
dpkg
--add-architecture
i386
RUN
dpkg
--add-architecture
i386
# Add rocm repository
# Add rocm repository
RUN
sh
-c
'echo deb [arch=amd64 trusted=yes] http://repo.radeon.com/rocm/apt/4.
1
/ xenial main > /etc/apt/sources.list.d/rocm.list'
RUN
sh
-c
'echo deb [arch=amd64 trusted=yes] http://repo.radeon.com/rocm/apt/4.
2
/ xenial main > /etc/apt/sources.list.d/rocm.list'
# Install dependencies
# Install dependencies
RUN
apt-get update
&&
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
--allow-unauthenticated
\
RUN
apt-get update
&&
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
--allow-unauthenticated
\
...
...
hip-clang.docker
View file @
e00479af
...
@@ -6,7 +6,7 @@ ARG PREFIX=/usr/local
...
@@ -6,7 +6,7 @@ ARG PREFIX=/usr/local
RUN
dpkg
--add-architecture
i386
RUN
dpkg
--add-architecture
i386
# Add rocm repository
# Add rocm repository
RUN
sh
-c
'echo deb [arch=amd64 trusted=yes] http://repo.radeon.com/rocm/apt/4.
1
/ xenial main > /etc/apt/sources.list.d/rocm.list'
RUN
sh
-c
'echo deb [arch=amd64 trusted=yes] http://repo.radeon.com/rocm/apt/4.
2
/ xenial main > /etc/apt/sources.list.d/rocm.list'
# Install dependencies
# Install dependencies
RUN
apt-get update
&&
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
--allow-unauthenticated
\
RUN
apt-get update
&&
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
--allow-unauthenticated
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment