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

github.com/marian-nmt/intgemm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Chudyk <mateuszchudyk@gmail.com>2019-06-21 19:05:54 +0300
committerMateusz Chudyk <mateuszchudyk@gmail.com>2019-06-25 15:34:05 +0300
commit87300766c10c4f953908735f69fcfd3a9e14fe1e (patch)
tree88d1ec7eee1a3271930c822ec6ce6e5eb50fd166
parent6bf212836130ba2c59dd845946051deeef4ad09f (diff)
Remove unused Identity postprocess
-rw-r--r--postprocess.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/postprocess.h b/postprocess.h
index ad9c290..99ebc8f 100644
--- a/postprocess.h
+++ b/postprocess.h
@@ -75,50 +75,6 @@ private:
};
/*
- * Identity
- */
-class Identity {};
-
-template <>
-class PostprocessImpl<Identity, CPUType::SSE2> {
-public:
- using InputRegister = RegisterPair128i;
- using OutputRegister = RegisterPair128i;
-
- PostprocessImpl(const Identity& config) {}
-
- INTGEMM_SSE2 inline OutputRegister run(InputRegister input, Index offset) {
- return input;
- }
-};
-
-template <>
-class PostprocessImpl<Identity, CPUType::AVX2> {
-public:
- using InputRegister = __m256i;
- using OutputRegister = __m256i;
-
- PostprocessImpl(const Identity& config) {}
-
- INTGEMM_AVX2 inline OutputRegister run(InputRegister input, Index offset) {
- return input;
- }
-};
-
-template <>
-class PostprocessImpl<Identity, CPUType::AVX512BW> {
-public:
- using InputRegister = __m512i;
- using OutputRegister = __m512i;
-
- PostprocessImpl(const Identity& config) {}
-
- INTGEMM_AVX512BW inline OutputRegister run(InputRegister input, Index offset) {
- return input;
- }
-};
-
-/*
* Add a bias term
*/
class AddBias {