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
FastMoE
Commits
43eabe75
Unverified
Commit
43eabe75
authored
Sep 30, 2021
by
hclearner
Committed by
GitHub
Sep 30, 2021
Browse files
Update cublas_wrapper.h
parent
976ef2b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cuda/utils/cublas_wrapper.h
cuda/utils/cublas_wrapper.h
+1
-1
No files found.
cuda/utils/cublas_wrapper.h
View file @
43eabe75
...
@@ -39,7 +39,7 @@ inline cublasStatus_t cublasXgemmBatched(cublasHandle_t handle,
...
@@ -39,7 +39,7 @@ inline cublasStatus_t cublasXgemmBatched(cublasHandle_t handle,
const
__half
*
beta
,
const
__half
*
beta
,
__half
*
Carray
[],
int
ldc
,
__half
*
Carray
[],
int
ldc
,
int
batchCount
)
{
int
batchCount
)
{
#ifdef MOE_HIP
_DIFF
#ifdef
F
MOE_
USE_
HIP
return
rocblas_hgemm_batched
(
handle
,
transa
,
transb
,
m
,
n
,
k
,
(
const
rocblas_half
*
)
alpha
,
(
const
rocblas_half
*
const
*
)
Aarray
,
lda
,
(
const
rocblas_half
*
const
*
)
Barray
,
ldb
,
(
const
rocblas_half
*
)
beta
,
(
rocblas_half
*
const
*
)
Carray
,
ldc
,
batchCount
);
return
rocblas_hgemm_batched
(
handle
,
transa
,
transb
,
m
,
n
,
k
,
(
const
rocblas_half
*
)
alpha
,
(
const
rocblas_half
*
const
*
)
Aarray
,
lda
,
(
const
rocblas_half
*
const
*
)
Barray
,
ldb
,
(
const
rocblas_half
*
)
beta
,
(
rocblas_half
*
const
*
)
Carray
,
ldc
,
batchCount
);
#else
#else
return
cublasHgemmBatched
(
handle
,
transa
,
transb
,
m
,
n
,
k
,
alpha
,
Aarray
,
lda
,
Barray
,
ldb
,
beta
,
Carray
,
ldc
,
batchCount
);
return
cublasHgemmBatched
(
handle
,
transa
,
transb
,
m
,
n
,
k
,
alpha
,
Aarray
,
lda
,
Barray
,
ldb
,
beta
,
Carray
,
ldc
,
batchCount
);
...
...
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