Adding support for mGPU

Change-Id: I5ed184e6a58b38d9dde48867f14513d161cf41a9
Signed-off-by: Ben Goz <ben.goz@amd.com>


[ROCm/ROCR-Runtime commit: ea0f9d2a0b]
This commit is contained in:
Ben Goz
2015-12-23 17:23:25 +02:00
parent d874bcd8b3
commit 2fa7eef572
7 changed files with 192 additions and 19 deletions
+2 -1
View File
@@ -77,7 +77,8 @@ bool topology_is_dgpu(uint16_t device_id);
HSAuint32 PageSizeFromFlags(unsigned int pageSizeFlags);
void* allocate_exec_aligned_memory_gpu(uint32_t size, uint32_t align, uint32_t NodeId);
void* allocate_exec_aligned_memory_gpu(uint32_t size, uint32_t align,
uint32_t NodeId, bool peer_to_peer);
void free_exec_aligned_memory_gpu(void *addr, uint32_t size, uint32_t align);
extern int kmtIoctl(int fd, unsigned long request, void *arg);