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
composable_kernel
Commits
31d758fb
Commit
31d758fb
authored
Sep 06, 2022
by
Po-Yen, Chen
Browse files
Refine error message for check_err()
parent
43d4bd7a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
example/36_elementwise_permute/run_elementwise_permute_example.inc
...6_elementwise_permute/run_elementwise_permute_example.inc
+1
-1
No files found.
example/36_elementwise_permute/run_elementwise_permute_example.inc
View file @
31d758fb
...
@@ -54,7 +54,7 @@ bool run_elementwise_permute(const ExecutionConfig& config, const Problem& probl
...
@@ -54,7 +54,7 @@ bool run_elementwise_permute(const ExecutionConfig& config, const Problem& probl
b_device_buf
.
FromDevice
(
b
.
mData
.
data
());
b_device_buf
.
FromDevice
(
b
.
mData
.
data
());
return
ck
::
utils
::
check_err
(
return
ck
::
utils
::
check_err
(
b
.
mData
,
host_b
.
mData
,
"Error: incorrect results in tensor
B
"
,
1
e
-
10
,
1
e
-
10
);
b
.
mData
,
host_b
.
mData
,
"Error: incorrect results in
output
tensor"
,
1
e
-
10
,
1
e
-
10
);
}
}
return
true
;
return
true
;
...
...
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