P4 to Git Change 1077370 by emankov@em-hsa-amd on 2014/09/16 12:02:36
ECR #333753 - HSA RT: avoiding superfluous recompilations on ORCA RT/HSA path Next compilation stage determination based on binary sections and options (while linkImpl). If current HSAILProgram options are equal to binarys ones: - Do not generate BRIG if BRIG sections are already presented in binary. - Do not finalize BRIG->ISA if ISA is already presented in binary. - Perform only CG phase if HSAIL is absent in binary. Always perform only brig loading (even in case of ISA presented). Testing: pre check-in, compile & basic ocl conformance 2.0 tests Reviewer: German Andryeyev Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#150 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#264 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#101 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#177 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#55 edit
This commit is contained in:
@@ -435,6 +435,7 @@ HSAILProgram::compileImpl(
|
||||
return false;
|
||||
}
|
||||
|
||||
clBinary()->storeCompileOptions(compileOptions_);
|
||||
// Save the binary in the interface class
|
||||
size_t size = 0;
|
||||
void* mem = NULL;
|
||||
|
||||
Reference in New Issue
Block a user