76333 Commits

Autor SHA1 Mensaje Fecha
Ben Sander 42257c5d71 Add D2H test 2016-02-12 22:46:34 -06:00
Ben Sander 06e7be346a Add D2H test
[ROCm/clr commit: 81c275da13]
2016-02-12 22:46:34 -06:00
Ben Sander 81c275da13 Add D2H test 2016-02-12 22:46:34 -06:00
Ben Sander 05e9d398f4 Add D2H test
[ROCm/hip commit: 559db057d5]
2016-02-12 22:46:34 -06:00
Ben Sander 559db057d5 Add D2H test 2016-02-12 22:46:34 -06:00
Ben Sander cb84597d5e Add Bus Bandwidth test, leveraged from SHOC.
[ROCm/hip-tests commit: 8cb885f03a]
2016-02-12 21:30:43 -06:00
Ben Sander 8cb885f03a Add Bus Bandwidth test, leveraged from SHOC. 2016-02-12 21:30:43 -06:00
Ben Sander ea298fae23 Add Bus Bandwidth test, leveraged from SHOC.
[ROCm/clr commit: ba7497b409]
2016-02-12 21:30:43 -06:00
Ben Sander ba7497b409 Add Bus Bandwidth test, leveraged from SHOC. 2016-02-12 21:30:43 -06:00
Ben Sander b21c2ecfa4 Add Bus Bandwidth test, leveraged from SHOC.
[ROCm/hip commit: f3fd6476eb]
2016-02-12 21:30:43 -06:00
Ben Sander f3fd6476eb Add Bus Bandwidth test, leveraged from SHOC. 2016-02-12 21:30:43 -06:00
Ben Sander b8ea1ec374 Improve copy testing
[ROCm/clr commit: 2353cbb028]
2016-02-12 18:24:08 -06:00
Ben Sander 2353cbb028 Improve copy testing 2016-02-12 18:24:08 -06:00
Ben Sander a835134f8e Improve copy testing
[ROCm/hip commit: 1bfd3cdbd0]
2016-02-12 18:24:08 -06:00
Ben Sander 1bfd3cdbd0 Improve copy testing 2016-02-12 18:24:08 -06:00
Ben Sander 4dfe77a99b Improve copy testing implementation.
- add tests for (unpinned/pinned) x H2H x D2D.
- Free memory at end of test.


[ROCm/clr commit: 1128610801]
2016-02-12 18:24:08 -06:00
Ben Sander 1128610801 Improve copy testing implementation.
- add tests for (unpinned/pinned) x H2H x D2D.
- Free memory at end of test.
2016-02-12 18:24:08 -06:00
Ben Sander 83eb66eb8e Improve copy testing implementation.
- add tests for (unpinned/pinned) x H2H x D2D.
- Free memory at end of test.


[ROCm/hip commit: 134d7975ce]
2016-02-12 18:24:08 -06:00
Ben Sander 134d7975ce Improve copy testing implementation.
- add tests for (unpinned/pinned) x H2H x D2D.
- Free memory at end of test.
2016-02-12 18:24:08 -06:00
Ben Sander 89e461988e Step1 in staging buffer copy.
- use StagingBuffer class for copies.
- refactor g_device to use array rather than vector.
   (keeps pointers from moving).


[ROCm/clr commit: 90af462b85]
2016-02-12 18:24:08 -06:00
Ben Sander 90af462b85 Step1 in staging buffer copy.
- use StagingBuffer class for copies.
- refactor g_device to use array rather than vector.
   (keeps pointers from moving).
2016-02-12 18:24:08 -06:00
Ben Sander c441d5ec29 Step1 in staging buffer copy.
- use StagingBuffer class for copies.
- refactor g_device to use array rather than vector.
   (keeps pointers from moving).


[ROCm/hip commit: 24c1fdb864]
2016-02-12 18:24:08 -06:00
Ben Sander 24c1fdb864 Step1 in staging buffer copy.
- use StagingBuffer class for copies.
- refactor g_device to use array rather than vector.
   (keeps pointers from moving).
2016-02-12 18:24:08 -06:00
Ben Sander 5978d5f372 Query tracked memory sizes.
Support more accurate hipMemGetInfo.  Add test to hipPointerAttrib.


[ROCm/clr commit: f464cedcf4]
2016-02-12 18:24:08 -06:00
Ben Sander f464cedcf4 Query tracked memory sizes.
Support more accurate hipMemGetInfo.  Add test to hipPointerAttrib.
2016-02-12 18:24:08 -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 d7396b5af3 Query tracked memory sizes.
Support more accurate hipMemGetInfo.  Add test to hipPointerAttrib.
2016-02-12 18:24:08 -06:00
Ben Sander 80d7c867d1 Remove ! USE_PINNED_HOST support
[ROCm/clr commit: f2c1bf3bc0]
2016-02-12 18:24:08 -06:00
Ben Sander f2c1bf3bc0 Remove ! USE_PINNED_HOST support 2016-02-12 18:24:08 -06:00
Ben Sander c1fd0e1608 Remove ! USE_PINNED_HOST support
[ROCm/hip commit: 0370cd1cfc]
2016-02-12 18:24:08 -06:00
Ben Sander 0370cd1cfc Remove ! USE_PINNED_HOST support 2016-02-12 18:24:08 -06:00
Ben Sander 712750e1a5 Use memtracker 'appID' to store deviceID associated with ptr
[ROCm/clr commit: c04b5d3afb]
2016-02-12 18:24:08 -06:00
Ben Sander c04b5d3afb Use memtracker 'appID' to store deviceID associated with ptr 2016-02-12 18:24:08 -06:00
Ben Sander 305076d78f Use memtracker 'appID' to store deviceID associated with ptr
[ROCm/hip commit: 00fd172c64]
2016-02-12 18:24:08 -06:00
Ben Sander 00fd172c64 Use memtracker 'appID' to store deviceID associated with ptr 2016-02-12 18:24:08 -06:00
Ben Sander 2089e549eb 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/clr commit: 7216727fba]
2016-02-12 18:24:08 -06:00
Ben Sander 7216727fba 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.
-
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 de45e2291e 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.
-
2016-02-12 18:24:08 -06:00
Ben Sander fe67be1134 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/clr commit: 721508cc2f]
2016-02-12 18:24:08 -06:00
Ben Sander 721508cc2f 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.
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
Ben Sander 4ee2a5229b 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.
2016-02-12 18:24:08 -06:00
Ben Sander a50fa0f78e Fix bug in device bounds comparison.
Shows up in multi-GPU.


[ROCm/clr commit: f1bc9af294]
2016-02-12 18:24:08 -06:00
Ben Sander f1bc9af294 Fix bug in device bounds comparison.
Shows up in multi-GPU.
2016-02-12 18:24:08 -06:00
Ben Sander 0a6e6e3b7e Fix bug in device bounds comparison.
Shows up in multi-GPU.


[ROCm/hip commit: e483eea85b]
2016-02-12 18:24:08 -06:00
Ben Sander e483eea85b Fix bug in device bounds comparison.
Shows up in multi-GPU.
2016-02-12 18:24:08 -06:00
Nathan Luehr b5a2ca138d Fixed buffer overflow in ReduceOrCopy
Bug caused AllGathers and ReduceScatters of less than
8 bytes to fail in certain cases.

Change-Id: I33e1beb50805bfdb457ae16a90e3f91c1b283b9b
Reviewed-on: http://git-master/r/1011505
Reviewed-by: Przemek Tredak <ptredak@nvidia.com>
Tested-by: Przemek Tredak <ptredak@nvidia.com>


[ROCm/rccl commit: 9442285526]
2016-02-12 15:13:56 -08:00
Nathan Luehr 9442285526 Fixed buffer overflow in ReduceOrCopy
Bug caused AllGathers and ReduceScatters of less than
8 bytes to fail in certain cases.

Change-Id: I33e1beb50805bfdb457ae16a90e3f91c1b283b9b
Reviewed-on: http://git-master/r/1011505
Reviewed-by: Przemek Tredak <ptredak@nvidia.com>
Tested-by: Przemek Tredak <ptredak@nvidia.com>
2016-02-12 15:13:56 -08:00
Harish Kasiviswanathan 04b92b8e05 gfx803: Add performance counter information
Change-Id: Id81b43e90029306f03c84752cef06dc336e3a4a9
2016-02-12 16:39:39 -05:00