From 6c69717577c2e44c11b3c4233dcf0ce660d97ff2 Mon Sep 17 00:00:00 2001
From: foreman
Date: Wed, 26 Oct 2016 13:29:16 -0400
Subject: [PATCH] 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
---
rocclr/runtime/device/pal/palkernel.cpp | 4 ----
1 file changed, 4 deletions(-)
diff --git a/rocclr/runtime/device/pal/palkernel.cpp b/rocclr/runtime/device/pal/palkernel.cpp
index 3998b0e4b1..bd465f306b 100644
--- a/rocclr/runtime/device/pal/palkernel.cpp
+++ b/rocclr/runtime/device/pal/palkernel.cpp
@@ -618,10 +618,6 @@ HSAILKernel::init(amd::hsa::loader::Symbol *sym, bool finalize)
#if defined(WITH_LIGHTNING_COMPILER)
assert(!"Should not reach here");
#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;
std::string openClKernelName = openclMangledName(name());
flags_.internalKernel_ = (compileOptions_.find("-cl-internal-kernel") !=