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 à :
@@ -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;
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur