diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-07-18 19:36:18 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-07-18 19:40:33 -0700 |
commit | 491beb74cc5a08693d0b884d10532514ac1aef19 (patch) | |
tree | 6ef4b12d84de7c922816ee46c873b58a9fc5e203 /tensorflow/stream_executor/stream.cc | |
parent | 9293c557bd2df05658727418067ccee7a77a4be3 (diff) |
Automated g4 rollback of changelist 162423171
PiperOrigin-RevId: 162437318
Diffstat (limited to 'tensorflow/stream_executor/stream.cc')
-rw-r--r-- | tensorflow/stream_executor/stream.cc | 178 |
1 files changed, 0 insertions, 178 deletions
diff --git a/tensorflow/stream_executor/stream.cc b/tensorflow/stream_executor/stream.cc index c9b36ba7ab..5996195173 100644 --- a/tensorflow/stream_executor/stream.cc +++ b/tensorflow/stream_executor/stream.cc @@ -3458,184 +3458,6 @@ struct ThenBlasWithProfileImpl { }; } // anonymous namespace -Stream &Stream::ThenBlasGemvWithProfiling( - blas::Transpose trans, uint64 m, uint64 n, float alpha, - const DeviceMemory<float> &a, int lda, const DeviceMemory<float> &x, - int incx, float beta, DeviceMemory<float> *y, int incy, - blas::ProfileResult *output_profile_result) { - VLOG_CALL(PARAM(trans), PARAM(m), PARAM(n), PARAM(alpha), PARAM(a), - PARAM(lda), PARAM(x), PARAM(incx), PARAM(beta), PARAM(y), - PARAM(incy)); - - ThenBlasWithProfileImpl< - blas::Transpose, uint64, uint64, float, const DeviceMemory<float> &, int, - const DeviceMemory<float> &, int, float, DeviceMemory<float> *, int> - impl; - return impl(this, &blas::BlasSupport::DoBlasGemvWithProfiling, trans, m, n, - alpha, a, lda, x, incx, beta, y, incy, output_profile_result); -} - -Stream &Stream::ThenBlasGemvWithProfiling( - blas::Transpose trans, uint64 m, uint64 n, double alpha, - const DeviceMemory<double> &a, int lda, const DeviceMemory<double> &x, - int incx, double beta, DeviceMemory<double> *y, int incy, - blas::ProfileResult *output_profile_result) { - VLOG_CALL(PARAM(trans), PARAM(m), PARAM(n), PARAM(alpha), PARAM(a), - PARAM(lda), PARAM(x), PARAM(incx), PARAM(beta), PARAM(y), - PARAM(incy)); - - ThenBlasWithProfileImpl<blas::Transpose, uint64, uint64, double, - const DeviceMemory<double> &, int, - const DeviceMemory<double> &, int, double, - DeviceMemory<double> *, int> - impl; - return impl(this, &blas::BlasSupport::DoBlasGemvWithProfiling, trans, m, n, - alpha, a, lda, x, incx, beta, y, incy, output_profile_result); -} - -Stream &Stream::ThenBlasGemvWithProfiling( - blas::Transpose trans, uint64 m, uint64 n, std::complex<float> alpha, - const DeviceMemory<std::complex<float>> &a, int lda, - const DeviceMemory<std::complex<float>> &x, int incx, - std::complex<float> beta, DeviceMemory<std::complex<float>> *y, int incy, - blas::ProfileResult *output_profile_result) { - VLOG_CALL(PARAM(trans), PARAM(m), PARAM(n), PARAM(alpha), PARAM(a), - PARAM(lda), PARAM(x), PARAM(incx), PARAM(beta), PARAM(y), - PARAM(incy)); - - ThenBlasWithProfileImpl<blas::Transpose, uint64, uint64, std::complex<float>, - const DeviceMemory<std::complex<float>> &, int, - const DeviceMemory<std::complex<float>> &, int, - std::complex<float>, - DeviceMemory<std::complex<float>> *, int> - impl; - return impl(this, &blas::BlasSupport::DoBlasGemvWithProfiling, trans, m, n, - alpha, a, lda, x, incx, beta, y, incy, output_profile_result); -} - -Stream &Stream::ThenBlasGemvWithProfiling( - blas::Transpose trans, uint64 m, uint64 n, std::complex<double> alpha, - const DeviceMemory<std::complex<double>> &a, int lda, - const DeviceMemory<std::complex<double>> &x, int incx, - std::complex<double> beta, DeviceMemory<std::complex<double>> *y, int incy, - blas::ProfileResult *output_profile_result) { - VLOG_CALL(PARAM(trans), PARAM(m), PARAM(n), PARAM(alpha), PARAM(a), - PARAM(lda), PARAM(x), PARAM(incx), PARAM(beta), PARAM(y), - PARAM(incy)); - - ThenBlasWithProfileImpl<blas::Transpose, uint64, uint64, std::complex<double>, - const DeviceMemory<std::complex<double>> &, int, - const DeviceMemory<std::complex<double>> &, int, - std::complex<double>, - DeviceMemory<std::complex<double>> *, int> - impl; - return impl(this, &blas::BlasSupport::DoBlasGemvWithProfiling, trans, m, n, - alpha, a, lda, x, incx, beta, y, incy, output_profile_result); -} - -Stream &Stream::ThenBlasGemmWithProfiling( - blas::Transpose transa, blas::Transpose transb, uint64 m, uint64 n, - uint64 k, float alpha, const DeviceMemory<Eigen::half> &a, int lda, - const DeviceMemory<Eigen::half> &b, int ldb, float beta, - DeviceMemory<Eigen::half> *c, int ldc, - blas::ProfileResult *output_profile_result) { - VLOG_CALL(PARAM(transa), PARAM(transb), PARAM(m), PARAM(n), PARAM(k), - PARAM(alpha), PARAM(a), PARAM(lda), PARAM(b), PARAM(ldb), - PARAM(beta), PARAM(c), PARAM(ldc)); - - ThenBlasWithProfileImpl<blas::Transpose, blas::Transpose, uint64, uint64, - uint64, float, const DeviceMemory<Eigen::half> &, int, - const DeviceMemory<Eigen::half> &, int, float, - DeviceMemory<Eigen::half> *, int> - impl; - return impl(this, &blas::BlasSupport::DoBlasGemmWithProfiling, transa, transb, - m, n, k, alpha, a, lda, b, ldb, beta, c, ldc, - output_profile_result); -} - -Stream &Stream::ThenBlasGemmWithProfiling( - blas::Transpose transa, blas::Transpose transb, uint64 m, uint64 n, - uint64 k, float alpha, const DeviceMemory<float> &a, int lda, - const DeviceMemory<float> &b, int ldb, float beta, DeviceMemory<float> *c, - int ldc, blas::ProfileResult *output_profile_result) { - VLOG_CALL(PARAM(transa), PARAM(transb), PARAM(m), PARAM(n), PARAM(k), - PARAM(alpha), PARAM(a), PARAM(lda), PARAM(b), PARAM(ldb), - PARAM(beta), PARAM(c), PARAM(ldc)); - - ThenBlasWithProfileImpl<blas::Transpose, blas::Transpose, uint64, uint64, - uint64, float, const DeviceMemory<float> &, int, - const DeviceMemory<float> &, int, float, - DeviceMemory<float> *, int> - impl; - return impl(this, &blas::BlasSupport::DoBlasGemmWithProfiling, transa, transb, - m, n, k, alpha, a, lda, b, ldb, beta, c, ldc, - output_profile_result); -} - -Stream &Stream::ThenBlasGemmWithProfiling( - blas::Transpose transa, blas::Transpose transb, uint64 m, uint64 n, - uint64 k, double alpha, const DeviceMemory<double> &a, int lda, - const DeviceMemory<double> &b, int ldb, double beta, - DeviceMemory<double> *c, int ldc, - blas::ProfileResult *output_profile_result) { - VLOG_CALL(PARAM(transa), PARAM(transb), PARAM(m), PARAM(n), PARAM(k), - PARAM(alpha), PARAM(a), PARAM(lda), PARAM(b), PARAM(ldb), - PARAM(beta), PARAM(c), PARAM(ldc)); - - ThenBlasWithProfileImpl<blas::Transpose, blas::Transpose, uint64, uint64, - uint64, double, const DeviceMemory<double> &, int, - const DeviceMemory<double> &, int, double, - DeviceMemory<double> *, int> - impl; - return impl(this, &blas::BlasSupport::DoBlasGemmWithProfiling, transa, transb, - m, n, k, alpha, a, lda, b, ldb, beta, c, ldc, - output_profile_result); -} - -Stream &Stream::ThenBlasGemmWithProfiling( - blas::Transpose transa, blas::Transpose transb, uint64 m, uint64 n, - uint64 k, std::complex<float> alpha, - const DeviceMemory<std::complex<float>> &a, int lda, - const DeviceMemory<std::complex<float>> &b, int ldb, - std::complex<float> beta, DeviceMemory<std::complex<float>> *c, int ldc, - blas::ProfileResult *output_profile_result) { - VLOG_CALL(PARAM(transa), PARAM(transb), PARAM(m), PARAM(n), PARAM(k), - PARAM(alpha), PARAM(a), PARAM(lda), PARAM(b), PARAM(ldb), - PARAM(beta), PARAM(c), PARAM(ldc)); - - ThenBlasWithProfileImpl< - blas::Transpose, blas::Transpose, uint64, uint64, uint64, - std::complex<float>, const DeviceMemory<std::complex<float>> &, int, - const DeviceMemory<std::complex<float>> &, int, std::complex<float>, - DeviceMemory<std::complex<float>> *, int> - impl; - return impl(this, &blas::BlasSupport::DoBlasGemmWithProfiling, transa, transb, - m, n, k, alpha, a, lda, b, ldb, beta, c, ldc, - output_profile_result); -} - -Stream &Stream::ThenBlasGemmWithProfiling( - blas::Transpose transa, blas::Transpose transb, uint64 m, uint64 n, - uint64 k, std::complex<double> alpha, - const DeviceMemory<std::complex<double>> &a, int lda, - const DeviceMemory<std::complex<double>> &b, int ldb, - std::complex<double> beta, DeviceMemory<std::complex<double>> *c, int ldc, - blas::ProfileResult *output_profile_result) { - VLOG_CALL(PARAM(transa), PARAM(transb), PARAM(m), PARAM(n), PARAM(k), - PARAM(alpha), PARAM(a), PARAM(lda), PARAM(b), PARAM(ldb), - PARAM(beta), PARAM(c), PARAM(ldc)); - - ThenBlasWithProfileImpl< - blas::Transpose, blas::Transpose, uint64, uint64, uint64, - std::complex<double>, const DeviceMemory<std::complex<double>> &, int, - const DeviceMemory<std::complex<double>> &, int, std::complex<double>, - DeviceMemory<std::complex<double>> *, int> - impl; - return impl(this, &blas::BlasSupport::DoBlasGemmWithProfiling, transa, transb, - m, n, k, alpha, a, lda, b, ldb, beta, c, ldc, - output_profile_result); -} - Stream &Stream::ThenBlasGemmWithAlgorithm( blas::Transpose transa, blas::Transpose transb, uint64 m, uint64 n, uint64 k, const Eigen::half &alpha, const DeviceMemory<Eigen::half> &a, |