mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Refactor SipKernel
- add debug bindless SipKernelType Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d79317da35
commit
2fb8edb69f
@@ -12,7 +12,7 @@
|
||||
namespace L0 {
|
||||
namespace ult {
|
||||
|
||||
const NEO::SipKernel &MockBuiltins::getSipKernel(NEO::SipKernelType type, bool bindlessSip, NEO::Device &device) {
|
||||
const NEO::SipKernel &MockBuiltins::getSipKernel(NEO::SipKernelType type, NEO::Device &device) {
|
||||
if (!(sipKernel && sipKernel->getType() == type)) {
|
||||
sipKernel.reset(new NEO::SipKernel(type, allocation.get(), stateSaveAreaHeader));
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ class MockBuiltins : public NEO::BuiltIns {
|
||||
MockBuiltins() : BuiltIns() {
|
||||
allocation.reset(new NEO::MockGraphicsAllocation());
|
||||
}
|
||||
const NEO::SipKernel &getSipKernel(NEO::SipKernelType type, bool bindlessSip, NEO::Device &device) override;
|
||||
const NEO::SipKernel &getSipKernel(NEO::SipKernelType type, NEO::Device &device) override;
|
||||
std::unique_ptr<NEO::SipKernel> sipKernel;
|
||||
std::unique_ptr<NEO::MockGraphicsAllocation> allocation;
|
||||
std::vector<char> stateSaveAreaHeader{'s', 's', 'a', 'h'};
|
||||
|
||||
Reference in New Issue
Block a user