- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We use OpenCL in our applications (xrt.rtfd.io) via pyopencl. I am trying to figure out where originates the segmentation fault that I am getting on Intel HD Graphics 620 but not on the other two devices in my list. By looking at device.max_constant_buffer_size I get:
- 64 KB on GeForce 940MX
- 2097152 KB (!) on Intel(R) HD Graphics 620
- 128 KB on Intel(R) Core(TM) i7-7500U CPU
Notice the 2nd value is so much different from the other two. Can you please confirm this value is correct. I first asked at pyopencl, they confirm that this value is merely passed by pyopencl and not created there.
Thanks!
Konstantin
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This value is expected.
It is upper limit for kernel arguments declared with __constant qualifier.
This is done to allow big buffers to be passed as __constant kernel arguments, they will be treated as read only surfaces.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why this is device specific and not platform specific? In other words, why isn't true for CPU?

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