[15/n] Internal 4GB allocator.

- Make resident on kernel ISA for blocked and non blocked path.

Change-Id: I1fc4948f1abb73c6f7028ae15dccad820101b8dc
This commit is contained in:
Mrozek, Michal
2018-03-13 10:44:35 +01:00
committed by sys_ocldev
parent a1a20a3b34
commit 93fc48339b
8 changed files with 48 additions and 22 deletions

View File

@@ -47,7 +47,7 @@ struct CopyBufferHw
typedef CopyBufferHw AUBCopyBuffer;
HWTEST_P(AUBCopyBuffer, simple) {
MockContext context;
MockContext context(&pCmdQ->getDevice());
cl_float srcMemory[] = {1.0f, 2.0f, 3.0f, 4.0f};
cl_float dstMemory[] = {0.0f, 0.0f, 0.0f, 0.0f};

View File

@@ -50,7 +50,7 @@ typedef FillBufferHw AUBFillBuffer;
HWTEST_P(AUBFillBuffer, simple) {
cl_float destMemory[] = {0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
auto pDestMemory = &destMemory[0];
MockContext context;
MockContext context(&this->pCmdQ->getDevice());
auto retVal = CL_INVALID_VALUE;
auto destBuffer = Buffer::create(
&context,

View File

@@ -48,7 +48,7 @@ struct WriteBufferHw
typedef WriteBufferHw AUBWriteBuffer;
HWTEST_P(AUBWriteBuffer, simple) {
MockContext context;
MockContext context(&this->pCmdQ->getDevice());
cl_float *srcMemory = new float[1024];
cl_float *destMemory = new float[1024];