P4 to Git Change 1249828 by kzhuravl@kzhuravl-fiji-oclhsa on 2016/03/22 09:28:38

SWDEV-76911 - Enforce profile checks in executable [integration of CL 1249531] + fix executable creation in orca runtime

	ReviewBoardURL: http://ocltc.amd.com/reviews/r/10061/
	Testing: precheckin (http://ocltc.amd.com:8111/viewModification.html?modId=68662&personal=true&init=1&tab=vcsModificationBuilds)

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/amdhsacod/amdhsacod.cpp#12 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.cpp#24 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#223 edit
This commit is contained in:
foreman
2016-03-22 09:38:40 -04:00
orang tua 081797160c
melakukan c0d9192ab0
+1 -1
Melihat File
@@ -2152,7 +2152,7 @@ HSAILProgram::linkImpl(amd::option::Options* options)
hsa_agent_t agent;
agent.handle = 1;
if (!isNull() && hsaLoad) {
executable_ = loader_->CreateExecutable(HSA_PROFILE_BASE, NULL);
executable_ = loader_->CreateExecutable(HSA_PROFILE_FULL, NULL);
if (executable_ == NULL) {
buildLog_ += "Error: Executable for AMD HSA Code Object isn't created.\n";
return false;