Comments (5)
Thanks, I fixed missing itoa.h reference.
Now, for g++ you need to add std=c++11 so g++ can understand auto keyword.
I do not test on a Linux box, but I think if you change Makefile line
nvcc = /usr/local/cuda/bin/nvcc --machine 64 -O3 -arch=sm_20 -c
to
nvcc = /usr/local/cuda/bin/nvcc --compiler-options std=c++11 --machine 64 -O3 -arch=sm_20 -c
then I think it should work.
Please let me know if it works.
from alenka.
No, it did not work:
/usr/local/cuda/bin/nvcc --compiler-options -std=c++11 --machine 64 -O3 -arch=sm_20 -c bison.cu
/usr/include/c++/4.7/x86_64-linux-gnu/bits/c++config.h(177): error: identifier "nullptr" is undefined
/usr/include/c++/4.7/x86_64-linux-gnu/bits/c++config.h(177): error: expected a ";"
/usr/include/c++/4.7/exception(65): error: expected a ";"
[...]
/usr/include/c++/4.7/bits/cpp_type_traits.h(315): error: expected a ">"
Segmentation fault
make: *** [bison.o] Error 139
from alenka.
Looks like CUDA doesn't support certain C++ 11 features in gcc :
http://stackoverflow.com/questions/12073828/c-version-supported-by-cuda-5-0
So I removed C++ 11 features from the alenka source code.
Let me know if it works for you now.
from alenka.
Sorry, but there are still compilation errors:
bison.y(1092): error: namespace "std" has no member "to_string"
bison.y(1108): error: namespace "std" has no member "to_string"
bison.y(2344): error: namespace "std" has no member "to_string"
3 errors detected in the compilation of "/tmp/tmpxft_000042e3_00000000-6_bison.cpp1.ii".
make: *** [bison.o] Error 2
from alenka.
Can you try compiling it with --compiler-options std=c++11 ?
from alenka.
Related Issues (20)
- Device Errors HOT 5
- Loading error HOT 2
- Alenka unable to find a table HOT 1
- trivial_copy_n: an illegal memory access was encountered HOT 14
- Project license? HOT 2
- What is the syntax for appending data into a table? HOT 1
- Data partitioning architecture HOT 12
- OpenCL port HOT 4
- Compilation on Windows HOT 2
- Generic Interface for Storage Behavior Layout HOT 1
- Compilation time very long HOT 4
- Benchmarking HOT 3
- License? HOT 1
- Compile problem for strings_sort_device.cu HOT 4
- Is this project live? HOT 1
- Out of memory error HOT 3
- Compile problem HOT 1
- Hardware spec HOT 4
- Case sensitive columns HOT 1
- mgpu::cuda_exception_t "Invalid device function" exception HOT 6
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 alenka.