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
8a7e325c
"docs/howto_2_CustomizedTuner.md" did not exist on "8314d6eec52aaa6c994e393cc231cf1d3d8753a4"
Commit
8a7e325c
authored
Mar 03, 2022
by
Shucai Xiao
Browse files
more refinement to use fma for mul_add
parent
fdc0ae82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/targets/gpu/device/mul_add.cpp
src/targets/gpu/device/mul_add.cpp
+1
-1
No files found.
src/targets/gpu/device/mul_add.cpp
View file @
8a7e325c
...
...
@@ -21,7 +21,7 @@ __global__ void mul_add_kernel_dim3(void* a, void* x, void* b, int dim3, void* r
if
(
id
<
n
)
{
auto
id1
=
id
%
dim3
;
hr
[
id
]
=
__h
add2
(
__hmul
2
(
ha
[
id
],
hx
[
id1
]
)
,
hb
[
id1
]);
hr
[
id
]
=
__h
fma
2
(
ha
[
id
],
hx
[
id1
],
hb
[
id1
]);
}
}
...
...
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