Commit-Graf

188 Incheckningar

Upphovsman SHA1 Meddelande Datum
Ben Sander 993ca9cee3 Link test with libc++ 2016-05-02 23:38:43 -05:00
Ben Sander 6e332a9c9c add make_hip_executable_libcpp 2016-05-02 23:32:52 -05:00
Ben Sander c7f583dcfb PASS with warning if not enough GPUs detected. 2016-05-02 13:37:14 -05:00
Ben Sander 1ccc900649 Explicitly include <string> 2016-05-02 12:49:53 -05:00
Ben Sander 4b1d3d2cba enable hipHostRegister 2016-04-28 17:54:03 -05:00
Aditya Atluri 00b89fc33d added hcc workweek to ldg test 2016-04-22 09:25:09 -05:00
Maneesh Gupta 75532471b2 Revert "added full data type support for __ldg"
This reverts commit ba59ea87ab.

Conflicts:
	include/hcc_detail/hip_ldg.h
2016-04-22 11:12:00 +05:30
Maneesh Gupta ffdf6ab23b Merge branch 'release_0.84.00' into privatestaging
Conflicts:
	include/hcc_detail/hip_runtime.h
	src/hip_hcc.cpp
2016-04-22 10:55:58 +05:30
Aditya Atluri 9ca8584ec0 reorg make_datatype feature 2016-04-21 14:51:19 -05:00
Aditya Atluri ba59ea87ab added full data type support for __ldg 2016-04-21 11:17:26 -05:00
Aditya Atluri f74b7a3636 added support pinned dma memcpy between host and device 2016-04-20 14:21:22 -05:00
Aditya Atluri 805b268ad4 added support for __ldg 2016-04-20 12:25:40 -05:00
Ben Sander 148799a371 build hipHostRegister but dont run it 2016-04-19 11:56:12 -05:00
Ben Sander e020d68309 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.
2016-04-18 20:49:33 -05:00
Ben Sander 8ec1aad95d test update 2016-04-17 07:54:39 -05:00
Ben Sander 49cc5aec91 Merge branch 'privatestaging' into p2p
Conflicts:
	include/hcc_detail/hip_hcc.h
	src/hip_hcc.cpp
2016-04-17 06:46:52 -05:00
Aditya Atluri 50d6cc6b11 added memcpy and p2p test 2016-04-16 17:38:06 -05:00
Ben Sander dcabc9dbf7 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.
2016-04-16 10:18:56 -05:00
streamhsa 76f2670cef Add __ldg 2016-04-16 21:12:09 +08:00
Maneesh Gupta 9c99b2af1c Remove some stale workweek references 2016-04-16 14:48:05 +05:30
Aditya Atluri 2e80de6dcb improved error returns for hipHostRegister/UnRegister functions 2016-04-15 10:42:31 -05:00
Aditya Atluri fa7a3822f6 added hipHostRegister/UnRegister api 2016-04-15 10:08:10 -05:00
Maneesh Gupta 5a31bad821 Replace /opt/hcc -> /opt/rocm/hcc and /opt/hsa -> /opt/rocm/hsa 2016-04-15 12:56:31 +05:30
Ben Sander b0529e04f1 Clean up disable.
Add USE_HCC_LOCK (disabled)
Disable USE_PEER_TO_PEER.
2016-04-11 09:09:36 -05:00
Ben Sander 4a0c0479d4 add simple negative P2P tests 2016-04-11 07:58:59 -05:00
Ben Sander 83f0de7806 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.
2016-04-11 07:58:59 -05:00
Ben Sander c2d37b4bbd 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.
2016-04-11 07:58:58 -05:00
Ben Sander 40d24f67f5 Improve P2P test.
Add option to select which device does the copy.
2016-04-11 07:58:58 -05:00
Ben Sander eeb41955e4 Fix simple P2P test, had device ptrs swapped 2016-04-11 07:58:58 -05:00
Ben Sander 71dac8e37c Add simple P2P test 2016-04-11 07:58:58 -05:00
Aditya Atluri f85ed17fde changed c/hip xcompiling source 2016-04-11 13:26:09 -05:00
Aditya Atluri d5feabfa1c added C guard to hip_runtime.h 2016-04-11 13:01:02 -05:00
Aditya Atluri 07d570468e added hipHostRegister support no multi-gpu 2016-04-11 10:28:16 -05:00
Aditya Atluri 3fd99b49e0 added copyrights to experimental/xcompile 2016-04-09 14:45:39 -05:00
Aditya Atluri 153d5f8e1b xcompilation tests 2016-04-09 14:40:17 -05:00
Maneesh Gupta 34ee916681 Directed tests: make HIP_BUILD_LOCAL as default 2016-04-09 22:05:45 +05:30
Aditya Atluri 1dcdfc93f1 Added feature for cross-compilation and seperated hcc api from hip api 2016-04-06 14:18:51 -05:00
Maneesh Gupta 033269c513 Enable directed tests to build HIP locally via cmake option 2016-04-04 13:53:24 +05:30
Maneesh Gupta 9fd0a182f6 Revert "Initial (non-default) support for shared library HIP"
This reverts commit 9de57129b4.
2016-04-01 16:07:07 +05:30
Maneesh Gupta 9de57129b4 Initial (non-default) support for shared library HIP 2016-04-01 15:45:32 +05:30
Aditya Atluri 26985b746b added device math functions 2016-03-31 12:29:19 -05:00
Aditya Atluri 72c72d8748 moved cpp specific device code from headers to source 2016-03-31 04:45:00 -05:00
Aditya Atluri ea3ebcb3de Added directory for stress testing 2016-03-31 02:14:12 -05:00
Aditya Atluri 3f5ba43837 Fixed failing tests 2016-03-30 13:00:44 -05:00
Aditya Atluri 496da0aabd C guarding the apis 2016-03-30 06:08:50 -05:00
Aditya Atluri 39af5d9caf Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-29 11:18:09 -05:00
Ben Sander a37a019b01 rename to hipMultiThreadDevice for consistency 2016-03-29 17:33:29 -05:00
Ben Sander 23e5eb8912 Test improvements
- partition hipThreadSafeDevice into smaller pieces.
- Add debug to hipMultiThreadStream.
- print more precision when mismatch detected.
- enable more tests in CMakeFiles.txt.
2016-03-29 17:29:31 -05:00
Ben Sander ce4052f09c Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-29 17:12:36 -05:00
Ben Sander fb7862dba3 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-29 14:43:35 -05:00