Skip to content

Instantly share code, notes, and snippets.

@bddppq
Created May 18, 2018 21:38
Show Gist options
  • Save bddppq/0da7f5053b08a578b883fb81fe25ff3c to your computer and use it in GitHub Desktop.
Save bddppq/0da7f5053b08a578b883fb81fe25ff3c to your computer and use it in GitHub Desktop.
# /opt/rocm/bin/hcc -DNDEBUG -Dcaffe2_hip_EXPORTS -I/code/build -I/code -isystem /code/build/third_party/gloo -isystem /code/third_party/gloo -I/code/third_party/protobuf/src -I/code/third_party/googletest/googletest/include -I/code/third_party/benchmark/include -I/usr/include/opencv -I/code/third_party/eigen -I/usr/include/python3.6m -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/code/third_party/pybind11/include -I/data/Thrust -I/data/Thrust/thrust/system/cuda/detail/cub-hip -I/code/third_party/onnx -I/code/build/third_party/onnx -isystem /opt/rocm/hip/include -isystem /opt/rocm/rocrand/include -isystem /opt/rocm/hiprand/include -I/opt/rocm/miopen/include -I/code/caffe2/core/nomnigraph/include -isystem /opt/rocm/hsa/include -isystem /opt/rocm/hcc/include -isystem /opt/rocm/include -fvisibility-inlines-hidden -DONNX_NAMESPACE=onnx_c2 -O2 -fPIC -Wno-narrowing -Wno-invalid-partial-specialization -O3 -DNDEBUG -fPIC -D__HIP_PLATFORM_HCC__=1 -std=c++11 -hc -fPIC -std=gnu++11 -o CMakeFiles/caffe2_hip.dir/core/event_hip.cc.o -c /code/caffe2/core/event_hip.cc
In file included from /code/caffe2/core/event_hip.cc:1:
/code/caffe2/core/context_hip.h:150:13: warning: '~HIPContext' has a non-throwing exception specification but can still throw [-Wexceptions]
HIPRAND_ENFORCE(hiprandDestroyGenerator(hiprand_generator_));
^
/code/caffe2/core/common_hip.h:166:9: note: expanded from macro 'HIPRAND_ENFORCE'
CAFFE_ENFORCE_EQ(status, \
^
/code/caffe2/core/logging.h:278:3: note: expanded from macro 'CAFFE_ENFORCE_EQ'
CAFFE_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__)
^
/code/caffe2/core/logging.h:248:7: note: expanded from macro 'CAFFE_ENFORCE_THAT_IMPL'
throw ::caffe2::EnforceNotMet( \
^
/code/caffe2/core/context_hip.h:146:5: note: destructor has a implicit non-throwing exception specification
~HIPContext()
^
1 warning generated.
clang-7.0: warning: argument unused during compilation: '-isystem /code/build/third_party/gloo' [-Wunused-command-line-argument]
clang-7.0: warning: argument unused during compilation: '-isystem /code/third_party/gloo' [-Wunused-command-line-argument]
clang-7.0: warning: argument unused during compilation: '-isystem /opt/rocm/hip/include' [-Wunused-command-line-argument]
clang-7.0: warning: argument unused during compilation: '-isystem /opt/rocm/rocrand/include' [-Wunused-command-line-argument]
clang-7.0: warning: argument unused during compilation: '-isystem /opt/rocm/hiprand/include' [-Wunused-command-line-argument]
clang-7.0: warning: argument unused during compilation: '-isystem /opt/rocm/hsa/include' [-Wunused-command-line-argument]
clang-7.0: warning: argument unused during compilation: '-isystem /opt/rocm/hcc/include' [-Wunused-command-line-argument]
clang-7.0: warning: argument unused during compilation: '-isystem /opt/rocm/include' [-Wunused-command-line-argument]
In file included from /code/caffe2/core/event_hip.cc:1:
In file included from /code/caffe2/core/context_hip.h:5:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/mutex:38:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/tuple:38:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/utility:70:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_pair.h:59:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/move.h:57:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:311:39: error: __float128 is not supported on this target
struct __is_floating_point_helper<__float128>
^
1 error generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment