P4 to Git Change 1098110 by mbareghe@mbareghe_staging_win30 on 2014/11/18 13:21:17

EPR #409798 - clCompileProgram and clLinkProgram regression for SPIR - set the correct IR type while extracting from binary (aclSPIR, aclLLVMIR)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#183 edit
Cette révision appartient à :
foreman
2014-11-18 13:28:05 -05:00
Parent 1b0c2439f2
révision d604c03916
+1 -1
Voir le fichier
@@ -739,7 +739,7 @@ NullProgram::linkImpl(const std::vector<device::Program*>& inputPrograms,
size_t size = 0;
const void* llvmir = aclExtractSection(dev().compiler(), libs[0],
&size, aclLLVMIR, &err);
&size, llvmBinaryIsSpir[0]?aclSPIR:aclLLVMIR, &err);
if (err != ACL_SUCCESS) {
LogWarning("aclExtractSection failed");
break;