mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 21:27:04 +08:00
Diminish size of memory chunk allocated in ULT test
Change-Id: If57f0334c709a7fc23e4d78eff4f9b913d9154d3
This commit is contained in:
@@ -245,7 +245,8 @@ TEST_F(GTPinTests, givenValidRequestForHugeMemoryAllocationThenBufferAllocateFai
|
||||
-> OCLRT::Buffer * { return nullptr; };
|
||||
}
|
||||
cl_context ctxt = (cl_context)((Context *)pContext);
|
||||
retFromGtPin = (*driverServices.bufferAllocate)((gtpin::context_handle_t)ctxt, 3 * GB, &res);
|
||||
uint32_t hugeSize = 400u; // Will be handled as huge memory allocation
|
||||
retFromGtPin = (*driverServices.bufferAllocate)((gtpin::context_handle_t)ctxt, hugeSize, &res);
|
||||
for (uint32_t i = 0; i < IGFX_MAX_CORE; i++) {
|
||||
bufferFactory[i] = BufferFuncsBackup[i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user