Comments (6)
Needs -std=c++11
.
(edit: for more info: https://en.wikipedia.org/wiki/C%2B%2B11#New_string_literals )
from tf-coriander.
I think this builds ok now in current tensorflow-cl
branch, is that a fair impression?
from tf-coriander.
It's cuda-on-cl related bug, my mistake. But it still fails even with -std=c++11
and updated tensorflow-cl and cuda-on-cl
/usr/lib/ccache/c++ -DUSE_CLEW -I/media/Compressed/Drivers_bios/src/dev/tensorflow-cl/third_party/cuda-on-cl/src/CLBlast/src -I/media/Compressed/Drivers_bios/src/dev/tensorflow-cl/third_party/cuda-on-cl/src -I/media/Compressed/Drivers_bios/src/dev/tensorflow-cl/third_party/cuda-on-cl/third_party/gtest -I/usr/lib/llvm-3.8/include -std=c++11 -fPIC -I/usr/lib/llvm-3.8/include -std=c++11 -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -ffunction-sections -fdata-sections -O2 -g -fexceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/cocl_unittests.dir/test/gtest/test_block_dumper.cpp.o -c /media/Compressed/Drivers_bios/src/dev/tensorflow-cl/third_party/cuda-on-cl/test/gtest/test_block_dumper.cpp
/media/Compressed/Drivers_bios/src/dev/tensorflow-cl/third_party/cuda-on-cl/test/gtest/test_block_dumper.cpp:246:24: warning: missing terminating " character
ASSERT_EQ(R"( v5 = (&((&mysharedmem)[0][0]));
^
/media/Compressed/Drivers_bios/src/dev/tensorflow-cl/third_party/cuda-on-cl/test/gtest/test_block_dumper.cpp:246:5: error: missing terminating " character
ASSERT_EQ(R"( v5 = (&((&mysharedmem)[0][0]));
^
$ /usr/lib/ccache/c++ -v
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
from tf-coriander.
from tf-coriander.
ccache was the reason - passing directly paths to gcc and g++ solved the problem
from tf-coriander.
Ah :-) Cool :-)
from tf-coriander.
Related Issues (20)
- macOs Sonoma 14.4.1 M2
- Simple benchmark in CPU mode runs order of magnitude longer than in normal TF on Mac
- Problems with build on macOS Sierra HOT 9
- How can I build with updated TensorFlow version
- [Feature Request] CMake Build
- R9 M370X run slower than i7, something wrong?
- Splits above 64 not allowed HOT 1
- install on amd gpu error
- when support tf1.8
- Trying to build for windows 10 HOT 3
- Porting to Tensorflow r1.11 HOT 14
- MacOS, broken on "py.test -v"
- Bazel version build bugs Mac OS High Sierra 10.13.6 HOT 1
- coriander failed to generate opencl HOT 9
- CROSSTOOL setup differences between earlier or later of Bazel 0.17.1 HOT 1
- With Java 9 the rt.jar is gone, and this breaks the make...
- Question about CLBlast tuning and execution
- ModuleNotFoundError: No module named '_pywrap_tensorflow' HOT 2
- Cannot import Keras HOT 1
- couldn't understand the installation process HOT 2
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 tf-coriander.