Skip to content

Split ImagesLayer and WindowDataLayer Forward_gpu into cu files#253

Merged
sergeyk merged 3 commits intoBVLC:devfrom
kloudkl:split_cu
Mar 25, 2014
Merged

Split ImagesLayer and WindowDataLayer Forward_gpu into cu files#253
sergeyk merged 3 commits intoBVLC:devfrom
kloudkl:split_cu

Conversation

@kloudkl
Copy link
Contributor

@kloudkl kloudkl commented Mar 24, 2014

Note that the WindowDataLayer was not tested or its tests were not commited.

@kloudkl kloudkl mentioned this pull request Mar 24, 2014
@sergeyk
Copy link
Contributor

sergeyk commented Mar 24, 2014

Thanks @kloudkl! Testing now, will merge when pass

@sergeyk
Copy link
Contributor

sergeyk commented Mar 24, 2014

Problem: does not build on my OS X 10.8 machine:

/usr/local/cuda/bin/nvcc -ccbin=/usr/bin/clang++ -Xcompiler -fPIC -DNDEBUG -O2 -DUSE_MKL -I/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I./src -I./include -I/usr/local/cuda/include -I/opt/intel/mkl/include -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -c src/caffe/layers/window_data_layer.cu -o build/src/caffe/layers/window_data_layer.cuo
/usr/bin/../lib/clang/5.1/include/xmmintrin.h(46): error: expression must have pointer-to-object type

@kloudkl
Copy link
Contributor Author

kloudkl commented Mar 25, 2014

It builds successfully with gcc on Ubuntu 12.04. Googling did not lead to a solution to the situation in question. To reproduce the error, I downloaded an OS X 10.8 iso and tried to install a VMware virtual machine. But the hardware seemed to be incompatible. So I can not debug it and guess that the problem was due to lack of headers.

@sergeyk
Copy link
Contributor

sergeyk commented Mar 25, 2014

The problem was the inclusion of opencv headers in window_data_layer.cu. Will merge manually.

@sergeyk sergeyk merged commit 62df365 into BVLC:dev Mar 25, 2014
@kloudkl kloudkl deleted the split_cu branch March 26, 2014 01:30
thatguymike pushed a commit to thatguymike/caffe that referenced this pull request Oct 25, 2016
…o-opencv

[DetectNetTransform] Build with GPU and w/o OpenCV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments