mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Don't use Platform class in shared tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
3adc3c5ca0
commit
4caa10f76e
@@ -30,7 +30,7 @@ TEST_F(EnqueueKernelTest, givenKernelWithSharedObjArgsWhenEnqueueIsCalledThenRes
|
||||
|
||||
auto nonSharedBuffer = new MockBuffer;
|
||||
MockGlSharing glSharing;
|
||||
MockGmm mockGmm;
|
||||
MockGmm mockGmm(pDevice->getGmmClientContext());
|
||||
glSharing.uploadDataToBufferInfo(1, 0, mockGmm.gmmResourceInfo->peekGmmResourceInfo());
|
||||
pContext->setSharingFunctions(glSharing.sharingFunctions.release());
|
||||
auto retVal = CL_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user