- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In my program, I sometimes got the error when using "clEnqueueWriteBuffer" and "clEnqueueReadBuffer". I am very confused that I have already allocate memory on the device using "clCreateBuffer". So I think these two functions do not allocate new space so that there should not be such errors.
Another thing is that I was wondering that how large is the maximum memories on an Intel OpenCL device. And what is that separately for local and global memory?
Thanks!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you allocate memory using clCreateBuffer, did you make sure the call returned success? You can query the max local and global memory using clGetDeviceInfo by passing the appropriate param_name.
Hope this helps.
Raghu

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