From c0d9192ab05972f565e513b7bb90e2e8f8da6444 Mon Sep 17 00:00:00 2001 From: foreman Date: Tue, 22 Mar 2016 09:38:40 -0400 Subject: [PATCH] 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 --- rocclr/runtime/device/gpu/gpuprogram.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/runtime/device/gpu/gpuprogram.cpp b/rocclr/runtime/device/gpu/gpuprogram.cpp index 69be513500..b545375c9b 100644 --- a/rocclr/runtime/device/gpu/gpuprogram.cpp +++ b/rocclr/runtime/device/gpu/gpuprogram.cpp @@ -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;