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
cf4642cd
Commit
cf4642cd
authored
Nov 09, 2021
by
Paul
Browse files
Formatting
parent
0ad547aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
test/gpu/mlir.cpp
test/gpu/mlir.cpp
+4
-4
No files found.
test/gpu/mlir.cpp
100755 → 100644
View file @
cf4642cd
...
...
@@ -11,15 +11,15 @@ std::string encode(std::string s)
{
std
::
stringstream
ss
;
bool
prespace
=
false
;
for
(
auto
c
:
s
)
for
(
auto
c
:
s
)
{
if
(
std
::
isspace
(
c
))
if
(
std
::
isspace
(
c
))
{
if
(
not
prespace
)
if
(
not
prespace
)
ss
<<
" "
;
prespace
=
true
;
}
else
if
(
std
::
isprint
(
c
))
else
if
(
std
::
isprint
(
c
))
{
ss
<<
c
;
prespace
=
false
;
...
...
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