summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhonggui <hongguiyao@msn.com>2017-10-10 20:27:37 +0800
committerhonggui <hongguiyao@msn.com>2017-10-10 20:27:37 +0800
commita7de0cf2fdfea97c8c961ee096d2ae456f984191 (patch)
tree7ec23b6c02ad77e9e9908854e3596bffea1869cc
parentf56f0b325695180d1a3c020da76ba96d6202dc03 (diff)
downloadcaffeonacl-a7de0cf2fdfea97c8c961ee096d2ae456f984191.tar.gz
caffeonacl-a7de0cf2fdfea97c8c961ee096d2ae456f984191.tar.bz2
caffeonacl-a7de0cf2fdfea97c8c961ee096d2ae456f984191.zip
ACL concat function is not stable enough yet. Bypass it till the issue was fixed.
-rw-r--r--src/caffe/layers/acl_concat_layer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/caffe/layers/acl_concat_layer.cpp b/src/caffe/layers/acl_concat_layer.cpp
index f142d280..4750cb4b 100644
--- a/src/caffe/layers/acl_concat_layer.cpp
+++ b/src/caffe/layers/acl_concat_layer.cpp
@@ -9,7 +9,8 @@ template <typename Dtype>
void ACLConcatLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
ConcatLayer<Dtype>::LayerSetUp(bottom, top);
- this->force_bypass_acl_path_= bypass_acl_class_layer & FLAGS_ENABLE_ACL_CONCAT;
+ //this->force_bypass_acl_path_= bypass_acl_class_layer & FLAGS_ENABLE_ACL_CONCAT;
+ this->force_bypass_acl_path_= true;
}
template <typename Dtype>
void ACLConcatLayer<Dtype>::SetupACLLayer(const vector<Blob<Dtype>*>& bottom,