I'm encountering the following problem when calling clGetMemObjectInfo.
According to spec from http://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clGetMemObject...
I should be able to call the function like this:size_t size;cl_int err = clGetMemObjectInfo(memobj, param_name, 0, NULL, &size);assert(err == CL_SUCCESS);and get back the size of the return parameter in size [granted this does not make sense for this function where all objects returned have a size which is compile-time known, but this is for uniformity's sake].Intel's implementation always returns CL_INVALID_VALUE, contrary to the spec (param_value is NULL).
Further calls (i'm doing this first call as a safeguard) with effective size and destination pointers actually set do not exhibit the problem, so i'm pretty sure it's not an issue of param_name or memobj being incorrect. Other OpenCL implementations (AMD, Nvidia) are working as expected.Kind regards,
clGetMemObjectInfo bug in SDK 2012