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
composable_kernel
Commits
10a2ae2f
"...en/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "bfc9369f0a9b7fb768b83753f9408362b6f76695"
Commit
10a2ae2f
authored
Apr 21, 2022
by
qinletao
Browse files
chang init data
parent
6c8ca54b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
example/01_gemm/gemm_xdl_fp64.cpp
example/01_gemm/gemm_xdl_fp64.cpp
+2
-2
No files found.
example/01_gemm/gemm_xdl_fp64.cpp
View file @
10a2ae2f
...
...
@@ -135,8 +135,8 @@ int main(int argc, char* argv[])
b_k_n
.
GenerateTensorValue
(
GeneratorTensor_3
<
BDataType
>
{
-
0.5
,
0.5
});
break
;
default:
a_m_k
.
GenerateTensorValue
(
GeneratorTensor_
Sequential
<
0
>
{});
b_k_n
.
GenerateTensorValue
(
GeneratorTensor_
Sequential
<
1
>
{});
a_m_k
.
GenerateTensorValue
(
GeneratorTensor_
1
<
ADataType
>
{
1
});
b_k_n
.
GenerateTensorValue
(
GeneratorTensor_
1
<
BDataType
>
{
1
});
}
DeviceMem
a_m_k_device_buf
(
sizeof
(
ADataType
)
*
a_m_k
.
mDesc
.
GetElementSpace
());
...
...
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