-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault executing header example #4
Comments
Also I'm trying to compile enabling the macros for 1.2 compatibility.
But I got the same segmetation fault.
From dmesg:
Compilation verbose log: http://pastebin.com/82LRSS28 |
Can you give details of the device and driver version you are trying to run this with? Can you also run this with GDB and get a backtrace to give an indication of where the crash is coming from? I'm able to successfully run this example on AMD GPUs. This example uses OpenCL 2.0 features, so requires recent hardware and drivers to run. |
Hi @jrprice, I am also encounter segmentation fault issue on cl2.hpp. I cannot fire a bug on Khronos bugzilla so I came here: here is the minimum code to reproduce the issue: #define CL_HPP_ENABLE_EXCEPTIONS //#define __CL_ENABLE_EXCEPTIONS #include <vector> int main(int argc, char** argv) Note: |
Hi, I'm trying to execute this program (https://raw.githubusercontent.com/KhronosGroup/OpenCL-CLHPP/master/examples/src/headerexampleCL2.cpp) using cl2.hpp (https://www.khronos.org/registry/cl/api/2.0/cl2.hpp)
Here is my compilation and execution commands.
The compilation is OK. but unfortunately i always got a segmentation fault.
From dmesg i got:
Here is my gcc verbose log: http://pastebin.com/pNJE8mjy
Here is my platform info:http://pastebin.com/xH5LN9YY
My AMD APP SDK Version is 3.0
Please let me know if I'm doing something wrong.
The text was updated successfully, but these errors were encountered: