forked from pytorch/FBGEMM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add avx512 support for groupConv (pytorch#422)
Summary: Pull Request resolved: pytorch#422 add the avx512 features for groupconv due to multiple back-and-forths of hhvm compiler avx52 dependency removal. Reviewed By: dskhudia Differential Revision: D23436486 fbshipit-source-id: 7ef1c206e067038ccf1afcc8df6db388ff889070
- Loading branch information
1 parent
a591925
commit d5ace7c
Showing
11 changed files
with
1,492 additions
and
355 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* All rights reserved. | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
#pragma once | ||
|
||
#include <cstdint> | ||
#include "./FbgemmBuild.h" | ||
#include "./UtilsAvx2.h" | ||
|
||
namespace fbgemm { | ||
template < | ||
bool A_SYMMETRIC, | ||
bool B_SYMMETRIC, | ||
QuantizationGranularity Q_GRAN, | ||
bool HAS_BIAS, | ||
bool FUSE_RELU, | ||
int C_PER_G, | ||
typename BIAS_TYPE = std::int32_t> | ||
FBGEMM_API void requantizeOutputProcessingGConvAvx512( | ||
std::uint8_t* out, | ||
const std::int32_t* inp, | ||
const block_type_t& block, | ||
int ld_out, | ||
int ld_in, | ||
const requantizationParams_t<BIAS_TYPE>& r); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.