mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
seperate mkl, mklml, and mkldnn (#12170)
Summary: 1. Remove avx2 support in mkldnn 2. Seperate mkl, mklml, and mkldnn 3. Fix convfusion test case Pull Request resolved: https://github.com/pytorch/pytorch/pull/12170 Reviewed By: yinghai Differential Revision: D10207126 Pulled By: orionr fbshipit-source-id: 1e62eb47943f426a89d57e2d2606439f2b04fd51
This commit is contained in:
committed by
Facebook Github Bot
parent
bb96b6635c
commit
dbab9b73b6
@ -15,14 +15,14 @@
|
||||
*/
|
||||
|
||||
#include "batch_permutation_op.h"
|
||||
#ifdef CAFFE2_USE_IDEEP
|
||||
#ifdef CAFFE2_USE_MKLDNN
|
||||
#include <caffe2/ideep/operators/operator_fallback_ideep.h>
|
||||
#include <caffe2/ideep/utils/ideep_operator.h>
|
||||
#endif
|
||||
|
||||
namespace caffe2 {
|
||||
|
||||
#ifdef CAFFE2_USE_IDEEP
|
||||
#ifdef CAFFE2_USE_MKLDNN
|
||||
REGISTER_IDEEP_OPERATOR(
|
||||
BatchPermutation,
|
||||
IDEEPFallbackOp<BatchPermutationOp<float, CPUContext>>);
|
||||
|
@ -15,13 +15,13 @@
|
||||
*/
|
||||
|
||||
#include "upsample_nearest_op.h"
|
||||
#ifdef CAFFE2_USE_IDEEP
|
||||
#ifdef CAFFE2_USE_MKLDNN
|
||||
#include "caffe2/ideep/operators/operator_fallback_ideep.h"
|
||||
#include "caffe2/ideep/utils/ideep_operator.h"
|
||||
#endif
|
||||
|
||||
namespace caffe2 {
|
||||
#ifdef CAFFE2_USE_IDEEP
|
||||
#ifdef CAFFE2_USE_MKLDNN
|
||||
REGISTER_IDEEP_OPERATOR(
|
||||
UpsampleNearest,
|
||||
IDEEPFallbackOp<UpsampleNearestOp<float, CPUContext>>);
|
||||
|
Reference in New Issue
Block a user