| 50 | workspace{workspace} {} |
| 51 | |
| 52 | std::string ConvolutionForwardImpl::AlgoBase::SizeArgs::to_string() const { |
| 53 | auto&& fm = filter_meta; |
| 54 | MEGDNN_MARK_USED_VAR(fm); |
| 55 | return ssprintf( |
| 56 | "src=%s, filter=%u{%u,%u,%u,%u}, dst=%s, " |
| 57 | "pad=%ux%u, stride=%ux%u, dilate=%ux%u, xcorr=%d, dtype=%s,%s", |
| 58 | src_layout->to_string().c_str(), fm.group, fm.ocpg, fm.icpg, fm.spatial[0], |
| 59 | fm.spatial[1], dst_layout->to_string().c_str(), fm.padding[0], |
| 60 | fm.padding[1], fm.stride[0], fm.stride[1], fm.dilation[0], fm.dilation[1], |
| 61 | !fm.should_flip, src_layout->dtype.name(), dst_layout->dtype.name()); |
| 62 | } |
| 63 | |
| 64 | convolution::MIOpenCacheKey ConvolutionForwardImpl::AlgoBase::SizeArgs:: |
| 65 | to_miopen_algo_cache_key() const { |
no test coverage detected