mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
refactor: cleanup - remove not used code from Program
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
993a6c53d5
commit
40392b33f4
@@ -182,12 +182,6 @@ cl_int Program::build(
|
||||
return retVal;
|
||||
}
|
||||
|
||||
bool Program::appendKernelDebugOptions(ClDevice &clDevice, std::string &internalOptions) {
|
||||
CompilerOptions::concatenateAppend(internalOptions, CompilerOptions::debugKernelEnable);
|
||||
CompilerOptions::concatenateAppend(options, CompilerOptions::generateDebugInfo);
|
||||
return true;
|
||||
}
|
||||
|
||||
cl_int Program::build(const ClDeviceVector &deviceVector, const char *buildOptions,
|
||||
std::unordered_map<std::string, BuiltinDispatchInfoBuilder *> &builtinsMap) {
|
||||
auto ret = this->build(deviceVector, buildOptions);
|
||||
|
||||
@@ -292,7 +292,6 @@ class Program : public BaseObject<_cl_program> {
|
||||
MOCKABLE_VIRTUAL bool isFlagOption(ConstStringRef option);
|
||||
MOCKABLE_VIRTUAL bool isOptionValueValid(ConstStringRef option, ConstStringRef value);
|
||||
|
||||
MOCKABLE_VIRTUAL bool appendKernelDebugOptions(ClDevice &clDevice, std::string &internalOptions);
|
||||
void prependFilePathToOptions(const std::string &filename);
|
||||
|
||||
void setBuildStatus(cl_build_status status);
|
||||
|
||||
@@ -238,11 +238,4 @@ class MockProgram : public Program {
|
||||
bool callBasePopulateZebinExtendedArgsMetadataOnce = false;
|
||||
};
|
||||
|
||||
class MockProgramAppendKernelDebugOptions : public Program {
|
||||
public:
|
||||
using Program::Program;
|
||||
ADDMETHOD_NOBASE(appendKernelDebugOptions, bool, true, (ClDevice & clDevice, std::string &internalOptions));
|
||||
ADDMETHOD_NOBASE(processGenBinary, cl_int, CL_SUCCESS, (const ClDevice &clDevice));
|
||||
};
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user