mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
[1/N] Program refactor - decouple from patchokens
Change-Id: I63bbf6c31a5db9e788124f22b6105e65c16c86d4
This commit is contained in:
committed by
sys_ocldev
parent
412c88cf9b
commit
355e8d3e5a
@@ -13,6 +13,7 @@
|
||||
#include "runtime/helpers/validators.h"
|
||||
#include "runtime/os_interface/debug_settings_manager.h"
|
||||
#include "runtime/platform/platform.h"
|
||||
#include "runtime/program/kernel_info.h"
|
||||
#include "runtime/program/program.h"
|
||||
#include "runtime/source_level_debugger/source_level_debugger.h"
|
||||
|
||||
@@ -197,15 +198,6 @@ cl_int Program::build(const cl_device_id device, const char *buildOptions, bool
|
||||
return ret;
|
||||
}
|
||||
|
||||
cl_int Program::build(
|
||||
const char *pKernelData,
|
||||
size_t kernelDataSize) {
|
||||
cl_int retVal = CL_SUCCESS;
|
||||
processKernel(pKernelData, 0U, retVal);
|
||||
|
||||
return retVal;
|
||||
}
|
||||
|
||||
void Program::extractInternalOptions(std::string &options) {
|
||||
for (auto &optionString : internalOptionsToExtract) {
|
||||
size_t pos = options.find(optionString);
|
||||
|
||||
Reference in New Issue
Block a user