2
0

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
Este cometimento está contido em:
foreman
2014-10-02 13:56:35 -04:00
ascendente fdbb6877ad
cometimento 33775d226d
-5
Ver ficheiro
@@ -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;