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
f6922d3f
Commit
f6922d3f
authored
Jul 17, 2022
by
Chao Liu
Browse files
fix reference conv bwd data bug; update conv bwd data test
parent
8f722700
Changes
32
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
18 additions
and
19 deletions
+18
-19
test/convnd_fwd/conv1d_fwd.cpp
test/convnd_fwd/conv1d_fwd.cpp
+1
-1
test/convnd_fwd/conv2d_fwd.cpp
test/convnd_fwd/conv2d_fwd.cpp
+1
-1
test/convnd_fwd/conv3d_fwd.cpp
test/convnd_fwd/conv3d_fwd.cpp
+1
-1
test/gemm/CMakeLists.txt
test/gemm/CMakeLists.txt
+4
-4
test/gemm_reduce/CMakeLists.txt
test/gemm_reduce/CMakeLists.txt
+1
-1
test/gemm_split_k/CMakeLists.txt
test/gemm_split_k/CMakeLists.txt
+1
-1
test/grouped_gemm/CMakeLists.txt
test/grouped_gemm/CMakeLists.txt
+1
-1
test/magic_number_division/CMakeLists.txt
test/magic_number_division/CMakeLists.txt
+1
-1
test/reduce/CMakeLists.txt
test/reduce/CMakeLists.txt
+2
-2
test/reference_conv_fwd/CMakeLists.txt
test/reference_conv_fwd/CMakeLists.txt
+1
-1
test/reference_conv_fwd/reference_conv_fwd.cpp
test/reference_conv_fwd/reference_conv_fwd.cpp
+0
-1
test/softmax/CMakeLists.txt
test/softmax/CMakeLists.txt
+4
-4
No files found.
test/convnd_fwd/conv1d_fwd.cpp
View file @
f6922d3f
...
...
@@ -8,7 +8,7 @@
#include "ck/utility/data_type.hpp"
#include "ck/tensor_operation/gpu/element/element_wise_operation.hpp"
#include "ck/library/utility/conv
_
uti
l
.hpp"
#include "ck/library/utility/conv
ol
uti
on_parameter
.hpp"
#include "test/convnd_fwd/conv_util.hpp"
namespace
{
...
...
test/convnd_fwd/conv2d_fwd.cpp
View file @
f6922d3f
...
...
@@ -7,7 +7,7 @@
#include "ck/utility/data_type.hpp"
#include "ck/tensor_operation/gpu/element/element_wise_operation.hpp"
#include "ck/library/utility/conv
_
uti
l
.hpp"
#include "ck/library/utility/conv
ol
uti
on_parameter
.hpp"
#include "test/convnd_fwd/conv_util.hpp"
namespace
{
...
...
test/convnd_fwd/conv3d_fwd.cpp
View file @
f6922d3f
...
...
@@ -10,7 +10,7 @@
#include "ck/utility/data_type.hpp"
#include "ck/tensor_operation/gpu/element/element_wise_operation.hpp"
#include "ck/library/utility/conv
_
uti
l
.hpp"
#include "ck/library/utility/conv
ol
uti
on_parameter
.hpp"
#include "test/convnd_fwd/conv_util.hpp"
...
...
test/gemm/CMakeLists.txt
View file @
f6922d3f
add_test_executable
(
test_gemm_fp32 gemm_fp32.cpp
)
target_link_libraries
(
test_gemm_fp32 PRIVATE
host_tensor
)
target_link_libraries
(
test_gemm_fp32 PRIVATE
utility
)
target_link_libraries
(
test_gemm_fp32 PRIVATE device_gemm_instance
)
add_test_executable
(
test_gemm_fp16 gemm_fp16.cpp
)
target_link_libraries
(
test_gemm_fp16 PRIVATE
host_tensor
)
target_link_libraries
(
test_gemm_fp16 PRIVATE
utility
)
target_link_libraries
(
test_gemm_fp16 PRIVATE device_gemm_instance
)
add_test_executable
(
test_gemm_bf16 gemm_bf16.cpp
)
target_link_libraries
(
test_gemm_bf16 PRIVATE
host_tensor
)
target_link_libraries
(
test_gemm_bf16 PRIVATE
utility
)
target_link_libraries
(
test_gemm_bf16 PRIVATE device_gemm_instance
)
add_test_executable
(
test_gemm_int8 gemm_int8.cpp
)
target_link_libraries
(
test_gemm_int8 PRIVATE
host_tensor
)
target_link_libraries
(
test_gemm_int8 PRIVATE
utility
)
target_link_libraries
(
test_gemm_int8 PRIVATE device_gemm_instance
)
test/gemm_reduce/CMakeLists.txt
View file @
f6922d3f
add_test_executable
(
test_gemm_reduce_fp16 gemm_reduce_fp16.cpp
)
target_link_libraries
(
test_gemm_reduce_fp16 PRIVATE
host_tensor
)
target_link_libraries
(
test_gemm_reduce_fp16 PRIVATE
utility
)
target_link_libraries
(
test_gemm_reduce_fp16 PRIVATE device_gemm_reduce_instance
)
test/gemm_split_k/CMakeLists.txt
View file @
f6922d3f
add_test_executable
(
test_gemm_split_k gemm_split_k.cpp
)
target_link_libraries
(
test_gemm_split_k PRIVATE
host_tensor
)
target_link_libraries
(
test_gemm_split_k PRIVATE
utility
)
target_link_libraries
(
test_gemm_split_k PRIVATE device_gemm_splitk_instance
)
test/grouped_gemm/CMakeLists.txt
View file @
f6922d3f
add_test_executable
(
test_grouped_gemm_fp16 grouped_gemm_fp16.cpp
)
target_link_libraries
(
test_grouped_gemm_fp16 PRIVATE
host_tensor
)
target_link_libraries
(
test_grouped_gemm_fp16 PRIVATE
utility
)
target_link_libraries
(
test_grouped_gemm_fp16 PRIVATE device_grouped_gemm_instance
)
test/magic_number_division/CMakeLists.txt
View file @
f6922d3f
add_test_executable
(
test_magic_number_division magic_number_division.cpp
)
target_link_libraries
(
test_magic_number_division PRIVATE
host_tensor
)
target_link_libraries
(
test_magic_number_division PRIVATE
utility
)
test/reduce/CMakeLists.txt
View file @
f6922d3f
add_test_executable
(
test_reduce_no_index reduce_no_index.cpp
)
add_test_executable
(
test_reduce_with_index reduce_with_index.cpp
)
target_link_libraries
(
test_reduce_no_index PRIVATE
host_tensor
)
target_link_libraries
(
test_reduce_no_index PRIVATE
utility
)
target_link_libraries
(
test_reduce_no_index PRIVATE device_reduce_instance
)
target_link_libraries
(
test_reduce_with_index PRIVATE
host_tensor
)
target_link_libraries
(
test_reduce_with_index PRIVATE
utility
)
target_link_libraries
(
test_reduce_with_index PRIVATE device_reduce_instance
)
test/reference_conv_fwd/CMakeLists.txt
View file @
f6922d3f
add_gtest_executable
(
test_reference_conv_fwd reference_conv_fwd.cpp
)
target_link_libraries
(
test_reference_conv_fwd PRIVATE
host_tensor conv_
util
)
target_link_libraries
(
test_reference_conv_fwd PRIVATE util
ity
)
test/reference_conv_fwd/reference_conv_fwd.cpp
View file @
f6922d3f
...
...
@@ -13,7 +13,6 @@
#include "ck/tensor_operation/gpu/device/tensor_layout.hpp"
#include "ck/library/utility/check_err.hpp"
#include "ck/library/utility/conv_util.hpp"
#include "ck/library/utility/fill.hpp"
#include "ck/library/utility/host_tensor.hpp"
#include "ck/library/reference_tensor_operation/cpu/reference_conv_fwd.hpp"
...
...
test/softmax/CMakeLists.txt
View file @
f6922d3f
...
...
@@ -3,9 +3,9 @@ add_custom_target(test_softmax)
add_gtest_executable
(
test_softmax_fp32 test_softmax_fp32.cpp
)
add_gtest_executable
(
test_softmax_fp16 test_softmax_fp16.cpp
)
add_gtest_executable
(
test_softmax_int8 test_softmax_int8.cpp
)
target_link_libraries
(
test_softmax_fp32 PRIVATE
host_tensor
)
target_link_libraries
(
test_softmax_fp16 PRIVATE
host_tensor
)
target_link_libraries
(
test_softmax_int8 PRIVATE
host_tensor
)
target_link_libraries
(
test_softmax_fp32 PRIVATE
utility
)
target_link_libraries
(
test_softmax_fp16 PRIVATE
utility
)
target_link_libraries
(
test_softmax_int8 PRIVATE
utility
)
add_dependencies
(
test_softmax test_softmax_fp32
)
add_dependencies
(
test_softmax test_softmax_fp16
)
add_dependencies
(
test_softmax test_softmax_int8
)
Prev
1
2
Next
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