P4 to Git Change 1168792 by rili@rili_opencl_stg on 2015/07/08 17:02:22
EPR #419313 - Fix the wrong check for string.find Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#287 edit
This commit is contained in:
@@ -3561,7 +3561,8 @@ HSAILKernel::init(bool finalize)
|
||||
//compile kernel down to ISA
|
||||
if (finalize) {
|
||||
std::string options(compileOptions_.c_str());
|
||||
flags_.internalKernel_ = (compileOptions_.find("-cl-internal-kernel") != 0) ? true: false;
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user