"examples/community/pipeline_stable_diffusion_pag.py" did not exist on "c0f5346a207bdbf1f7be0b3a539fefae89287ca4"
Commit 16595e96 authored by rocking's avatar rocking
Browse files

Add outputindex to base class

parent 9b22bdd9
......@@ -13,7 +13,7 @@ namespace ck {
namespace tensor_operation {
namespace device {
template <index_t InOutRank, index_t WindowRank, ReduceTensorOp ReduceOpId>
template <index_t InOutRank, index_t WindowRank, ReduceTensorOp ReduceOpId, bool OuputIndex>
struct DevicePoolFwd : public BaseOperator
{
virtual std::unique_ptr<BaseArgument>
......
......@@ -29,7 +29,8 @@ template <typename InDataType,
ck::index_t ReduceMThreadSliceSize,
ck::index_t ReduceKThreadSliceSize,
ck::index_t InSrcOutDstVectorSize>
struct DevicePool2dFwd_Input_N_Hi_Wi_C_Output_N_Ho_Wo_C : public DevicePoolFwd<5, 2, ReduceOpId>
struct DevicePool2dFwd_Input_N_Hi_Wi_C_Output_N_Ho_Wo_C
: public DevicePoolFwd<5, 2, ReduceOpId, OuputIndex>
{
static constexpr auto I0 = Number<0>{};
static constexpr auto I1 = Number<1>{};
......
......@@ -30,7 +30,7 @@ template <typename InDataType,
ck::index_t KThreadSliceSize,
ck::index_t InSrcOutDstVectorSize>
struct DevicePool3dFwd_Input_N_Di_Hi_Wi_C_Output_N_Do_Ho_Wo_C
: public DevicePoolFwd<5, 3, ReduceOpId>
: public DevicePoolFwd<5, 3, ReduceOpId, OuputIndex>
{
static constexpr auto I0 = Number<0>{};
static constexpr auto I1 = Number<1>{};
......
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