Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
3e6c3f8
Convolution ND
Feb 7, 2022
65d8da4
Move convnd f32 instance file to comply with repo structure.
Feb 8, 2022
e2e3d2e
Conv 1D tensor layouts.
Feb 8, 2022
e035c33
Formatting and use ReferenceConv
Feb 8, 2022
ec89868
Reference ConvFwd supporting 1D and 2D convolution.
Feb 11, 2022
5189c80
Debug printing TensorLayout name.
Feb 11, 2022
a0a6afd
Conv fwd 1D instance f32
Feb 11, 2022
97663eb
Refactor conv ND example.
Feb 11, 2022
ed3c16a
Rename conv nd example director to prevent conflicts.
Feb 11, 2022
3dbb8b4
Merge branch 'develop' into aosewski/conv_nd
Feb 11, 2022
7268be8
Refactor some common utility to single file.
Feb 16, 2022
9122de1
Refactor GetHostTensorDescriptor + UT.
Feb 16, 2022
62066ac
Add 1D test case.
Feb 17, 2022
8b3d255
Test reference convolution 1d/2d
Feb 17, 2022
18d2ab6
Remove some leftovers.
Feb 17, 2022
50e10fa
Fix convolution example error for 1D
Feb 17, 2022
07b6b6c
Refactor test check errors utility function.
Feb 18, 2022
4bb5783
Test Conv2D Fwd XDL
Feb 18, 2022
174e6fa
More UT for 1D case.
Feb 21, 2022
19c85bb
Rename example to prevent conflicts.
Feb 21, 2022
2617b0c
Merge branch 'develop' into aosewski/conv_nd
Feb 21, 2022
f4379e1
Split convnd instance into separate files for 1d/2d
Feb 22, 2022
0806433
Address review comments.
Feb 22, 2022
44b74e3
Merge branch 'develop' into aosewski/conv_nd
Feb 22, 2022
a519f86
Merge remote-tracking branch 'origin/develop' into aosewski/conv_nd
Feb 23, 2022
f718189
Fix data type for flops/gbytes calculations.
Feb 23, 2022
d502136
Assign example number 11.
Feb 23, 2022
79b2ef3
3D cases for convolution utility functions.
Feb 25, 2022
563ad88
3D reference convolution.
Feb 25, 2022
dcb6bac
Add support for 3D convolution.
Feb 28, 2022
25b1220
Check for inputs bigger than 2GB.
Mar 4, 2022
ff6f9d5
Formatting
Mar 4, 2022
10232bd
Support for bf16/f16/f32/i8 - conv instances + UT.
Mar 4, 2022
2624cfc
Merge branch 'develop' into aosewski/conv_3d
Mar 7, 2022
bde66c2
Use check_err from test_util.hpp.
Mar 9, 2022
3188b53
Split convnd test into separate files for each dim.
Mar 9, 2022
e38a182
Fix data generation and use proper instances.
Mar 10, 2022
ef5296c
Formatting
Mar 10, 2022
f8524e1
Skip tensor initialization if not necessary.
Mar 10, 2022
c79ac8a
Merge branch 'develop' into aosewski/conv_3d
Mar 10, 2022
30aabf3
Fix CMakefiles.
Mar 10, 2022
bd39c81
Remove redundant conv2d_fwd test.
Mar 10, 2022
413839c
Lower problem size for conv3D UT.
Mar 10, 2022
a41662d
3D case for convnd example.
Mar 10, 2022
b7e49f9
Remove leftovers after merge.
Mar 11, 2022
4e6dfda
Add Conv Specialization string to GetTypeString
Mar 11, 2022
37f92a3
Skip instance causing numerical errors.
Mar 16, 2022
286635c
Merge branch 'develop' into aosewski/conv_3d
Mar 16, 2022
ca9b537
Small fixes.
Mar 16, 2022
67d845e
Remove redundant includes.
Mar 16, 2022
66cb850
Fix namespace name error.
Mar 17, 2022
2868f2e
Script for automatic testing and logging convolution fwd UTs
Mar 17, 2022
e6f2d58
Comment out numactl cmd.
Mar 17, 2022
a5d3b92
Refine weights initalization and relax rtol for fp16
Mar 17, 2022
4164c0a
Move test_util.hpp to check_err.hpp
Mar 18, 2022
2f55496
Refine weights initalization and relax rtol for fp16
Mar 17, 2022
8098df9
Refactor common part of test conv utils.
Mar 18, 2022
0bdc51e
Add additional common functions to utility.
Mar 21, 2022
963add1
Refactor convnd_fwd_xdl examples.
Mar 21, 2022
873d918
Add constructor to ConvParams.
Mar 21, 2022
557a958
Modify conv examples to use single utility file.
Mar 21, 2022
a1919c0
Remove check_error from host_tensor.hpp
Mar 21, 2022
5a664e7
Get rid of check_indices function.
Mar 21, 2022
0e8fb6d
Remove bf16_to_f32 function overload for scalars.
Mar 21, 2022
7ba2eb3
Fix namespace.
Mar 21, 2022
19f3fd8
Add half_float::half for check_err.
Mar 21, 2022
2b09f01
Fix conv params size in UT.
Mar 22, 2022
d332ff7
Fix weights initialization for int8.
Mar 22, 2022
0bb0f43
Fix weights initialization for int8.
Mar 22, 2022
8a168d9
Add type_convert when store output in ref conv 1D.
Mar 22, 2022
4c3ed95
Get back old conv2d_fwd_xdl operation.
Mar 22, 2022
0175c28
Silence conv debug print.
Mar 22, 2022
284a1f1
Merge remote-tracking branch 'origin/develop' into aosewski/conv_3d
Mar 22, 2022
004ecdd
format
Mar 22, 2022
9a08edd
clean
Mar 23, 2022
f6bd459
clean
Mar 23, 2022
6e5c7fe
Fix merge.
Mar 23, 2022
5121660
Fix namespace for check_err
Mar 23, 2022
9653c22
Merge branch 'aosewski/conv_3d' into aosewski/util_refactor
Mar 23, 2022
a4b8971
Formatting.
Mar 23, 2022
6c3afc4
Fix merge artifacts.
Mar 23, 2022
8218291
Remove deleted header.
Mar 23, 2022
9d900b0
Merge branch 'develop' into aosewski/util_refactor
Mar 24, 2022
32f9870
Merge remote-tracking branch 'origin/develop' into aosewski/util_refa…
Mar 24, 2022
476ab8d
Fix some includes and use ck::utils::check_err.
Mar 24, 2022
b28ebba
Merge remote-tracking branch 'origin/develop' into aosewski/util_refa…
Mar 30, 2022
494d923
Remove unused check_indices restored by previous merge.
Mar 30, 2022
4248ed7
Fix namespaces after merge.
Mar 30, 2022
a74c012
Merge remote-tracking branch 'origin/develop' into aosewski/util_refa…
Apr 1, 2022
f67672a
Fix compilation error.
Apr 1, 2022
ad143e3
Small fixes.
Apr 1, 2022
9ee768a
Fix merge artifact - retrieve removed by accident fun.
Apr 1, 2022
64b63bd
Fix ConvForwardSpecialization.
Apr 1, 2022
5658c10
Adhere to coding style rules.
Apr 5, 2022
8aa4671
Merge remote-tracking branch 'origin/develop' into aosewski/util_refa…
Apr 5, 2022
3c5447d
Fix merge artifacts.
Apr 5, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion example/01_gemm/gemm_xdl_bf16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include <cstdlib>
#include <stdlib.h>
#include <half.hpp>

#include "check_err.hpp"
#include "config.hpp"
#include "device.hpp"
#include "host_tensor.hpp"
Expand Down Expand Up @@ -227,7 +229,7 @@ int main(int argc, char* argv[])

ref_invoker.Run(ref_argument);

check_error(c_m_n_host_result, c_m_n_device_f32_result);
ck::utils::check_err(c_m_n_device_f32_result.mData, c_m_n_host_result.mData);
}

return 0;
Expand Down
4 changes: 3 additions & 1 deletion example/01_gemm/gemm_xdl_fp16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include <cstdlib>
#include <stdlib.h>
#include <half.hpp>

#include "check_err.hpp"
#include "config.hpp"
#include "device.hpp"
#include "host_tensor.hpp"
Expand Down Expand Up @@ -196,7 +198,7 @@ int main(int argc, char* argv[])

ref_invoker.Run(ref_argument);

check_error(c_m_n_host_result, c_m_n_device_result);
ck::utils::check_err(c_m_n_device_result.mData, c_m_n_host_result.mData);
}

return 0;
Expand Down
4 changes: 3 additions & 1 deletion example/01_gemm/gemm_xdl_int8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include <cstdlib>
#include <stdlib.h>
#include <half.hpp>

#include "check_err.hpp"
#include "config.hpp"
#include "device.hpp"
#include "host_tensor.hpp"
Expand Down Expand Up @@ -219,7 +221,7 @@ int main(int argc, char* argv[])

ref_invoker.Run(ref_argument);

check_error(c_m_n_host_result, c_m_n_device_result);
ck::utils::check_err(c_m_n_device_result.mData, c_m_n_host_result.mData);
}

return 0;
Expand Down
4 changes: 3 additions & 1 deletion example/02_gemm_alpha_beta/gemm_xdl_alpha_beta.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include <cstdlib>
#include <stdlib.h>
#include <half.hpp>

#include "check_err.hpp"
#include "config.hpp"
#include "print.hpp"
#include "device.hpp"
Expand Down Expand Up @@ -244,6 +246,6 @@ int main(int argc, char* argv[])

ref_invoker.Run(ref_argument);

check_error(c_m_n_host_result, c_m_n_device_result);
ck::utils::check_err(c_m_n_device_result.mData, c_m_n_host_result.mData);
}
}
4 changes: 3 additions & 1 deletion example/03_gemm_bias_relu/gemm_xdl_bias_relu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include <cstdlib>
#include <stdlib.h>
#include <half.hpp>

#include "check_err.hpp"
#include "config.hpp"
#include "print.hpp"
#include "device.hpp"
Expand Down Expand Up @@ -230,6 +232,6 @@ int main(int argc, char* argv[])

ref_invoker.Run(ref_argument);

check_error(c_m_n_host_result, c_m_n_device_result);
ck::utils::check_err(c_m_n_device_result.mData, c_m_n_host_result.mData);
}
}
4 changes: 3 additions & 1 deletion example/04_gemm_bias_relu_add/gemm_xdl_bias_relu_add.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include <cstdlib>
#include <stdlib.h>
#include <half.hpp>

#include "check_err.hpp"
#include "config.hpp"
#include "print.hpp"
#include "device.hpp"
Expand Down Expand Up @@ -248,6 +250,6 @@ int main(int argc, char* argv[])

ref_invoker.Run(ref_argument);

check_error(c_m_n_host_result, c_m_n_device_result);
ck::utils::check_err(c_m_n_device_result.mData, c_m_n_host_result.mData);
}
}
2 changes: 0 additions & 2 deletions example/05_conv2d_fwd/CMakeLists.txt

This file was deleted.

24 changes: 0 additions & 24 deletions example/05_conv2d_fwd/README.md

This file was deleted.

Loading