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
OpenDAS
Oneflow
Commits
400cda78
You need to sign in or sign up before continuing.
Commit
400cda78
authored
Aug 24, 2023
by
yuguo
Browse files
hgemm ctype is fp32 in default
parent
d95c28c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
oneflow/core/ep/cuda/primitive/broadcast_matmul.cpp
oneflow/core/ep/cuda/primitive/broadcast_matmul.cpp
+1
-1
No files found.
oneflow/core/ep/cuda/primitive/broadcast_matmul.cpp
View file @
400cda78
...
...
@@ -286,7 +286,7 @@ hipblasDatatype_t GetComputeType(DataType data_type) {
case
kDouble
:
return
HIPBLAS_R_64F
;
case
kFloat16
:
{
const
bool
allow_half_accumulation
=
ParseBooleanFromEnv
(
"ONEFLOW_MATMUL_ALLOW_HALF_PRECISION_ACCUMULATION"
,
tru
e
);
ParseBooleanFromEnv
(
"ONEFLOW_MATMUL_ALLOW_HALF_PRECISION_ACCUMULATION"
,
fals
e
);
if
(
allow_half_accumulation
)
{
return
HIPBLAS_R_16F
;
}
else
{
...
...
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