German Andryeyev
6430a308fc
SWDEV-240804 - Allow system memory creation.
...
Always allocate managed memory in ROCclr and backend will decide
what kind of memory to use. Currently ROCclr should fall to
GPU accessible system memory if HMM isn't available
Change-Id: I71328687b2dd4a3f563571f2b755079d82dca433
2021-05-18 09:32:57 -04:00
German Andryeyev
31ae72a164
SWDEV-240804 - HMM changes
...
- Accept hipMemAttachHost flag
- Don't allocate HMM memory if HMM is disabled in KFD
Change-Id: I3d386eb0a109a19c16a87a728944a3a6669f643a
2021-05-10 13:50:21 -04:00
agodavar
995e6336c6
SWDEV-255979 - Added support of __managed__ static variable
...
Change-Id: I9d5cbbecc8c19ec38a95c94ab4130465ba76c102
2021-02-17 13:01:29 -05:00
German Andryeyev
23a9cb15eb
Fix error codes in HMM interfaces
...
Change-Id: I16490c575f2840b1116a4135431a611cf812f3a4
2020-10-05 12:54:16 -04:00
German Andryeyev
505877acea
Allow prefetch on the null stream
...
Change-Id: I87e950460361fab65ab140988fc2288bcb194f08
2020-08-12 13:07:43 -04:00
Rahul Garg
d620a25b64
Return error from hipMallocManaged for size =0
...
Change-Id: Ida0cecf05e1df731176d41e59422d1e606cc9bd9
2020-08-10 18:25:31 +00:00
Vlad Sytchenko
a6aef2a36a
Fix -Wsign-compare warnings
...
Change-Id: I874dc007ac657c25a72c6752c1a2da74c028a822
2020-06-17 11:20:45 -04:00
German Andryeyev
f4211c3905
Initial support for HIP managed memory
...
- Call the new ROCclr interfaces for HMM
Change-Id: I2cd1bf438f712a9e9e328340e7d0c025257ca6c1
2020-06-15 18:10:41 -04:00