mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Revert "fix(ocl zebin): do not expose functions as kernel"
This reverts commit 359b9278b8
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
3fe394ecbe
commit
c322bc3578
@ -25,23 +25,6 @@ ClDeviceVector toClDeviceVector(ClDevice &clDevice);
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Program - Core implementation
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
class MockNeoProgram : public NEO::Program {
|
||||
public:
|
||||
using Base = NEO::Program;
|
||||
using Base::buildInfos;
|
||||
using Base::exportedFunctionsKernelId;
|
||||
|
||||
MockNeoProgram(NEO::Context *context, bool isBuiltIn, const NEO::ClDeviceVector &devices)
|
||||
: NEO::Program(context, isBuiltIn, devices) {}
|
||||
|
||||
void resizeAndPopulateKernelInfoArray(size_t size) {
|
||||
buildInfos[0].kernelInfoArray.resize(size);
|
||||
for (auto &entry : buildInfos[0].kernelInfoArray) {
|
||||
entry = new KernelInfo();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
class MockProgram : public Program {
|
||||
public:
|
||||
using Program::allowNonUniform;
|
||||
|
Reference in New Issue
Block a user