Ben Sander
ab910efb96
hipHostRegister and hipHostMalloc refactor.
...
Note hipHostMalloc (not hipHostAlloc or hipMallocHost).
- the hipHost* is used for all HIP APIs dealing with Host memory.
(including hipHostMalloc, hipHostFree, hipHostRegister,
hipHostUnregister, hipHostGetFlags, hipHostGetDevicePointer).
- hipMallocHost is consistent with "hipMalloc" for allocating device
memory. Enumerations hipHostMalloc* also used as optional
flags parm to hipHostMalloc.
2016-03-22 02:30:10 -05:00
Aditya Atluri
cbdc8c277c
Deprecating hipMallocHost to hipHostAlloc
2016-03-15 06:30:16 -05:00
Ben Sander
cc7517b57e
Refactor memccpy tests.
...
- Add "hipMemcpy_simple" - some simple smoke tests.
- Run memcpy 3 times w/ different switches for kinds, sizes,
multi-thread.
2016-03-07 17:15:48 -06:00
Ben Sander
d319299ddb
Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker
...
Conflicts:
tests/src/hipMemcpy.cpp
2016-02-25 23:22:51 -06:00
Ben Sander
8b64c0dc62
Improve memory copy and commands switching
...
- Add chicken bits to use host-side dependency management.
- Add optional PinInPlace path for unpinned copies
- Synchronize before pinned memcpy path.
- Add mutex to protect two threads launching to same stream.
2016-02-25 19:19:49 -06:00
Ben Sander
c2d66a48a7
Fix memcpy for Titan. Add <threads> to common includes
2016-02-22 15:09:23 -06:00
Ben Sander
ba224011b0
Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker
2016-02-17 23:06:51 -06:00
Ben Sander
fb883d9d03
Add comments to tests
2016-02-16 01:58:24 -06:00
Ben Sander
3ecd1b1539
Fix tests to account for multi-gpu
2016-02-15 05:19:52 -06:00
Ben Sander
6420655dc8
Add multi-threading synchonization on staging buffers and signals.
...
Also pre-allocate a couple signals for copies.
2016-02-13 03:18:01 -06:00
Ben Sander
b314777bc1
D2H multi-buffer
2016-02-13 01:15:23 -06:00
Ben Sander
1bfd3cdbd0
Improve copy testing
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
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
f38e63ff18
Initial commit for GPUOpen Launch
2016-01-26 20:14:33 -06:00