Comments (8)
can you try with appending -lc++ -lc++abi
to your compile command?
from opencl-clhpp.
No this did not work. It fails already in the compilation phase. If I do not define CL_HPP_ENABLE_EXCEPTIONS it compiles okay.
from opencl-clhpp.
mingw 6.3 and msvc 2015 compile okay and fail to run ... https://www.khronos.org/bugzilla/show_bug.cgi?id=1937
from opencl-clhpp.
Are there any updates on this? I am hitting the same issue
from opencl-clhpp.
I've finally got round to trying this, but I'm unable to reproduce the issue on Debian or macOS, at least with the versions of libc++ that are packaged with them.
The version that ships with Ubuntu 14.04 is pretty ancient (svn199600 - from Jan 2014), so this could just be a bug in that version of libc++. If anyone who has this issue is able to try and more recent version of libc++ to confirm that would be very useful (I don't have any old machines running Ubuntu 14.04 right now).
from opencl-clhpp.
Is this fixed?
from opencl-clhpp.
Is this fixed?
See my comment above - I can't reproduce this with recent versions of libc++, so likely to be a bug in older versions.
from opencl-clhpp.
Closing as this appears to be a bug in an old version of libc++, not the headers themselves. If anyone encounters this with a recent version of libc++, please open a new issue.
from opencl-clhpp.
Related Issues (20)
- Trivial example fails HOT 3
- Add support for cl_command_buffer_khr
- MacOS CI builds are broken
- A curious name collision bug HOT 9
- how to handle extension API function pointers
- Semaphore support breaks compilation with clang HOT 1
- `cl_image_desc desc = {0}` is not valid C++ zero initialization. HOT 2
- Command Buffer Extension API Corner Cases HOT 1
- Naming Inconsistency for Extension Objects HOT 3
- new warning: deleting void is undefined HOT 1
- add a preprocessor enable for provisional extensions or features
- Assessment of the difficulty in porting CPU architecture for OpenCL-CLHPP
- Default values for options BUILD_EXAMPLES and BUILD_DOCS HOT 1
- clCreateCommandQueueWithProperties does not support properties like CL_QUEUE_PRIORITY_KHR CL_QUEUE_THROTTLE_KHR
- No Device-parametrized versions of compile()? HOT 1
- Missing tests for compile overloads. HOT 1
- should we use strings or char pointers to pass string data?
- `CommandBufferKhr::finalizeCommandBuffer()` causes link failure
- New MSVC warning in `cl::copy`
- SVMAllocator is hardcoded using default CommandQueue HOT 1
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 opencl-clhpp.