mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Store KernelInfo per root device in Program
Related-To: NEO-5001 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
ff069c1171
commit
2ee1d569c5
@ -53,6 +53,7 @@ class KernelDataTest : public testing::Test {
|
||||
void SetUp() override {
|
||||
kernelBinaryHeader.KernelNameSize = kernelNameSize;
|
||||
pContext = new MockContext;
|
||||
rootDeviceIndex = pContext->getDevice(0)->getRootDeviceIndex();
|
||||
program = std::make_unique<MockProgram>(pContext, false, toClDeviceVector(*pContext->getDevice(0)));
|
||||
}
|
||||
|
||||
@ -91,4 +92,5 @@ class KernelDataTest : public testing::Test {
|
||||
std::unique_ptr<MockProgram> program;
|
||||
MockContext *pContext;
|
||||
const KernelInfo *pKernelInfo;
|
||||
uint32_t rootDeviceIndex = std::numeric_limits<uint32_t>::max();
|
||||
};
|
||||
|
Reference in New Issue
Block a user