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
d2a488dd
Commit
d2a488dd
authored
Nov 20, 2018
by
Chao Liu
Browse files
hand tuned params
parent
c5877261
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
driver/conv.cu
driver/conv.cu
+2
-2
driver/device_direct_convolution_3.cuh
driver/device_direct_convolution_3.cuh
+2
-2
No files found.
driver/conv.cu
View file @
d2a488dd
...
...
@@ -170,7 +170,7 @@ int main()
int
num_thread
=
std
::
thread
::
hardware_concurrency
();
#if
1
#if
0
in.GenerateTensorValue(GeneratorTensor<float>{}, num_thread);
wei.GenerateTensorValue(GeneratorTensor<float>{}, num_thread);
#endif
...
...
@@ -180,7 +180,7 @@ int main()
device_convolution
(
in_desc
,
in
,
wei_desc
,
wei
,
out_desc
,
out_device
);
}
#if
1
#if
0
host_convolution(in, wei, out_host);
float error = 0;
...
...
driver/device_direct_convolution_3.cuh
View file @
d2a488dd
...
...
@@ -27,9 +27,9 @@ void device_convolution(
constexpr
unsigned
OutTileSizeH
=
2
;
constexpr
unsigned
OutTileSizeW
=
2
;
constexpr
unsigned
NPerBlock
=
2
;
constexpr
unsigned
KPerBlock
=
8
;
constexpr
unsigned
KPerBlock
=
32
;
constexpr
unsigned
CPerBlock
=
2
;
constexpr
unsigned
YPerBlock
=
4
;
constexpr
unsigned
YPerBlock
=
1
;
constexpr
unsigned
XPerBlock
=
16
;
constexpr
unsigned
NPerThread
=
2
;
...
...
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