Ben Goz
2fa7eef572
Adding support for mGPU
...
Change-Id: I5ed184e6a58b38d9dde48867f14513d161cf41a9
Signed-off-by: Ben Goz <ben.goz@amd.com >
[ROCm/ROCR-Runtime commit: ea0f9d2a0b ]
2016-01-04 15:35:15 +02:00
Felix Kuehling
29561cc13e
Implement flat scratch support for dGPU
...
hsaKmtAllocMemory only allocates aligned address space and sets up
the scratch_physical aperture to match the allocated address space.
Actual allocation of backing memory happens in hsaKmtMapMemoryToGPU.
Change-Id: Ie709815ab9bedb3d682e096b4005fdfb5e94d3a7
[ROCm/ROCR-Runtime commit: 5131ab4e64 ]
2015-10-22 20:40:22 -04:00
Felix Kuehling
55bd82cd89
Fix node 0 system memory allocation for dGPU
...
This is a hack to allow the Runtime to allocate system memory with
PreferredNode=0 on a dGPU system. We allocated it from Node 1
instead so that the node 1 GPU can map the memory. A proper fix
will be implemented together with multi-GPU support.
Change-Id: Ieb52599e5275781c04ee34405ea850bf782c523a
[ROCm/ROCR-Runtime commit: 590c8e522c ]
2015-10-21 20:00:01 -04:00
Felix Kuehling
f09c6b84af
Setup APE1 on dGPU for coherent access
...
The default is non-coherent access for better performance on dGPU.
Disabled hsaKmtSetMemoryPolicy function on dGPU to prevent app from
overriding the APE1 settings at runtime.
Fixed dGPU VM aperture limit to be inclusive.
Change-Id: I378ff74a654f533572775c0c97c19779a56bc6d9
[ROCm/ROCR-Runtime commit: 8e836f8183 ]
2015-10-02 17:20:33 -04:00
Ben Goz
9db147f2d4
Support gfx802 dGPU
...
Signed-off-by: Ben Goz <ben.goz@amd.com >
[ROCm/ROCR-Runtime commit: fb8378a18b ]
2015-08-30 14:13:53 +03:00
shaoyunl
779c76a4e7
Minor fix in libhsathunk for KFDMemory test
...
Signed-off-by: shaoyun liu(shaoyun.liu@amd.com )
Reviewed-by: Ben Goz(Ben.Goz@amd.com )
[ROCm/ROCR-Runtime commit: 2dff5cabfa ]
2015-08-05 17:32:00 -04:00
Moses Reuben
9faf7b957c
adding support for scratch memory
...
Signed-off-by: Moses Reuben <moses.reuben@amd.com >
[ROCm/ROCR-Runtime commit: 29c083f695 ]
2015-07-21 16:43:23 +03:00
Oded Gabbay
b6c7551747
Revert "Add execution property in register memory for gfx801."
...
This reverts commit abf7770d46 .
[ROCm/ROCR-Runtime commit: 4c4df38035 ]
2015-04-28 17:50:00 +03:00
Xihan Zhang
abf7770d46
Add execution property in register memory for gfx801.
...
Signed-off-by: Xihan Zhang <xihan.zhang@amd.com >
[ROCm/ROCR-Runtime commit: 5ed05c99b3 ]
2015-04-10 22:26:44 +08:00
Oded Gabbay
686f0ceee4
reformat memory and fmm functions according to kernel coding style
...
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com >
[ROCm/ROCR-Runtime commit: 027ca02f2e ]
2015-02-25 22:49:08 +02:00
Ben Goz
1391a75289
Supporting new thunk spec - adding relevant memflags
...
Signed-off-by: Ben Goz <ben.goz@amd.com >
Reviewed-by: Oded Gabbay <oded.gabbay@amd.com >
[ROCm/ROCR-Runtime commit: 25441796bd ]
2015-02-01 14:33:33 +02:00
Oded Gabbay
e1a60944a7
fix return value in Map/Unmap functions
...
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com >
Reviewed-by: Yair Shachar <yair.shachar@amd.com >
[ROCm/ROCR-Runtime commit: f24aa620ed ]
2015-01-29 16:55:14 +02:00
Ben Goz
46e4e856ed
Adding support in allocating executable memory
...
Signed-off-by: Ben Goz <ben.goz@amd.com >
[ROCm/ROCR-Runtime commit: bd7e10b0ec ]
2014-12-07 14:36:21 +02:00
Alexey Skidanov
a7bdd0fdff
Add GPU local memory module
...
Add graphic interop support
Local memory rework
Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com >
Reviewed-by: Oded Gabbay <oded.gabbay@amd.com >
Adjust to new ioctl format
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com >
[ROCm/ROCR-Runtime commit: 5d82c65602 ]
2014-10-13 11:29:39 +03:00
Oded Gabbay
22136281cb
Move from direct call to kfd_ioctl to wrapping kmtIoctl
...
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com >
[ROCm/ROCR-Runtime commit: 94c0329fc4 ]
2014-12-29 15:37:42 +02:00
Oded Gabbay
f231b71743
Change names of IOCTLS
...
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com >
[ROCm/ROCR-Runtime commit: 9f647b07ff ]
2014-12-29 13:34:32 +02:00
Andrew Lewycky
ce22121d6c
Add memory module
...
Signed-off-by: Andrew Lewycky <Andrew.Lewycky@amd.com >
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com >
[ROCm/ROCR-Runtime commit: 6a8a380ba3 ]
2014-07-29 13:56:31 +03:00
Oded Gabbay
a91aa132aa
Add skeleton driver which supports open and close
...
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com >
[ROCm/ROCR-Runtime commit: 85ba9efa18 ]
2014-07-29 11:16:00 +03:00