MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / gflops

Method gflops

src/client/clfunc_xtrmm.hpp:755–770  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

753
754template<>
755double
756xTrmm<cl_float2>::
757gflops()
758{
759 if (buffer_.side_ == clblasLeft)
760 {
761 return 4.0*buffer_.m_*(buffer_.m_+1)*buffer_.n_/time_in_ns();
762 // NOTE i already had my version of clfunc_common integrated, so i went
763 // ahead with that. i had a time_in_ns(), not a time_in_sec(),
764 // so i adjusted the formula accordingly
765 }
766 else
767 {
768 return 4.0*buffer_.m_*(buffer_.n_+1)*buffer_.n_/time_in_ns();
769 }
770}
771
772template<>
773double

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected