Skip to content

Commit

Permalink
File name change for FbgemmI8Depthwise.h and FbgemmI8Depthwise.cc (#1…
Browse files Browse the repository at this point in the history
…4725)

Summary:
Pull Request resolved: pytorch/pytorch#14725

Pull Request resolved: pytorch#33

Renaming FbgemmI8Depthwise.h to FbgemmI8DepthwiseAvx2.h and FbgemmI8Depthwise.cc to FbgemmI8DepthwiseAvx2.cc since FbgemmI8DepthwiseAvx2.cc will be compiled with avx2 flags

Reviewed By: jianyuh

Differential Revision: D13313898

fbshipit-source-id: a8111eacf3d79a466ce0565bfe5f2f0b200a5c33
  • Loading branch information
dskhudia authored and facebook-github-bot committed Dec 5, 2018
1 parent d5ff1fa commit 8b3e0a7
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ set(FBGEMM_GENERIC_SRCS src/ExecuteKernel.cc
src/Fbgemm.cc
src/FbgemmFP16.cc
src/FbgemmFP16UKernels.cc
src/FbgemmI8Depthwise.cc
src/FbgemmI8Spmdm.cc
src/GenerateKernelU8S8S32ACC16.cc
src/GenerateKernelU8S8S32ACC16_avx512.cc
Expand Down Expand Up @@ -65,6 +64,7 @@ endif()

#All the source files that either use avx2 instructions statically
set(FBGEMM_AVX2_SRCS
src/FbgemmI8DepthwiseAvx2.cc
src/OptimizedKernelsAvx2.cc
src/QuantUtilsAvx2.cc
src/Utils_avx2.cc)
Expand Down
2 changes: 1 addition & 1 deletion bench/Depthwise3DBenchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "AlignedVec.h"
#include "BenchUtils.h"
#include "fbgemm/Utils.h"
#include "src/FbgemmI8Depthwise.h"
#include "src/FbgemmI8DepthwiseAvx2.h"
#include "src/RefImplementations.h"

using namespace std;
Expand Down
2 changes: 1 addition & 1 deletion bench/DepthwiseBenchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "AlignedVec.h"
#include "BenchUtils.h"
#include "fbgemm/Utils.h"
#include "src/FbgemmI8Depthwise.h"
#include "src/FbgemmI8DepthwiseAvx2.h"
#include "src/RefImplementations.h"

using namespace std;
Expand Down
2 changes: 1 addition & 1 deletion src/FbgemmI8Depthwise.cc → src/FbgemmI8DepthwiseAvx2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "FbgemmI8Depthwise.h"
#include "FbgemmI8DepthwiseAvx2.h"

#include <cassert>
#include <cmath> // for lrintf and sqrt
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/I8DepthwiseTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "TestUtils.h"
#include "bench/AlignedVec.h"
#include "bench/BenchUtils.h"
#include "src/FbgemmI8Depthwise.h"
#include "src/FbgemmI8DepthwiseAvx2.h"
#include "src/RefImplementations.h"

using namespace std;
Expand Down

0 comments on commit 8b3e0a7

Please sign in to comment.