mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-01 12:33:12 +08:00
fix: add mock for staging buffer size
No need to allocate 2MB in unit tests. This commit changes this size to 4KB. Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b9a3f712ed
commit
a2c41e4749
@@ -2413,7 +2413,7 @@ struct StagingBufferTest : public EnqueueSvmTest {
|
||||
EnqueueSvmTest::TearDown();
|
||||
}
|
||||
|
||||
static constexpr size_t stagingBufferSize = MemoryConstants::megaByte * 2;
|
||||
static constexpr size_t stagingBufferSize = MemoryConstants::pageSize;
|
||||
static constexpr size_t copySize = stagingBufferSize * 4;
|
||||
static constexpr size_t expectedNumOfCopies = copySize / stagingBufferSize;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user