Comments (3)
The original error I used to get was
CXX src/caffe/layer.cpp CXX src/caffe/data_transformer.cpp CXX src/caffe/util/db_lmdb.cpp CXX src/caffe/util/blocking_queue.cpp CXX src/caffe/util/hdf5.cpp CXX src/caffe/util/math_functions.cpp CXX src/caffe/util/signal_handler.cpp CXX src/caffe/util/benchmark.cpp In file included from src/caffe/util/hdf5.cpp:1: In file included from ./include/caffe/util/hdf5.hpp:9: In file included from ./include/caffe/blob.hpp:8: In file included from ./include/caffe/common.hpp:19: In file included from ./include/caffe/util/device_alternate.hpp:48: ./include/caffe/util/cudnn.hpp:6:10: fatal error: 'miopen.h' file not found #include <miopen.h> ^~~~~~~~~~ 1 error generated. Died at /opt/rocm/bin/hipcc line 452. Makefile:624: recipe for target '.build_release/src/caffe/util/hdf5.o' failed make: *** [.build_release/src/caffe/util/hdf5.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from src/caffe/util/db_lmdb.cpp:2: In file included from ./include/caffe/util/db_lmdb.hpp:10: In file included from ./include/caffe/util/db.hpp:6: In file included from ./include/caffe/common.hpp:19: In file included from ./include/caffe/util/device_alternate.hpp:48: ./include/caffe/util/cudnn.hpp:6:10: fatal error: 'miopen.h' file not found #include <miopen.h> ^~~~~~~~~~ 1 error generated. Died at /opt/rocm/bin/hipcc line 452. Makefile:624: recipe for target '.build_release/src/caffe/util/db_lmdb.o' failed make: *** [.build_release/src/caffe/util/db_lmdb.o] Error 1 In file included from src/caffe/util/signal_handler.cpp:7: In file included from ./include/caffe/util/signal_handler.h:5: In file included from ./include/caffe/solver.hpp:7: In file included from ./include/caffe/net.hpp:10: In file included from ./include/caffe/blob.hpp:8: In file included from ./include/caffe/common.hpp:19: In file included from ./include/caffe/util/device_alternate.hpp:48: ./include/caffe/util/cudnn.hpp:6:10: fatal error: 'miopen.h' file not found #include <miopen.h> ^~~~~~~~~~ 1 error generated. Died at /opt/rocm/bin/hipcc line 452. Makefile:624: recipe for target '.build_release/src/caffe/util/signal_handler.o' failed make: *** [.build_release/src/caffe/util/signal_handler.o] Error 1 In file included from src/caffe/data_transformer.cpp:8: In file included from ./include/caffe/data_transformer.hpp:6: In file included from ./include/caffe/blob.hpp:8: In file included from ./include/caffe/common.hpp:19: In file included from ./include/caffe/util/device_alternate.hpp:48: ./include/caffe/util/cudnn.hpp:6:10: fatal error: 'miopen.h' file not found #include <miopen.h> ^~~~~~~~~~ 1 error generated. Died at /opt/rocm/bin/hipcc line 452. Makefile:624: recipe for target '.build_release/src/caffe/data_transformer.o' failed make: *** [.build_release/src/caffe/data_transformer.o] Error 1 In file included from src/caffe/util/math_functions.cpp:21: In file included from ./include/caffe/common.hpp:19: In file included from ./include/caffe/util/device_alternate.hpp:48: ./include/caffe/util/cudnn.hpp:6:10: fatal error: 'miopen.h' file not found #include <miopen.h> ^~~~~~~~~~ 1 error generated. Died at /opt/rocm/bin/hipcc line 452. Makefile:624: recipe for target '.build_release/src/caffe/util/math_functions.o' failed make: *** [.build_release/src/caffe/util/math_functions.o] Error 1 In file included from src/caffe/util/benchmark.cpp:3: In file included from ./include/caffe/common.hpp:19: In file included from ./include/caffe/util/device_alternate.hpp:48: ./include/caffe/util/cudnn.hpp:6:10: fatal error: 'miopen.h' file not found #include <miopen.h> ^~~~~~~~~~ 1 error generated. Died at /opt/rocm/bin/hipcc line 452. Makefile:624: recipe for target '.build_release/src/caffe/util/benchmark.o' failed make: *** [.build_release/src/caffe/util/benchmark.o] Error 1 In file included from src/caffe/layer.cpp:2: In file included from ./include/caffe/layer.hpp:8: In file included from ./include/caffe/blob.hpp:8: In file included from ./include/caffe/common.hpp:19: In file included from ./include/caffe/util/device_alternate.hpp:48: ./include/caffe/util/cudnn.hpp:6:10: fatal error: 'miopen.h' file not found #include <miopen.h> ^~~~~~~~~~ 1 error generated. Died at /opt/rocm/bin/hipcc line 452. Makefile:624: recipe for target '.build_release/src/caffe/layer.o' failed make: *** [.build_release/src/caffe/layer.o] Error 1 In file included from src/caffe/util/blocking_queue.cpp:4: In file included from ./include/caffe/data_reader.hpp:8: In file included from ./include/caffe/common.hpp:19: In file included from ./include/caffe/util/device_alternate.hpp:48: ./include/caffe/util/cudnn.hpp:6:10: fatal error: 'miopen.h' file not found #include <miopen.h> ^~~~~~~~~~ 1 error generated. Died at /opt/rocm/bin/hipcc line 452. Makefile:624: recipe for target '.build_release/src/caffe/util/blocking_queue.o' failed make: *** [.build_release/src/caffe/util/blocking_queue.o] Error 1
so I sym linked all the header files in /opt/rocm/miopen and etc to /usr/include.
then the resulting error looked like my original question.
from miopen.
Fixed after using hipCaffe-developer branch
from miopen.
cc\ @parallelo
@snumed thanks. We also merged the hip-develop
branch to hip
branch on our end. So you can now use the hip
branch.
Closing this issue as it was not a MIOpen issue per-se.
from miopen.
Related Issues (20)
- Unable to builld MIOpen from source on SLES HOT 1
- [XNACK] GPU is asleep during the copy and not waking back up when it should. HOT 7
- Build failure Unable to found boost_filesystem HOT 2
- Reproduce kernel cache binary files in MIOpen HOT 1
- [urgent] HipBuildImpl() seems fail to create temp dir or due to no GPU presents in build env HOT 6
- [WA] re-enable conv_hip_implicit_gemm_grouped_bwd_xdlops after kernel dev work
- Softmax invoking FP16 kernel for FP32 input
- [GEMM group conv] Incorrect GPU time when GemmBwd1x1_stride1 and GemmFwd1x1_0_1 are invoked in "Run" mode. HOT 1
- [URGENT] error: no member named 'for_each_n' in namespace 'std' HOT 5
- Excessive warning messages on workspace provided and required (IsEnoughWorkspace) after #2947 HOT 3
- Build process, which to follow? HOT 1
- [Windows] graphapi gtests are not compiling due to missing class methods HOT 2
- Regenerating KDB in the `develop` branch is currently not possible. HOT 2
- MIOpen unit test link issue : ld.lld: error: undefined symbol: dladdr and undefined reference due to --no-allow-shlib-undefined HOT 5
- naive_conv_nonpacked_fwd_nchw_half_double_half in KDB cache breaks after #2863 HOT 5
- Tip of `develop` branch fail to build on older Linux distributions HOT 8
- Remove `setEnvironmentVariable` from the tests and use `env::update(VAR, value)` instead. HOT 3
- Enable hipBLASLt as an optional backend for MIOpen GEMM kernels, and make it the default option for RNN's using half precision HOT 1
- Bring back std::unordered_map to old systems HOT 2
- [SLES][RHEL8] error: no member named 'exclusive_scan' in namespace 'std HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miopen.