MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / deviceLDSSize

Function deviceLDSSize

src/library/common/devinfo.c:198–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198cl_ulong
199deviceLDSSize(
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
215cl_uint
216deviceDataAlignment(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected