Aditya Atluri
ca5ca85645
fixed hipmemset to use native ihip api
...
[ROCm/hip commit: a730d60930 ]
2016-04-25 11:05:30 -05:00
Ben Sander
32f9d67741
Fixes for P2P and hipDeviceReset
...
- devicereset would lose track of default stream and thus subsequent
synchronization calls might not actually sychronize.
- Also deviceReset now correctly frees streams.
- fix waits in P2P staging copy - first phase (Device0-to-Staging) must
wait for second phase (Staging to Device1) to finish draining the
buffer.
[ROCm/hip commit: e020d68309 ]
2016-04-18 20:49:33 -05:00
Ben Sander
3817725dad
test update
...
[ROCm/hip commit: 8ec1aad95d ]
2016-04-17 07:54:39 -05:00
Ben Sander
698ea7f30f
Move HIP_HCC define to CMake
...
[ROCm/hip commit: 65abde6626 ]
2016-04-17 07:40:04 -05:00
Ben Sander
95e4be12de
fix direction of peer enable/disable APIs
...
- Enable(peerId) makes memory physically located on peer visible to
current device.
[ROCm/hip commit: 74a7dee58f ]
2016-04-17 07:38:05 -05:00
Ben Sander
262b69f387
Merge branch 'privatestaging' into p2p
...
Conflicts:
include/hcc_detail/hip_hcc.h
src/hip_hcc.cpp
[ROCm/hip commit: 49cc5aec91 ]
2016-04-17 06:46:52 -05:00
Aditya Atluri
ae672297dc
added memcpy and p2p test
...
[ROCm/hip commit: 50d6cc6b11 ]
2016-04-16 17:38:06 -05:00
Aditya Atluri
0b2dfa28a5
Added copyright
...
[ROCm/hip commit: 8412e9cbba ]
2016-04-16 17:21:53 -05:00
Aditya Atluri
44db3bb0c1
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/hip commit: 846432a1c1 ]
2016-04-16 17:10:32 -05:00
Aditya Atluri
6cd86531b3
Corrected Memcpydefault
...
[ROCm/hip commit: 8dc1bdcbe6 ]
2016-04-16 17:10:13 -05:00
Ben Sander
d4f449a95e
P2P Update.
...
- add P2P staging buffer copy.
- If copy device does not have sufficient access permissions, fall back
to staging buffer.
- improve docs for which copy device is used.
[ROCm/hip commit: dcabc9dbf7 ]
2016-04-16 10:18:56 -05:00
streamhsa
e33cf35ce2
Add __ldg
...
[ROCm/hip commit: 76f2670cef ]
2016-04-16 21:12:09 +08:00
Aditya Atluri
69f7b859c2
Update README.md
...
[ROCm/hip commit: 22d15dcdbc ]
2016-04-15 11:08:48 -05:00
Aditya Atluri
c53211e700
improved error returns for hipHostRegister/UnRegister functions
...
[ROCm/hip commit: 2e80de6dcb ]
2016-04-15 10:42:31 -05:00
Aditya Atluri
4dd3424b15
added more features to hipHostRegister
...
[ROCm/hip commit: 8a43f18333 ]
2016-04-15 10:32:01 -05:00
Aditya Atluri
12cb3de301
added hipHostRegister/UnRegister api
...
[ROCm/hip commit: fa7a3822f6 ]
2016-04-15 10:08:10 -05:00
Maneesh Gupta
32e35b671d
Replace /opt/hcc -> /opt/rocm/hcc and /opt/hsa -> /opt/rocm/hsa
...
[ROCm/hip commit: 5a31bad821 ]
2016-04-15 12:56:31 +05:30
Maneesh Gupta
425c5f9ade
Split hip packages into smaller components
...
[ROCm/hip commit: f0e11d9856 ]
2016-04-15 12:13:04 +05:30
pensun
42df341237
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/hip commit: bdd26bd1f1 ]
2016-04-14 09:02:16 -05:00
Aditya Atluri
8c347cd30a
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/hip commit: facc7a39be ]
2016-04-14 09:17:30 -05:00
Aditya Atluri
3b82076adf
Enabling make_* device code
...
[ROCm/hip commit: 573224e55f ]
2016-04-14 09:17:13 -05:00
pensun
a708c400d3
Add missing cudaMemsetAsync transformation
...
[ROCm/hip commit: 234727c801 ]
2016-04-14 09:02:02 -05:00
Ben Sander
029595cee2
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/hip commit: 8712ae98c8 ]
2016-04-14 07:19:20 -05:00
Ben Sander
4eb447f7fa
update README for new make/installation steps, new FAQ
...
[ROCm/hip commit: 5bb753acde ]
2016-04-14 07:19:07 -05:00
Maneesh Gupta
3f0256a3b1
Add hip soft-link to include for migrating to new include format
...
[ROCm/hip commit: 011a0335d4 ]
2016-04-14 16:37:27 +05:30
Maneesh Gupta
4ee0549d4f
Change default HIP installation to /opt/rocm/hip
...
[ROCm/hip commit: 18af18476b ]
2016-04-14 16:36:55 +05:30
Ben Sander
05a43de72a
Fix HIP_PATH, CHECK macro in samples.
...
[ROCm/hip commit: 8bbe32a708 ]
2016-04-13 17:37:39 -05:00
Ben Sander
0618c39648
add hcc dialects sample
...
[ROCm/hip commit: 624b2f35ff ]
2016-04-13 17:32:38 -05:00
Jack Chung
181b44df3f
Add missing USE_PEER_TO_PEER macro definition
...
[ROCm/hip commit: 210ba67b84 ]
2016-04-13 13:56:26 +08:00
Aditya Atluri
10bc7e683f
Removed pragma once
...
[ROCm/hip commit: 4dfe27e8b5 ]
2016-04-12 09:22:03 -05:00
Maneesh Gupta
7dbb93af4e
Refactor and add support for nvcc path in cmake
...
[ROCm/hip commit: 119de66cd2 ]
2016-04-12 12:42:12 +05:30
Aditya Atluri
1ede540713
changed c/hip xcompiling source
...
[ROCm/hip commit: f85ed17fde ]
2016-04-11 13:26:09 -05:00
Aditya Atluri
40d74c820a
added back hc flag
...
[ROCm/hip commit: 9e7ee4062b ]
2016-04-11 13:04:13 -05:00
Aditya Atluri
817cda91ff
added C guard to hip_runtime.h
...
[ROCm/hip commit: d5feabfa1c ]
2016-04-11 13:01:02 -05:00
Aditya Atluri
953af3c48c
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/hip commit: ce6383f549 ]
2016-04-11 10:28:30 -05:00
Aditya Atluri
ed3013cb6e
added hipHostRegister support no multi-gpu
...
[ROCm/hip commit: 07d570468e ]
2016-04-11 10:28:16 -05:00
Ben Sander
5060403b2a
Merge branch 'p2p' of https://github.com/AMDComputeLibraries/HIP-privatestaging into p2p
...
Conflicts:
RELEASE.md
include/hcc_detail/hip_hcc.h
samples/1_Utils/hipInfo/hipInfo.cpp
src/hip_hcc.cpp
src/hip_peer.cpp
[ROCm/hip commit: 31dc13d2ec ]
2016-04-11 09:17:27 -05:00
Ben Sander
f38157a67c
add simple negative P2P tests
...
[ROCm/hip commit: c40c36aff7 ]
2016-04-11 13:46:53 -05:00
Ben Sander
7c92c9cc22
P2p checkpoint.
...
- set USE_PEER_TO_PEER=3 (requires HCC "am_memtracker_update_peers")
- when enabling peer, turn it on for previously allocated memory.
- hipDeviceCanAccessPeer is no longer self-ware (self does not qualify
as a peer)
- device peerlist always includes self, so when we call allow_access
we never remove self access.
- hipDeviceReset() removes old peer mappings.
[ROCm/hip commit: 1f53c55d3e ]
2016-04-11 12:52:18 -05:00
Ben Sander
b174e8bba7
Clean up disable.
...
Add USE_HCC_LOCK (disabled)
Disable USE_PEER_TO_PEER.
[ROCm/hip commit: b0529e04f1 ]
2016-04-11 09:09:36 -05:00
Maneesh Gupta
a7eda66d25
Checked in postinstall and pre-uninstall scripts for packaging
...
[ROCm/hip commit: 8efc2cb499 ]
2016-04-11 19:18:17 +05:30
Ben Sander
775e484517
fix peer query order
...
[ROCm/hip commit: e4d1863ce8 ]
2016-04-11 07:58:59 -05:00
Ben Sander
c8c269136c
add simple negative P2P tests
...
[ROCm/hip commit: 4a0c0479d4 ]
2016-04-11 07:58:59 -05:00
Ben Sander
c964e3c75a
P2p checkpoint.
...
- set USE_PEER_TO_PEER=3 (requires HCC "am_memtracker_update_peers")
- when enabling peer, turn it on for previously allocated memory.
- hipDeviceCanAccessPeer is no longer self-ware (self does not qualify
as a peer)
- device peerlist always includes self, so when we call allow_access
we never remove self access.
- hipDeviceReset() removes old peer mappings.
[ROCm/hip commit: 83f0de7806 ]
2016-04-11 07:58:59 -05:00
Ben Sander
a563ec9700
Improve P2P test.
...
- Ensure proper device is set before each command.
- Add command line switches:
+bool p_memcpyWithPeer = false; // use the peer device for the P2P copy
+bool p_mirrorPeers = false; // in addition to mapping current to peer
space, map peer to current space.
+int p_peerDevice = -1; // explicly specify which peer to use, else
use p_gpuDevice + 1.
[ROCm/hip commit: c2d37b4bbd ]
2016-04-11 07:58:58 -05:00
Ben Sander
07de649833
Improve P2P test.
...
Add option to select which device does the copy.
[ROCm/hip commit: 40d24f67f5 ]
2016-04-11 07:58:58 -05:00
Ben Sander
80e2e37c51
Remove stray debug msgs, hipInfo don't print self as peer.
...
[ROCm/hip commit: d89539d40f ]
2016-04-11 07:58:58 -05:00
Ben Sander
69a9feb1fb
fix bugs in P2P implementation
...
- addPeers polarity reversed, would never add.
- check allow_access return value, pipe error to hipMalloc.
[ROCm/hip commit: fb31eaf07b ]
2016-04-11 07:58:58 -05:00
Ben Sander
fc4af30e16
Fix simple P2P test, had device ptrs swapped
...
[ROCm/hip commit: eeb41955e4 ]
2016-04-11 07:58:58 -05:00
Ben Sander
c09e4adc03
Use HIP_PATH if set else use relative ../...
...
[ROCm/hip commit: 40e72dcd4a ]
2016-04-11 07:58:58 -05:00