currently errors with:
cd /build/source/build/src/tf && /nix/store/pbmzp0a639n7bgch2ayainja9bvhfri9-clr-7.0.2/bin/amdclang++ -isystem /build/source/build/src/tf -isystem /nix/store/kiqarh0s4z2kcd7p3sq049kcc85syww8-protobuf-32.1/inclu>
In file included from /build/source/build/src/onnx/onnx.pb.cc:6:
In file included from /build/source/build/src/onnx/onnx.pb.h:20:
/nix/store/kiqarh0s4z2kcd7p3sq049kcc85syww8-protobuf-32.1/include/google/protobuf/io/coded_stream.h:101:10: fatal error: 'absl/base/optimization.h' file not found
101 | #include "absl/base/optimization.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
[ 5%] Building CXX object src/targets/gpu/CMakeFiles/embed_lib_migraphx_kernels.dir/migraphx/kernels/copy.hpp.cpp.o
cd /build/source/build/src/targets/gpu && /nix/store/pbmzp0a639n7bgch2ayainja9bvhfri9-clr-7.0.2/bin/amdclang++ -I/build/source/build/src/targets/gpu/embed/migraphx_kernels/include -w -isystem/nix/store/46my897r>
In file included from /build/source/build/src/tf/graph.pb.cc:6:
In file included from /build/source/build/src/tf/graph.pb.h:20:
/nix/store/kiqarh0s4z2kcd7p3sq049kcc85syww8-protobuf-32.1/include/google/protobuf/io/coded_stream.h:101:10: fatal error: 'absl/base/optimization.h' file not found
101 | #include "absl/base/optimization.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
A comment in src/targets/gpu/kernels/include/migraphx/kernels/bit.hpp
contains a Unicode MINUS SIGN instead of ASCII hyphen:
// popcount(~(x | −x))
When EMBED_USE=CArrays, the cmake Embed.cmake mechanism reads source
files as hex and generates char[] arrays. The UTF-8 encoding of U+2212
(0xe2 0x88 0x92) causes a compile error:
constant expression evaluates to 226 which cannot be narrowed
to type 'char' [-Wc++11-narrowing]