Support gfx802 dGPU
Signed-off-by: Ben Goz <ben.goz@amd.com>
[ROCm/ROCR-Runtime commit: fb8378a18b]
This commit is contained in:
@@ -49,6 +49,8 @@ HSAKMT_STATUS fmm_init_process_apertures(void);
|
||||
*/
|
||||
void* fmm_allocate_scratch(uint32_t gpu_id, uint64_t MemorySizeInBytes);
|
||||
void* fmm_allocate_device(uint32_t gpu_id, uint64_t MemorySizeInBytes);
|
||||
void* fmm_allocate_host(uint32_t gpu_id, uint64_t MemorySizeInBytes,
|
||||
HsaMemFlags flags, uint16_t dev_id);
|
||||
void* fmm_open_graphic_handle(uint32_t gpu_id,
|
||||
int32_t graphic_device_handle,
|
||||
uint32_t graphic_handle,
|
||||
@@ -58,6 +60,7 @@ bool fmm_is_inside_some_aperture(void* address);
|
||||
void fmm_release(void* address, HSAuint64 MemorySizeInBytes);
|
||||
int fmm_map_to_gpu(void *address, uint64_t size, uint64_t *gpuvm_address);
|
||||
int fmm_unmap_from_gpu(void *address);
|
||||
bool fmm_get_handle(void *address, uint64_t *handle);
|
||||
|
||||
/* Topology interface*/
|
||||
HSAKMT_STATUS fmm_node_added(HSAuint32 gpu_id);
|
||||
|
||||
Reference in New Issue
Block a user