| 159 | } |
| 160 | |
| 161 | LocalShareForward::Algorithm* LocalShareForwardImpl::get_algorithm_heuristic( |
| 162 | const TensorLayout& /* src */, const TensorLayout& /* diff */, |
| 163 | const TensorLayout& /* grad */, size_t /* workspace_limit_in_bytes */, |
| 164 | const AlgoAttribute& positive_attr, const AlgoAttribute& negative_attr) { |
| 165 | auto algo = static_cast<HandleImpl*>(handle())->default_local_share_fwd_algo(); |
| 166 | algo->check_attribute(positive_attr, negative_attr); |
| 167 | return algo; |
| 168 | } |
| 169 | |
| 170 | LocalShareForward::Algorithm* LocalShareForwardImpl::get_algorithm_from_desc( |
| 171 | const AlgorithmDesc& desc) { |
nothing calls this directly
no test coverage detected