Commit dfbb659a authored by Chao Liu's avatar Chao Liu
Browse files

upate contraction example

parent 809799bf
...@@ -43,14 +43,14 @@ struct DeviceContractionMultipleD : public BaseOperator ...@@ -43,14 +43,14 @@ struct DeviceContractionMultipleD : public BaseOperator
const void* p_b, const void* p_b,
std::array<const void*, NumDTensor> p_ds, std::array<const void*, NumDTensor> p_ds,
void* p_e, void* p_e,
std::vector<index_t> a_ms_ks_lengths, const std::vector<index_t>& a_ms_ns_lengths,
std::vector<index_t> a_ms_ks_strides, const std::vector<index_t>& a_ms_ks_strides,
std::vector<index_t> b_ns_ks_lengths, const std::vector<index_t>& b_ns_ks_lengths,
std::vector<index_t> b_ns_ks_strides, const std::vector<index_t>& b_ns_ks_strides,
std::array<std::vector<index_t>, NumDTensor> ds_ms_ns_lengths, const std::array<std::vector<index_t>, NumDTensor>& ds_ms_ns_lengths,
std::array<std::vector<index_t>, NumDTensor> ds_ms_ns_strides, const std::array<std::vector<index_t>, NumDTensor>& ds_ms_ns_strides,
std::vector<index_t> e_ms_ns_lengths, const std::vector<index_t>& e_ms_ns_lengths,
std::vector<index_t> e_ms_ns_strides, const std::vector<index_t>& e_ms_ns_strides,
AElementwiseOperation a_element_op, AElementwiseOperation a_element_op,
BElementwiseOperation b_element_op, BElementwiseOperation b_element_op,
CDEElementwiseOperation cde_element_op) = 0; CDEElementwiseOperation cde_element_op) = 0;
......
...@@ -434,9 +434,7 @@ struct DeviceGemmMultipleD_Xdl_CShuffle : public DeviceGemmMultipleD<ALayout, ...@@ -434,9 +434,7 @@ struct DeviceGemmMultipleD_Xdl_CShuffle : public DeviceGemmMultipleD<ALayout,
CDEElementwiseOperation, CDEElementwiseOperation,
DeviceOp::AGridDesc_AK0_M_AK1, DeviceOp::AGridDesc_AK0_M_AK1,
DeviceOp::BGridDesc_BK0_N_BK1, DeviceOp::BGridDesc_BK0_N_BK1,
ck::StaticallyIndexedArray< typename GridwiseGemm::DsGridDescriptor_MBlock_MPerBlock_NBlock_NPerBlock,
typename GridwiseGemm::EGridDescriptor_MBlock_MPerBlock_NBlock_NPerBlock,
NumDTensor>,
typename GridwiseGemm::EGridDescriptor_MBlock_MPerBlock_NBlock_NPerBlock, typename GridwiseGemm::EGridDescriptor_MBlock_MPerBlock_NBlock_NPerBlock,
typename GridwiseGemm::DefaultBlock2ETileMap, typename GridwiseGemm::DefaultBlock2ETileMap,
has_main_loop>; has_main_loop>;
......
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