compute-runtime/runtime/os_interface
dongwonk fb993d6107 limited range and internal 32bit allocators with correct base and size
correct add 1 to the current size, gpuRange as gpuRange
only specifies the end address of the pool, not the actual
size, which causes alignment issue of all the offsets of
allocated objects. Also, a page was added in the beginning
of the limited range memory pool to avoid the base address
of it to be 0x0 that is interpreted as invalid address by
heap allocator (This makes the size reduced by pageSize)

Internal 32bit allocator is also initialized in proper way
with corrected base address.

v2: added 'givenMemoryManagerLimimedRangeAllocator' unit
    test
v3: adjust size to be freed when DrmMemoryManager instance
    is destroyed to 4GB
v4: - defined external 32bit allocator for limited Range
    allocation case.
    - softpinning object on the correct GPU address

Change-Id: Idaa0206d4133a1476cceb5a48ff8c8528742c76a
Signed-off-by: dongwonk <dongwon.kim@intel.com>
2019-02-17 19:19:52 +01:00
..
definitions Adding support for debug variables translation 2019-01-19 20:12:41 +01:00
linux limited range and internal 32bit allocators with correct base and size 2019-02-17 19:19:52 +01:00
windows Allow to create HardwareContextController for multiple Devices 2019-02-14 16:00:00 +01:00
32bit_memory.h Retry mmap with a smaller size. 2019-01-22 11:04:16 +01:00
CMakeLists.txt Adding support for debug variables translation 2019-01-19 20:12:41 +01:00
debug_settings_manager.cpp Use GpuAddress for TimestampPacket programming 2019-02-11 15:31:17 +01:00
debug_settings_manager.h Adding support for debug variables translation 2019-01-19 20:12:41 +01:00
debug_variables_base.inl Remove AUBDumpConcurrentCS 2019-02-12 12:36:07 +01:00
device_factory.cpp Allow override of default platform Hardware Info Config 2018-10-10 10:34:23 +02:00
device_factory.h Update copyright headers 2018-09-20 18:02:35 +02:00
hw_info_config.h Update copyright headers 2018-09-20 18:02:35 +02:00
hw_info_config.inl Update copyright headers 2018-09-20 18:02:35 +02:00
os_context.h Allow to create HardwareContextController for multiple Devices 2019-02-14 16:00:00 +01:00
os_inc_base.h Update copyright headers 2018-09-20 18:02:35 +02:00
os_interface.h Control enabling of local memory based on OS and HW Capabilities 2018-10-25 16:36:47 +02:00
os_library.h Refactor of glcl sharing 2018-12-17 23:04:28 +01:00
os_thread.h Update copyright headers 2018-09-20 18:02:35 +02:00
os_time.cpp Initial commit 2017-12-21 00:45:38 +01:00
os_time.h Initial commit 2017-12-21 00:45:38 +01:00
performance_counters.cpp Update copyright headers 2018-09-20 18:02:35 +02:00
performance_counters.h Update copyright headers 2018-09-20 18:02:35 +02:00
print.h Initial commit 2017-12-21 00:45:38 +01:00