mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Add executionEnvironment field to Program
Change-Id: Id624177aa3f0b5525bac86e2e0a935ebaf53480e Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
956ee41c71
commit
524737af39
@@ -33,10 +33,6 @@
|
||||
using namespace OCLRT;
|
||||
|
||||
class KernelSlmArgTest : public Test<DeviceFixture> {
|
||||
public:
|
||||
KernelSlmArgTest() {
|
||||
}
|
||||
|
||||
protected:
|
||||
void SetUp() override {
|
||||
DeviceFixture::SetUp();
|
||||
@@ -56,7 +52,7 @@ class KernelSlmArgTest : public Test<DeviceFixture> {
|
||||
pKernelInfo->kernelArgInfo[2].slmAlignment = 0x400;
|
||||
pKernelInfo->workloadInfo.slmStaticSize = 3 * KB;
|
||||
|
||||
program = std::make_unique<MockProgram>();
|
||||
program = std::make_unique<MockProgram>(*pDevice->getExecutionEnvironment());
|
||||
pKernel = new MockKernel(program.get(), *pKernelInfo, *pDevice);
|
||||
ASSERT_EQ(CL_SUCCESS, pKernel->initialize());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user