*/
#include "convolution_kernel_bfyx_depthwise_weights_lwg.h"
-#include "kernel_selector_utils.h"
-
+
namespace kernel_selector
{
ParamsKey ConvolutionKernel_bfyx_depthwise_weights_lwg::GetSupportedKey() const
k.EnableSubGroup();
k.EnableSubGroupShort();
k.EnableDepthwiseSeparableOpt();
+ k.EnableDilation();
return k;
}
}
const convolution_params& cp = static_cast<const convolution_params&>(p);
- if (!cp.depthwiseSeparableOpt)
+ if (!cp.depthwise_separable_opt)
return false;
-
if ((cp.filterSize.x > 4) ||
(cp.filterSize.y > 4) ||
- (cp.inputs[0].Feature().v != cp.split))
+ ((cp.inputs[0].Feature().v != cp.split) && (cp.inputs[0].Feature().v != cp.groups)))
{
return false;
}
KernelsData ConvolutionKernel_bfyx_depthwise_weights_lwg::GetKernelsData(const Params& params, const optional_params& options) const
{
- return GetCommonKernelsData(params, options);
+ return GetTunedKernelsDataByIndex(params, options);
}
}
\ No newline at end of file