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
[ROCm/clr commit: 4fd51c5805]
Ta zmiana jest zawarta w:
%! (template.HTML=
foreman)złożyło 2015-07-08 17:07:41 -04:00
1 rodzic
1251706b5f
złożenie
a2daeaf59f
Plik 1 zmieniony
+2
-1
@@ -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
Zablokuj użytkownika