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
TransformerEngine
Commits
0c461880
Commit
0c461880
authored
Sep 02, 2025
by
wenjh
Browse files
Fix build error of cpp unit test
Signed-off-by:
wenjh
<
wenjh@sugon.com
>
parent
8e0fd518
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/cpp/operator/test_cast_mxfp8.cu
tests/cpp/operator/test_cast_mxfp8.cu
+1
-1
No files found.
tests/cpp/operator/test_cast_mxfp8.cu
View file @
0c461880
...
@@ -103,7 +103,7 @@ void compute_ref(const ProcessingMethod processing_method,
...
@@ -103,7 +103,7 @@ void compute_ref(const ProcessingMethod processing_method,
elt
=
static_cast
<
float
>
(
static_cast
<
InputType
>
(
elt
));
elt
=
static_cast
<
float
>
(
static_cast
<
InputType
>
(
elt
));
cache_buffer
[
cache_idx
]
=
elt
;
cache_buffer
[
cache_idx
]
=
elt
;
if
(
isinf
(
elt
)
||
isnan
(
elt
))
{
if
(
std
::
isinf
(
elt
)
||
std
::
isnan
(
elt
))
{
continue
;
continue
;
}
}
}
}
...
...
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