Add memoryPool to GraphicsAllocation

- new ExtendableEnum struct that serves as enum but can
be extended with values
- decrease dependencies on graphics_allocation.h header -
 use forward class declaration when possible
- memoryPool indicates what kind of memory is allocated
for a given GraphicsAllocation

Change-Id: I7a707c28dc4544cc73abc5f0ed5263ba5be17452
This commit is contained in:
Hoppe, Mateusz
2018-07-13 18:50:55 +02:00
committed by sys_ocldev
parent 4a6be207cd
commit 407227959a
36 changed files with 724 additions and 160 deletions

View File

@ -24,6 +24,7 @@
#include "unit_tests/mocks/mock_context.h"
#include "runtime/command_queue/command_queue.h"
#include "runtime/device/device.h"
#include "runtime/memory_manager/graphics_allocation.h"
#include "runtime/memory_manager/svm_memory_manager.h"
using namespace OCLRT;