- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I encountered that strange behavior on geforce gt540m (openCL 1.1). I am using c++ api and everything is working correctly on i3 2310m (also tried on i7 and Nvidia Quadro 4000m). But when I want to use GPU it crashes on Image2D costructor (it gets through #if defined(CL_VERSION_1_2) in cl.hpp). I tried to make a workaround by using C API's both clCreateImage2D and clCreateImage and then using Image2D constructor but still no luck. Again when I use CPU everything is working. Any ideas what could be wrong?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not sure if I understood you correctly. Is it failing both on NVidia GPU and Intel's? But works on the CPU? Can you provide a reproducer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It works on Intel platform (with CL_DEVICE_TYPE_CPU passed while creating context using Intel platform), but it doesn't work on Nvidia platform (with CL_DEVICE_TYPE_GPU passed while creating context using Nvidia platform). Everything works with C api so I will switch to that but it still bugs me why it doesn't work with C++ api.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page