Paddle Class template CBlas declared but not used

cbwuti44  于 2021-11-30  发布在  Java
关注(0)|答案(1)|浏览(340)

Paddle/paddle/fluid/operators/math/blas_impl.h

Lines 22 to 30 in 8133736

| | template |
| | structCBlas; |
| | |
| | #ifdef PADDLE_WITH_MKLML |
| | template<> |
| | structCBlas { |
| | template<typename... ARGS> |
| | staticvoidGEMM(ARGS... args) { |
| | platform::dynload::cblas_sgemm(args...); |

It seems that

  1. CBlas is declared here, but not defined -- CBlas; instead of CBlas {};.
  2. There is no use of CBlas throughout Fluid codebase.

Should we remove it?

相关问题