Skip to content

Commit

Permalink
fix Clang Format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
junliume committed Oct 9, 2023
1 parent 505f6ab commit c34c72a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/kernels/gpu_reference_kernel/naive_conv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ inline __device__ __host__ int8_t cast_to(const int32_t& val)
///
/// - strides here are stored right to left, i.e., for NHWC, stride for N is
/// at index 3 while stride for C is at index 0. This is different from how the
/// tensor descriptors store strides, which is always NCHW order, left-to-right.
/// tensor descriptors store strides, which is always NCHW order, left-to-right.

template <bool ASSUME_PACKED, typename src_data_t, typename acc_data_t, typename dst_data_t>
inline __device__ void naive_conv_fwd_nchw(const src_data_t* __restrict__ p_in,
Expand Down
2 changes: 1 addition & 1 deletion src/solver/conv_direct_naive_conv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ std::string ConvDirectNaiveConvKernelName(const ProblemDescription& problem)
std::ostringstream kernel_name;

/// \todo remove packed reference convolution kernels --amberhassaan
#ifndef NDEBUG// enable in debug mode only
#ifndef NDEBUG // enable in debug mode only
if(miopen::IsEnabled(MIOPEN_DEBUG_CONV_DIRECT_NAIVE_USE_PACKED_KERNELS()))
{
kernel_name << "naive_conv_packed_";
Expand Down

0 comments on commit c34c72a

Please sign in to comment.