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
Ben Sander
85f22fe7db
Print peers in hipConfig.
...
Also include peer APIs in vim hilighting.
[ROCm/hip commit: 0ac41ad143 ]
2016-04-11 07:58:58 -05:00
Ben Sander
00c7d8dbbc
Add simple P2P test
...
[ROCm/hip commit: 71dac8e37c ]
2016-04-11 07:58:58 -05:00
Ben Sander
216c9a0c16
Use HCC get_is_pool, add USE_PEER_TO_PEER level 2, 3.
...
[ROCm/hip commit: 7a11a2178d ]
2016-04-11 07:58:58 -05:00
Ben Sander
06e2dbd128
For P2P, use the peer list when allocating Device memory or pinned host.
...
Each new allocation is automatically mapped into the address space of
all enabled peers.
[ROCm/hip commit: 813b063888 ]
2016-04-11 07:58:58 -05:00
Ben Sander
ac11c83d76
P2P checkpoint.
...
Maintain enabled peer tables for each device.
[ROCm/hip commit: f2aa470f7f ]
2016-04-11 07:58:58 -05:00
Ben Sander
56d684e2fe
Checkpoint initial peer2peer implementation.
...
[ROCm/hip commit: 69f2469cbb ]
2016-04-11 07:58:58 -05:00
Maneesh Gupta
0b482f8876
Initial support for building HIP packages
...
[ROCm/hip commit: a2cd2ea6fa ]
2016-04-11 16:33:28 +05:30
Aditya Atluri
c47b722b14
added copyrights to experimental/xcompile
...
[ROCm/hip commit: 3fd99b49e0 ]
2016-04-09 14:45:39 -05:00
Aditya Atluri
d106b7a51c
xcompilation tests
...
[ROCm/hip commit: 153d5f8e1b ]
2016-04-09 14:40:17 -05:00
Maneesh Gupta
40e3312283
Directed tests: make HIP_BUILD_LOCAL as default
...
[ROCm/hip commit: 34ee916681 ]
2016-04-09 22:05:45 +05:30
Ben Sander
92b4e79cda
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: b11bd9bbe3 ]
2016-04-09 05:03:32 -05:00
Ben Sander
09f4fc4188
Improve P2P test.
...
Add option to select which device does the copy.
[ROCm/hip commit: 466ab79f16 ]
2016-04-09 04:47:12 -05:00
Ben Sander
772983e547
Remove stray debug msgs, hipInfo don't print self as peer.
...
[ROCm/hip commit: 816de09842 ]
2016-04-09 04:35:06 -05:00
Ben Sander
70108729ba
fix bugs in P2P implementation
...
- addPeers polarity reversed, would never add.
- check allow_access return value, pipe error to hipMalloc.
[ROCm/hip commit: 7886c9e3d9 ]
2016-04-09 04:11:31 -05:00
Ben Sander
b98a6bd1cd
Fix simple P2P test, had device ptrs swapped
...
[ROCm/hip commit: 4d394694ae ]
2016-04-08 09:23:02 -05:00
Ben Sander
6fafe64cb0
Use HIP_PATH if set else use relative ../...
...
[ROCm/hip commit: 597f3ed86d ]
2016-04-08 02:17:29 -05:00
Ben Sander
d790a73707
Print peers in hipConfig.
...
Also include peer APIs in vim hilighting.
[ROCm/hip commit: 01108b63ae ]
2016-04-08 02:15:46 -05:00
Ben Sander
bc45411c71
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/hip commit: 11c22b24b7 ]
2016-04-07 15:55:35 -05:00