Don't use Platform class in shared tests

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2021-09-20 14:29:22 +00:00
committed by Compute-Runtime-Automation
parent 3adc3c5ca0
commit 4caa10f76e
37 changed files with 236 additions and 190 deletions

View File

@@ -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;