| 196 | } |
| 197 | |
| 198 | cl_ulong |
| 199 | deviceLDSSize( |
| 200 | cl_device_id device, |
| 201 | cl_int *error) |
| 202 | { |
| 203 | cl_int err; |
| 204 | cl_long v; |
| 205 | |
| 206 | v = 0; |
| 207 | err = clGetDeviceInfo(device, CL_DEVICE_LOCAL_MEM_SIZE, |
| 208 | sizeof(v), &v, NULL); |
| 209 | if (error != NULL) { |
| 210 | *error = err; |
| 211 | } |
| 212 | return v; |
| 213 | } |
| 214 | |
| 215 | cl_uint |
| 216 | deviceDataAlignment( |
nothing calls this directly
no outgoing calls
no test coverage detected