Commit 5bc6910
committed
fix: Add conditional compilation for OpenCL 2.0 compatibility
- Add #ifdef CL_DEVICE_NON_UNIFORM_WORK_GROUP_SUPPORT check
- Fixes compilation error when targeting OpenCL 2.0
- CL_DEVICE_NON_UNIFORM_WORK_GROUP_SUPPORT was introduced in OpenCL 3.0
- Maintains backward compatibility with OpenCL 3.0+ devices
- Resolves issue #153681 parent e5155e6 commit 5bc6910
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2231 | 2231 | | |
2232 | 2232 | | |
2233 | 2233 | | |
| 2234 | + | |
2234 | 2235 | | |
2235 | 2236 | | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
2236 | 2241 | | |
2237 | 2242 | | |
2238 | 2243 | | |
| |||
0 commit comments