Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
liyinrong
composable_kernel
Commits
8d1c43fd
Commit
8d1c43fd
authored
5 years ago
by
Jehandad Khan
Browse files
Options
Download
Email Patches
Plain Diff
make the problem size smaller
parent
c1b3fb95
jd_implicit_gemm_wrw_dbg
jd_implicit_gemm_wrw
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
driver/src/driver.cpp
+18
-4
driver/src/driver.cpp
with
18 additions
and
4 deletions
+18
-4
driver/src/driver.cpp
View file @
8d1c43fd
...
...
@@ -72,8 +72,22 @@ int main(int argc, char* argv[])
{
using
namespace
ck
;
ConvolutionDir
dir
=
Forward
;
#if 1
constexpr
index_t
N
=
64
;
constexpr
index_t
C
=
384
;
constexpr
index_t
HI
=
8
;
constexpr
index_t
WI
=
8
;
constexpr
index_t
K
=
128
;
constexpr
index_t
Y
=
1
;
constexpr
index_t
X
=
1
;
using
ConvStrides
=
Sequence
<
1
,
1
>
;
using
ConvDilations
=
Sequence
<
1
,
1
>
;
constexpr
index_t
HPad
=
0
;
constexpr
index_t
WPad
=
0
;
dir
=
BackwardWeights
;
#elif 0
constexpr
index_t
N
=
64
;
constexpr
index_t
C
=
1536
;
constexpr
index_t
HI
=
8
;
...
...
@@ -632,10 +646,10 @@ int main(int argc, char* argv[])
check_error
(
wei_kcyx_host
,
wei_kcyx_device
);
#if 0
LogRange(std::cout << "in_nchw : ", in_nchw.mData, ",") << std::endl;
LogRange(std::cout << "wei_kcyx: ", wei_kcyx.mData, ",") << std::endl;
LogRange(std::cout << "out_nkhw_host : ", out_nkhw_host.mData, ",") << std::endl;
LogRange(std::cout << "in_nchw : ", in_nchw_device.mData, ",") << std::endl;
LogRange(std::cout << "out_nkhw_device: ", out_nkhw_device.mData, ",") << std::endl;
LogRange(std::cout << "wei_kcyx_device: ", wei_kcyx_device.mData, ",") << std::endl;
LogRange(std::cout << "wei_kcyx_host: ", wei_kcyx_host.mData, ",") << std::endl;
#endif
}
}
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help