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
Bu işleme şunda yer alıyor:
1 ebeveyn
57e25aa29e
işleme
e11d0a712d
1 file changed
+2
-2
@@ -3605,11 +3605,11 @@ HSAILKernel::init(amd::hsa::loader::Symbol *sym, bool finalize)
|
|||||||
}
|
}
|
||||||
acl_error error = ACL_SUCCESS;
|
acl_error error = ACL_SUCCESS;
|
||||||
std::string openClKernelName = openclMangledName(name());
|
std::string openClKernelName = openclMangledName(name());
|
||||||
|
flags_.internalKernel_ = (compileOptions_.find("-cl-internal-kernel") !=
|
||||||
|
std::string::npos) ? true: false;
|
||||||
//compile kernel down to ISA
|
//compile kernel down to ISA
|
||||||
if (finalize) {
|
if (finalize) {
|
||||||
std::string options(compileOptions_.c_str());
|
std::string options(compileOptions_.c_str());
|
||||||
flags_.internalKernel_ = (compileOptions_.find("-cl-internal-kernel") !=
|
|
||||||
std::string::npos) ? true: false;
|
|
||||||
options.append(" -just-kernel=");
|
options.append(" -just-kernel=");
|
||||||
options.append(openClKernelName.c_str());
|
options.append(openClKernelName.c_str());
|
||||||
// Append an option so that we can selectively enable a SCOption on CZ
|
// Append an option so that we can selectively enable a SCOption on CZ
|
||||||
|
|||||||
Reference in new issue
Bir kullanıcı engelle