| 310 | } |
| 311 | |
| 312 | bool IsGpuCompatibleMatMul(const RemapperContext& ctx, |
| 313 | const NodeDef* matmul) { |
| 314 | DCHECK(IsMatMul(*matmul)) << "Expected MatMul op"; |
| 315 | return BlasLtMatmulEnabled() && NodeIsOnGpu(matmul) && |
| 316 | IsGpuCompatibleDataType(matmul); |
| 317 | } |
| 318 | |
| 319 | bool IsCpuCompatibleMatMul(const NodeDef* matmul) { |
| 320 | DCHECK(IsMatMul(*matmul)) << "Expected MatMul op"; |
no test coverage detected