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
c4865a1d
"git@developer.sourcefind.cn:modelzoo/resnet50_tensorflow.git" did not exist on "fdd66a269b8f42bcdf67f83d36c610f1af34ed38"
Commit
c4865a1d
authored
Nov 09, 2023
by
Jing Zhang
Browse files
fixed
parent
3a477b0c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
host/include/ck/host/device_gemm_multiple_d/operation.hpp
host/include/ck/host/device_gemm_multiple_d/operation.hpp
+1
-1
host/include/ck/host/device_gemm_multiple_d/problem.hpp
host/include/ck/host/device_gemm_multiple_d/problem.hpp
+1
-1
host/test/gemm_multiple_d.cpp
host/test/gemm_multiple_d.cpp
+3
-3
include/ck/tensor_operation/gpu/grid/gridwise_gemm_multiple_d_xdl_cshuffle.hpp
...ration/gpu/grid/gridwise_gemm_multiple_d_xdl_cshuffle.hpp
+4
-4
No files found.
host/include/ck/host/device_gemm_multiple_d/operation.hpp
View file @
c4865a1d
...
@@ -20,7 +20,7 @@ struct Operation_Xdl_CShuffle
...
@@ -20,7 +20,7 @@ struct Operation_Xdl_CShuffle
static
std
::
vector
<
Operation_Xdl_CShuffle
>
CreateOperations
(
const
Problem
&
prob
);
static
std
::
vector
<
Operation_Xdl_CShuffle
>
CreateOperations
(
const
Problem
&
prob
);
TensorDesc
A
{};
TensorDesc
A
{};
TensorDesc
B
{};
TensorDesc
B
{};
DataType
acc
=
DataType
::
Half
;
DataType
acc
=
DataType
::
Float
;
DataType
cs_type
=
DataType
::
Half
;
DataType
cs_type
=
DataType
::
Half
;
std
::
vector
<
TensorDesc
>
Ds
=
{};
std
::
vector
<
TensorDesc
>
Ds
=
{};
TensorDesc
E
{};
TensorDesc
E
{};
...
...
host/include/ck/host/device_gemm_multiple_d/problem.hpp
View file @
c4865a1d
...
@@ -27,7 +27,7 @@ struct Problem
...
@@ -27,7 +27,7 @@ struct Problem
std
::
vector
<
DataType
>
DsDataType
=
{};
std
::
vector
<
DataType
>
DsDataType
=
{};
std
::
string
AElementOp
=
PassThrough
;
std
::
string
AElementOp
=
PassThrough
;
std
::
string
BElementOp
=
PassThrough
;
std
::
string
BElementOp
=
PassThrough
;
std
::
string
CDEElementOp
=
"ck::Tuple<>"
;
std
::
string
CDEElementOp
=
PassThrough
;
std
::
string
GetIncludeHeader
()
const
;
std
::
string
GetIncludeHeader
()
const
;
...
...
host/test/gemm_multiple_d.cpp
View file @
c4865a1d
...
@@ -47,9 +47,9 @@ extern "C" __global__ void f(const ck::half_t* a, const ck::half_t* b, ck::half_
...
@@ -47,9 +47,9 @@ extern "C" __global__ void f(const ck::half_t* a, const ck::half_t* b, ck::half_
TEST_CASE
(
test_problem_kernel
)
TEST_CASE
(
test_problem_kernel
)
{
{
ck
::
host
::
device_gemm_multiple_d
::
Problem
prob
;
ck
::
host
::
device_gemm_multiple_d
::
Problem
prob
;
prob
.
M
=
256
;
prob
.
M
=
1024
;
prob
.
N
=
256
;
prob
.
N
=
1024
;
prob
.
K
=
256
;
prob
.
K
=
1024
;
for
(
auto
solution
:
prob
.
GetSolutions
(
"gfx90a"
))
for
(
auto
solution
:
prob
.
GetSolutions
(
"gfx90a"
))
{
{
auto
src
=
ck
::
host
::
InterpolateString
(
gemm_compile_check
,
auto
src
=
ck
::
host
::
InterpolateString
(
gemm_compile_check
,
...
...
include/ck/tensor_operation/gpu/grid/gridwise_gemm_multiple_d_xdl_cshuffle.hpp
View file @
c4865a1d
...
@@ -309,10 +309,10 @@ struct GridwiseGemmMultipleD_xdl_cshuffle
...
@@ -309,10 +309,10 @@ struct GridwiseGemmMultipleD_xdl_cshuffle
}
}
// check block-to-E-tile
// check block-to-E-tile
if
(
!
block_2_etile_map
.
CheckValidity
(
e_grid_desc_m_n
))
//
if(!block_2_etile_map.CheckValidity(e_grid_desc_m_n))
{
//
{
return
false
;
//
return false;
}
//
}
// TODO: also check validity of all components (blockwise-copy, threadwise-copy, etc)
// TODO: also check validity of all components (blockwise-copy, threadwise-copy, etc)
// check tensor size: cannot be larger than 2GB each
// check tensor size: cannot be larger than 2GB each
...
...
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