mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-13 18:23:03 +08:00
[15/n] Internal 4GB allocator.
- Make resident on kernel ISA for blocked and non blocked path. Change-Id: I1fc4948f1abb73c6f7028ae15dccad820101b8dc
This commit is contained in:
committed by
sys_ocldev
parent
a1a20a3b34
commit
93fc48339b
@@ -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};
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user