I am using Cloo to make OpenCL calls from managed code. My application works fine with a Dell AIO 5260 with Intel UHD Graphics 630 driver v. 22.214.171.12479 but the same code crashes in a clCreateImage2D call on a Dell AIO 5270 with Intel UHD Graphics 630 driver v. 126.96.36.19963. Both workstations run the same Windows 10 Anniversary (1607) version.
The source image width is 1642, the height is 2300.
Source format channel order is Rgba, the format channel type is UnsignedInt8.
"rowPitch" is 0. The attached Windows Event Report is from crash on 5270 with this value. If set to 6568 (width * size element in bytes) the code still runs on the 5260 but fails with an assert (see attached screenshot) on 5270.
srcImg = new ComputeImage2D(m_Context, ComputeMemoryFlags.ReadOnly | ComputeMemoryFlags.CopyHostPointer, srcFormat, imgWidth, imgHeight, rowPitch, srcData.Scan0);
Dell 5260 is obsolete; we need to find a replacement - my concern is that other newer workstations and graphics drivers will have the same problem as the 5270. Any assistance is appreciated. Please let me know if more information is needed.