mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
improve kernel data parameter ULTs:
- add assert to check size() of patchInfo.dataParameterBuffers - add test case to ensure that unknown parameter is not added - move one test case from TEST_P -> TEST_F. no need to be TEST_P as GetParam() is not used Change-Id: I9ff753601ac1d4f2484cf13f5fa6b728b0dcd4a2 Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
@@ -448,6 +448,8 @@ cl_int Program::parsePatchList(KernelInfo &kernelInfo) {
|
||||
break;
|
||||
|
||||
default:
|
||||
kernelInfo.patchInfo.dataParameterBuffers.pop_back();
|
||||
|
||||
DBG_LOG(LogPatchTokens, "\n .Type", "Unhandled", pDataParameterBuffer->Type);
|
||||
DEBUG_BREAK_IF(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user