You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This test throws for me. requiredSize is Zero which matches what I see in the documentation since we passed in null pointers.
clGetKernelWorkGroupInfo should return an error code if the requested parameter size isn't large enough to hold the actual runtime size.
if (fixedSize.HasValue && !verifyFixedSize)
requiredSize = (UIntPtr)fixedSize;
else
ErrorHandler.ThrowOnFailure(clGetKernelWorkGroupInfo(kernel, device, parameter.ParameterInfo.Name, UIntPtr.Zero, IntPtr.Zero, out requiredSize));
if (verifyFixedSize && fixedSize.HasValue)
{
if (requiredSize.ToUInt64() != (ulong)fixedSize.Value)
throw new ArgumentException("The parameter definition includes a fixed size that does not match the required size according to the runtime.");
}
The text was updated successfully, but these errors were encountered:
This test throws for me. requiredSize is Zero which matches what I see in the documentation since we passed in null pointers.
clGetKernelWorkGroupInfo should return an error code if the requested parameter size isn't large enough to hold the actual runtime size.
The text was updated successfully, but these errors were encountered: