Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/FBGEMM.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaya S Khudia <dskhudia@fb.com>2018-12-06 00:09:55 +0300
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2018-12-06 00:14:50 +0300
commit8b3e0a742a88f8d3bb247839b1f3d36161a66b91 (patch)
tree4539eadf5ece1b7313276773c813a3353cc80a86
parentd5ff1fa847a3b4aab0eff547cb92bb76af99dac5 (diff)
File name change for FbgemmI8Depthwise.h and FbgemmI8Depthwise.cc (#14725)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/14725 Pull Request resolved: https://github.com/pytorch/FBGEMM/pull/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
-rw-r--r--CMakeLists.txt2
-rw-r--r--bench/Depthwise3DBenchmark.cc2
-rw-r--r--bench/DepthwiseBenchmark.cc2
-rw-r--r--src/FbgemmI8DepthwiseAvx2.cc (renamed from src/FbgemmI8Depthwise.cc)2
-rw-r--r--src/FbgemmI8DepthwiseAvx2.h (renamed from src/FbgemmI8Depthwise.h)0
-rw-r--r--test/I8DepthwiseTest.cc2
6 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bd211e0..0261bb3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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
@@ -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)
diff --git a/bench/Depthwise3DBenchmark.cc b/bench/Depthwise3DBenchmark.cc
index c65839b..63efc9d 100644
--- a/bench/Depthwise3DBenchmark.cc
+++ b/bench/Depthwise3DBenchmark.cc
@@ -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;
diff --git a/bench/DepthwiseBenchmark.cc b/bench/DepthwiseBenchmark.cc
index b922f90..13be6f6 100644
--- a/bench/DepthwiseBenchmark.cc
+++ b/bench/DepthwiseBenchmark.cc
@@ -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;
diff --git a/src/FbgemmI8Depthwise.cc b/src/FbgemmI8DepthwiseAvx2.cc
index d8fe3a8..4e60190 100644
--- a/src/FbgemmI8Depthwise.cc
+++ b/src/FbgemmI8DepthwiseAvx2.cc
@@ -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
diff --git a/src/FbgemmI8Depthwise.h b/src/FbgemmI8DepthwiseAvx2.h
index f0c21a6..f0c21a6 100644
--- a/src/FbgemmI8Depthwise.h
+++ b/src/FbgemmI8DepthwiseAvx2.h
diff --git a/test/I8DepthwiseTest.cc b/test/I8DepthwiseTest.cc
index f482783..7242b7a 100644
--- a/test/I8DepthwiseTest.cc
+++ b/test/I8DepthwiseTest.cc
@@ -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;