P4 to Git Change 1332187 by lmoriche@lmoriche_opencl_lc on 2016/10/26 13:22:19
SWDEV-105604 - OpenCL program manager for LC on PAL - Fix the Windows build Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#17 edit
This commit is contained in:
@@ -618,10 +618,6 @@ HSAILKernel::init(amd::hsa::loader::Symbol *sym, bool finalize)
|
|||||||
#if defined(WITH_LIGHTNING_COMPILER)
|
#if defined(WITH_LIGHTNING_COMPILER)
|
||||||
assert(!"Should not reach here");
|
assert(!"Should not reach here");
|
||||||
#else // !defined(WITH_LIGHTNING_COMPILER)
|
#else // !defined(WITH_LIGHTNING_COMPILER)
|
||||||
if (extraArgumentsNum_ > MaxExtraArgumentsNum) {
|
|
||||||
LogError("Failed to initialize kernel: extra arguments number is bigger than is supported");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
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") !=
|
flags_.internalKernel_ = (compileOptions_.find("-cl-internal-kernel") !=
|
||||||
|
|||||||
مرجع در شماره جدید
Block a user