نمودار کامیت

11 کامیت‌ها

مولف SHA1 پیام تاریخ
Ben Sander 11603764be Fix bug: test was allocating host mem instead of device mem.
Caused assertion when checking free + allocated should
not exceed total.  Bug introduced in hipHostAlloc conversion.


[ROCm/hip commit: 95e1c8eb32]
2016-03-19 04:11:39 -05:00
Aditya Atluri 4c54a8d9d5 Deprecating hipMallocHost to hipHostAlloc
[ROCm/hip commit: cbdc8c277c]
2016-03-15 06:30:16 -05:00
Aditya Avinash Atluri 4811b38a15 Changed test to match CUDA output of errors
We changed the test so that it runs on CUDA. As we are emulating CUDA behavior, this should pass on HIP.

[ROCm/hip commit: d4765d39a2]
2016-03-03 13:48:58 -06:00
Maneesh Gupta 69132a5a5b Fix hipPointerAttrib.cpp compilation on nvcc
[ROCm/hip commit: 403206074e]
2016-03-03 09:48:47 +05:30
Aditya Avinash Atluri ec7375ea3c Updated hipPointerAttrib.cpp to pass HC backend
The changes are according to the new API function change in HC backend for HIP. Especially hipPointerGetAttribute(...)

[ROCm/hip commit: 4c354c9888]
2016-02-26 19:42:07 -06:00
Ben Sander c989994613 Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker
[ROCm/hip commit: ba224011b0]
2016-02-17 23:06:51 -06:00
Ben Sander 787078f0b3 Add comments to tests
[ROCm/hip commit: fb883d9d03]
2016-02-16 01:58:24 -06:00
Ben Sander 9ccdbdca71 Fix tests to account for multi-gpu
[ROCm/hip commit: 3ecd1b1539]
2016-02-15 05:19:52 -06:00
Ben Sander b9dc0e9497 Query tracked memory sizes.
Support more accurate hipMemGetInfo.  Add test to hipPointerAttrib.


[ROCm/hip commit: d7396b5af3]
2016-02-12 18:24:08 -06:00
Ben Sander 680b600b4a Tracker improvements
- add API to add / remove user-pointers from the tracker.
- test for thread-safety with MultiThreadtest_2 - rapid
  insertions/removal.
- add mutex to provide thread-safety.
- rename tracker interface to "memtracker_..." for consistency.
- add am_memtracker_reset, connect to hipDeviceReset.
-


[ROCm/hip commit: de45e2291e]
2016-02-12 18:24:08 -06:00
Ben Sander d4a90f8afd Create address tracker for am_alloc.
Tracks device where memory is allocated, pinned-host or device, and
more.

Uses memory-range-based lookups - so pointers that exist anywhere in

the range of hostPtr + size will find the associated AmPointerInfo.

The insertions and lookups use a self-balancing binary tree and
should support O(logN) lookup speed.


[ROCm/hip commit: 4ee2a5229b]
2016-02-12 18:24:08 -06:00