P4 to Git Change 1181062 by rili@rili_opencl_stg on 2015/08/17 10:39:25

EPR #419313 - Check internal kernel in right palce

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#292 edit
Этот коммит содержится в:
foreman
2015-08-17 10:48:55 -04:00
родитель 57e25aa29e
Коммит e11d0a712d
+2 -2
Просмотреть файл
@@ -3605,11 +3605,11 @@ HSAILKernel::init(amd::hsa::loader::Symbol *sym, bool finalize)
}
acl_error error = ACL_SUCCESS;
std::string openClKernelName = openclMangledName(name());
flags_.internalKernel_ = (compileOptions_.find("-cl-internal-kernel") !=
std::string::npos) ? true: false;
//compile kernel down to ISA
if (finalize) {
std::string options(compileOptions_.c_str());
flags_.internalKernel_ = (compileOptions_.find("-cl-internal-kernel") !=
std::string::npos) ? true: false;
options.append(" -just-kernel=");
options.append(openClKernelName.c_str());
// Append an option so that we can selectively enable a SCOption on CZ