Skip to content

Commit

Permalink
Cleanup cuda dnn/blas to match internal formatting - NFC
Browse files Browse the repository at this point in the history
  • Loading branch information
nluehr committed Dec 22, 2021
1 parent 27dfc2c commit e430910
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tensorflow/stream_executor/cuda/cuda_blas.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ limitations under the License.

#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "third_party/eigen3/Eigen/Core"
#include "tensorflow/core/util/env_var.h"
#include "tensorflow/stream_executor/cuda/cuda_activation.h"
#include "tensorflow/stream_executor/cuda/cuda_gpu_executor.h"
Expand All @@ -69,6 +68,7 @@ limitations under the License.
#include "tensorflow/stream_executor/plugin_registry.h"
#include "tensorflow/stream_executor/scratch_allocator.h"
#include "tensorflow/stream_executor/stream_executor.h"
#include "third_party/eigen3/Eigen/Core"

namespace stream_executor {
namespace gpu {
Expand Down Expand Up @@ -396,7 +396,7 @@ cudaDataType_t CUDAComputationType(blas::ComputationType ty) {
} // namespace

template <typename FuncT, typename... Args>
bool CUDABlas::DoBlasInternalImpl(FuncT cublas_func, Stream *stream,
bool CUDABlas::DoBlasInternalImpl(FuncT cublas_func, Stream* stream,
bool pointer_mode_host, bool err_on_failure,
bool use_tensor_op_math, Args... args) {
absl::MutexLock lock(&mu_);
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/stream_executor/cuda/cuda_blas.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class CUDABlas : public blas::BlasSupport {
// err_on_failure: Whether to print an error if the cublas function fails.
// args: Arguments of cuBLAS function.
template <typename FuncT, typename... Args>
bool DoBlasInternalImpl(FuncT cublas_func, Stream *stream,
bool DoBlasInternalImpl(FuncT cublas_func, Stream* stream,
bool pointer_mode_host, bool err_on_failure,
bool use_tensor_op_math, Args... args);

Expand Down
2 changes: 1 addition & 1 deletion tensorflow/stream_executor/cuda/cuda_dnn.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ limitations under the License.
#include <regex>

#include "absl/strings/str_cat.h"
#include "third_party/eigen3/Eigen/Core"
#include "tensorflow/core/lib/core/errors.h"
#include "tensorflow/core/util/env_var.h"
#include "tensorflow/stream_executor/cuda/cuda_activation.h"
Expand All @@ -44,6 +43,7 @@ limitations under the License.
#include "tensorflow/stream_executor/scratch_allocator.h"
#include "tensorflow/stream_executor/stream.h"
#include "tensorflow/stream_executor/stream_executor_pimpl.h"
#include "third_party/eigen3/Eigen/Core"
// clang-format off
#include "third_party/gpus/cudnn/cudnn.h"
#if CUDNN_VERSION >= 8100
Expand Down

0 comments on commit e430910

Please sign in to comment.