P4 to Git Change 1083521 by rili@rili_opencl_stg on 2014/10/02 11:07:08

EPR #403387 - Removed the check for multi devices in clCreateBufferFromImageAMD becasue this function works with the case of multi devices.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#69 edit


[ROCm/clr commit: 33775d226d]
Tá an tiomantas seo le fáil i:
foreman
2014-10-02 13:56:35 -04:00
tuismitheoir 31ac708efe
tiomantas 26d206e2e4
@@ -4836,11 +4836,6 @@ RUNTIME_ENTRY_RET(cl_mem, clCreateBufferFromImageAMD, (
}
amd::Context& amdContext = *as_amd(context);
if (amdContext.devices().size() > 1) {
*not_null(errcode_ret) = CL_INVALID_CONTEXT;
LogWarning("invalid parameter: context");
return (cl_mem) 0;
}
const std::vector<amd::Device*>& devices = amdContext.devices();
std::vector<amd::Device*>::const_iterator it;