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
fe872e6e
Commit
fe872e6e
authored
Jul 27, 2022
by
Chao Liu
Browse files
update example
parent
116368c3
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
15 deletions
+15
-15
example/30_grouped_convnd_fwd_bias_relu/grouped_convnd_fwd_bias_relu_xdl_fp16.cpp
...d_fwd_bias_relu/grouped_convnd_fwd_bias_relu_xdl_fp16.cpp
+1
-1
library/src/tensor_operation_instance/gpu/CMakeLists.txt
library/src/tensor_operation_instance/gpu/CMakeLists.txt
+2
-2
library/src/tensor_operation_instance/gpu/grouped_conv1d_fwd/CMakeLists.txt
..._operation_instance/gpu/grouped_conv1d_fwd/CMakeLists.txt
+12
-0
library/src/tensor_operation_instance/gpu/grouped_conv1d_fwd/conv1d_fwd/CMakeLists.txt
...instance/gpu/grouped_conv1d_fwd/conv1d_fwd/CMakeLists.txt
+0
-12
No files found.
example/30_grouped_convnd_fwd_bias_relu/grouped_convnd_fwd_bias_relu_xdl_fp16.cpp
View file @
fe872e6e
...
@@ -90,7 +90,7 @@ int main(int argc, char* argv[])
...
@@ -90,7 +90,7 @@ int main(int argc, char* argv[])
bool
time_kernel
=
false
;
bool
time_kernel
=
false
;
ck
::
utils
::
conv
::
ConvParam
conv_param
{
ck
::
utils
::
conv
::
ConvParam
conv_param
{
2
,
1
,
128
,
256
,
192
,
{
3
,
3
},
{
71
,
71
},
{
2
,
2
},
{
1
,
1
},
{
1
,
1
},
{
1
,
1
}};
2
,
2
,
128
,
256
,
192
,
{
3
,
3
},
{
71
,
71
},
{
2
,
2
},
{
1
,
1
},
{
1
,
1
},
{
1
,
1
}};
if
(
argc
==
1
)
if
(
argc
==
1
)
{
{
...
...
library/src/tensor_operation_instance/gpu/CMakeLists.txt
View file @
fe872e6e
...
@@ -16,7 +16,7 @@ add_subdirectory(batched_gemm_reduce)
...
@@ -16,7 +16,7 @@ add_subdirectory(batched_gemm_reduce)
add_subdirectory
(
grouped_gemm
)
add_subdirectory
(
grouped_gemm
)
add_subdirectory
(
contraction_scale
)
add_subdirectory
(
contraction_scale
)
add_subdirectory
(
contraction_bilinear
)
add_subdirectory
(
contraction_bilinear
)
add_subdirectory
(
conv1d_fwd
)
add_subdirectory
(
grouped_
conv1d_fwd
)
add_subdirectory
(
conv2d_fwd
)
add_subdirectory
(
conv2d_fwd
)
add_subdirectory
(
conv3d_fwd
)
add_subdirectory
(
conv3d_fwd
)
add_subdirectory
(
conv1d_bwd_data
)
add_subdirectory
(
conv1d_bwd_data
)
...
@@ -42,7 +42,7 @@ add_library(device_operations STATIC
...
@@ -42,7 +42,7 @@ add_library(device_operations STATIC
$<TARGET_OBJECTS:device_grouped_gemm_instance>
$<TARGET_OBJECTS:device_grouped_gemm_instance>
$<TARGET_OBJECTS:device_contraction_scale_instance>
$<TARGET_OBJECTS:device_contraction_scale_instance>
$<TARGET_OBJECTS:device_contraction_bilinear_instance>
$<TARGET_OBJECTS:device_contraction_bilinear_instance>
$<TARGET_OBJECTS:device_conv1d_fwd_instance>
$<TARGET_OBJECTS:device_
grouped_
conv1d_fwd_instance>
$<TARGET_OBJECTS:device_conv2d_fwd_instance>
$<TARGET_OBJECTS:device_conv2d_fwd_instance>
$<TARGET_OBJECTS:device_conv3d_fwd_instance>
$<TARGET_OBJECTS:device_conv3d_fwd_instance>
$<TARGET_OBJECTS:device_conv1d_bwd_data_instance>
$<TARGET_OBJECTS:device_conv1d_bwd_data_instance>
...
...
library/src/tensor_operation_instance/gpu/grouped_conv1d_fwd/CMakeLists.txt
0 → 100644
View file @
fe872e6e
# device_grouped_conv1d_fwd_instance
set
(
DEVICE_GROUPED_CONV1D_FWD_INSTANCE_SOURCE
device_grouped_conv1d_fwd_xdl_gnwc_gkxc_gnwk_bf16_instance.cpp;
device_grouped_conv1d_fwd_xdl_gnwc_gkxc_gnwk_f16_instance.cpp;
device_grouped_conv1d_fwd_xdl_gnwc_gkxc_gnwk_f32_instance.cpp;
device_grouped_conv1d_fwd_xdl_gnwc_gkxc_gnwk_int8_instance.cpp;
)
add_library
(
device_grouped_conv1d_fwd_instance OBJECT
${
DEVICE_GROUPED_CONV1D_FWD_INSTANCE_SOURCE
}
)
set_target_properties
(
device_grouped_conv1d_fwd_instance PROPERTIES POSITION_INDEPENDENT_CODE ON
)
clang_tidy_check
(
device_grouped_conv1d_fwd_instance
)
library/src/tensor_operation_instance/gpu/grouped_conv1d_fwd/conv1d_fwd/CMakeLists.txt
deleted
100644 → 0
View file @
116368c3
# device_conv1d_fwd_instance
set
(
DEVICE_CONV1D_FWD_INSTANCE_SOURCE
device_conv1d_fwd_xdl_nwc_kxc_nwk_bf16_instance.cpp;
device_conv1d_fwd_xdl_nwc_kxc_nwk_f16_instance.cpp;
device_conv1d_fwd_xdl_nwc_kxc_nwk_f32_instance.cpp;
device_conv1d_fwd_xdl_nwc_kxc_nwk_int8_instance.cpp;
)
add_library
(
device_conv1d_fwd_instance OBJECT
${
DEVICE_CONV1D_FWD_INSTANCE_SOURCE
}
)
set_target_properties
(
device_conv1d_fwd_instance PROPERTIES POSITION_INDEPENDENT_CODE ON
)
clang_tidy_check
(
device_conv1d_fwd_instance
)
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