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
86d5cd03
Commit
86d5cd03
authored
Dec 15, 2025
by
wenjh
Browse files
Complete manage blaslt handle
Signed-off-by:
wenjh
<
wenjh@sugon.com
>
parent
1261da47
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
transformer_engine/common/gemm/rocm_gemm.cu
transformer_engine/common/gemm/rocm_gemm.cu
+4
-2
No files found.
transformer_engine/common/gemm/rocm_gemm.cu
View file @
86d5cd03
...
@@ -893,10 +893,12 @@ static void CreateHipBlasLtHandle(hipblasLtHandle_t* handle) {
...
@@ -893,10 +893,12 @@ static void CreateHipBlasLtHandle(hipblasLtHandle_t* handle) {
}
}
static
void
DestroyHipBlasLtHandle
(
hipblasLtHandle_t
handle
)
{
static
void
DestroyHipBlasLtHandle
(
hipblasLtHandle_t
handle
)
{
if
(
handle
!=
nullptr
)
NVTE_CHECK_HIPBLASLT
(
hipblasLtDestroy
(
handle
));
NVTE_CHECK_HIPBLASLT
(
hipblasLtDestroy
(
handle
));
}
}
}
using
hipBlasLtHandleManager
=
detail
::
HandleManager
<
hipblasLtHandle_t
,
CreateHipBlasLtHandle
>
;
using
hipBlasLtHandleManager
=
detail
::
HandleManager
<
hipblasLtHandle_t
,
CreateHipBlasLtHandle
,
DestroyHipBlasLtHandle
>
;
transformer_engine
::
DType
get_transformer_engine_dtype_from_hipblaslt_dtype
(
const
hipDataType
t
)
{
transformer_engine
::
DType
get_transformer_engine_dtype_from_hipblaslt_dtype
(
const
hipDataType
t
)
{
using
namespace
transformer_engine
;
using
namespace
transformer_engine
;
...
...
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