Add headers to build on OS X
authorKai Li <kaili_kloud@163.com>
Tue, 25 Mar 2014 04:03:06 +0000 (12:03 +0800)
committerKai Li <kaili_kloud@163.com>
Tue, 25 Mar 2014 04:03:06 +0000 (12:03 +0800)
include/caffe/vision_layers.hpp
src/caffe/layers/images_layer.cu
src/caffe/layers/window_data_layer.cu

index 74b27cc..a511f92 100644 (file)
@@ -12,6 +12,8 @@
 #include "boost/scoped_ptr.hpp"
 #include "hdf5.h"
 
+#include "caffe/blob.hpp"
+#include "caffe/common.hpp"
 #include "caffe/layer.hpp"
 #include "caffe/proto/caffe.pb.h"
 
index 7f67283..187be33 100644 (file)
@@ -1,5 +1,6 @@
 // Copyright 2013 Yangqing Jia
 
+#include <cuda_runtime.h>
 #include <stdint.h>
 #include <leveldb/db.h>
 #include <pthread.h>
@@ -9,6 +10,8 @@
 #include <iostream>  // NOLINT(readability/streams)
 #include <fstream>  // NOLINT(readability/streams)
 
+#include "caffe/blob.hpp"
+#include "caffe/common.hpp"
 #include "caffe/layer.hpp"
 #include "caffe/util/io.hpp"
 #include "caffe/vision_layers.hpp"
index bf33194..3994352 100644 (file)
@@ -2,6 +2,7 @@
 //
 // Based on data_layer.cpp by Yangqing Jia.
 
+#include <cuda_runtime.h>
 #include <stdint.h>
 #include <pthread.h>
 
@@ -16,6 +17,8 @@
 #include "opencv2/highgui/highgui.hpp"
 #include "opencv2/imgproc/imgproc.hpp"
 
+#include "caffe/blob.hpp"
+#include "caffe/common.hpp"
 #include "caffe/layer.hpp"
 #include "caffe/util/io.hpp"
 #include "caffe/vision_layers.hpp"