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
6dda0de9
Commit
6dda0de9
authored
Oct 08, 2023
by
Artur Wojcik
Browse files
2282: incorporate review feedback
parent
fcb1a503
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
src/driver/main.cpp
src/driver/main.cpp
+0
-1
src/include/migraphx/config.hpp
src/include/migraphx/config.hpp
+0
-3
src/include/migraphx/instruction_ref.hpp
src/include/migraphx/instruction_ref.hpp
+4
-0
test/include/test.hpp
test/include/test.hpp
+3
-1
test/promote_literals_test.cpp
test/promote_literals_test.cpp
+0
-1
No files found.
src/driver/main.cpp
View file @
6dda0de9
...
...
@@ -41,7 +41,6 @@
#include <migraphx/json.hpp>
#include <migraphx/version.h>
#include <migraphx/instruction.hpp>
#include <migraphx/dead_code_elimination.hpp>
#include <migraphx/eliminate_identity.hpp>
#include <migraphx/eliminate_pad.hpp>
...
...
src/include/migraphx/config.hpp
View file @
6dda0de9
...
...
@@ -25,10 +25,7 @@
#define MIGRAPHX_GUARD_CONFIG_HPP
#include <migraphx/export.h>
#if defined(_MSC_VER) && !defined(__clang__)
#include <ciso646>
#endif
#if !defined(MIGRAPHX_USE_CLANG_TIDY) && !defined(DOXYGEN)
...
...
src/include/migraphx/instruction_ref.hpp
View file @
6dda0de9
...
...
@@ -65,4 +65,8 @@ struct equal_to<migraphx::instruction_ref> // NOLINT
}
// namespace std
#ifdef _MSC_VER
#include <migraphx/instruction.hpp>
#endif
#endif
test/include/test.hpp
View file @
6dda0de9
...
...
@@ -333,12 +333,14 @@ enum class color
bg_blue
=
44
,
bg_default
=
49
};
inline
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
[[
maybe_unused
]]
const
color
&
c
)
inline
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
color
&
c
)
{
#ifndef _WIN32
static
const
bool
use_color
=
isatty
(
STDOUT_FILENO
)
!=
0
;
if
(
use_color
)
return
os
<<
"
\033
["
<<
static_cast
<
std
::
size_t
>
(
c
)
<<
"m"
;
#else
(
void
)
c
;
#endif
return
os
;
}
...
...
test/promote_literals_test.cpp
View file @
6dda0de9
...
...
@@ -26,7 +26,6 @@
#include <migraphx/program.hpp>
#include <migraphx/dead_code_elimination.hpp>
#include <migraphx/eliminate_common_subexpression.hpp>
#include <migraphx/instruction.hpp>
#include <migraphx/pass_manager.hpp>
#include <migraphx/make_op.hpp>
#include <migraphx/serialize.hpp>
...
...
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