Commit 367a6f4b authored by Bartlomiej Wroblewski's avatar Bartlomiej Wroblewski
Browse files

Move using statements from examples to a common file

parent e6593a76
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
#include "ck/tensor_operation/gpu/device/gemm_specialization.hpp" #include "ck/tensor_operation/gpu/device/gemm_specialization.hpp"
#include "ck/tensor_operation/gpu/device/impl/device_contraction_multiple_d_xdl_cshuffle.hpp" #include "ck/tensor_operation/gpu/device/impl/device_contraction_multiple_d_xdl_cshuffle.hpp"
using F16 = ck::half_t;
using BF16 = ck::bhalf_t;
using F32 = float;
using F64 = double;
template <ck::index_t... Is> template <ck::index_t... Is>
using S = ck::Sequence<Is...>; using S = ck::Sequence<Is...>;
......
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
#include "common_instances.hpp" #include "common_instances.hpp"
using F32 = float;
using BF16 = ck::bhalf_t;
using ADataType = BF16; using ADataType = BF16;
using BDataType = BF16; using BDataType = BF16;
using AccDataType = F32; using AccDataType = F32;
......
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
#include "common_instances.hpp" #include "common_instances.hpp"
using F32 = float;
using F16 = ck::half_t;
using ADataType = F16; using ADataType = F16;
using BDataType = F16; using BDataType = F16;
using AccDataType = F32; using AccDataType = F32;
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
#include "common_instances.hpp" #include "common_instances.hpp"
using F32 = float;
using ADataType = F32; using ADataType = F32;
using BDataType = F32; using BDataType = F32;
using AccDataType = F32; using AccDataType = F32;
......
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
#include "common_instances.hpp" #include "common_instances.hpp"
using F32 = float;
using BF16 = ck::bhalf_t;
using ADataType = F32; using ADataType = F32;
using BDataType = F32; using BDataType = F32;
using AccDataType = F32; using AccDataType = F32;
......
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
#include "common_instances.hpp" #include "common_instances.hpp"
using F32 = float;
using F16 = ck::half_t;
using ADataType = F32; using ADataType = F32;
using BDataType = F32; using BDataType = F32;
using AccDataType = F32; using AccDataType = F32;
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
#include "common_instances.hpp" #include "common_instances.hpp"
using F64 = double;
using ADataType = F64; using ADataType = F64;
using BDataType = F64; using BDataType = F64;
using AccDataType = F64; using AccDataType = F64;
......
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
#include "common_instances.hpp" #include "common_instances.hpp"
using F32 = float;
using F64 = double;
using ADataType = F64; using ADataType = F64;
using BDataType = F64; using BDataType = F64;
using AccDataType = F32; using AccDataType = F32;
......
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
#include "common_instances.hpp" #include "common_instances.hpp"
using F32 = float;
using BF16 = ck::bhalf_t;
using ADataType = BF16; using ADataType = BF16;
using BDataType = BF16; using BDataType = BF16;
using AccDataType = F32; using AccDataType = F32;
......
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
#include "common_instances.hpp" #include "common_instances.hpp"
using F32 = float;
using F16 = ck::half_t;
using ADataType = F16; using ADataType = F16;
using BDataType = F16; using BDataType = F16;
using AccDataType = F32; using AccDataType = F32;
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
#include "common_instances.hpp" #include "common_instances.hpp"
using F32 = float;
using ADataType = F32; using ADataType = F32;
using BDataType = F32; using BDataType = F32;
using AccDataType = F32; using AccDataType = F32;
......
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
#include "common_instances.hpp" #include "common_instances.hpp"
using F32 = float;
using BF16 = ck::bhalf_t;
using ADataType = F32; using ADataType = F32;
using BDataType = F32; using BDataType = F32;
using AccDataType = F32; using AccDataType = F32;
......
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
#include "common_instances.hpp" #include "common_instances.hpp"
using F32 = float;
using F16 = ck::half_t;
using ADataType = F32; using ADataType = F32;
using BDataType = F32; using BDataType = F32;
using AccDataType = F32; using AccDataType = F32;
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
#include "common_instances.hpp" #include "common_instances.hpp"
using F64 = double;
using ADataType = F64; using ADataType = F64;
using BDataType = F64; using BDataType = F64;
using AccDataType = F64; using AccDataType = F64;
......
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
#include "common_instances.hpp" #include "common_instances.hpp"
using F32 = float;
using F64 = double;
using ADataType = F64; using ADataType = F64;
using BDataType = F64; using BDataType = F64;
using AccDataType = F32; using AccDataType = F32;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment