커밋 그래프

173 커밋

작성자 SHA1 메시지 날짜
Ben Sander ab9f7bcd42 build hipHostRegister but dont run it
[ROCm/hip commit: 148799a371]
2016-04-19 11:56:12 -05:00
Maneesh Gupta 3f53916968 Remove some stale workweek references
[ROCm/hip commit: 9c99b2af1c]
2016-04-16 14:48:05 +05:30
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
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
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 fc4af30e16 Fix simple P2P test, had device ptrs swapped
[ROCm/hip commit: eeb41955e4]
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
Aditya Atluri 1ede540713 changed c/hip xcompiling source
[ROCm/hip commit: f85ed17fde]
2016-04-11 13:26:09 -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 ed3013cb6e added hipHostRegister support no multi-gpu
[ROCm/hip commit: 07d570468e]
2016-04-11 10:28:16 -05:00
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
Aditya Atluri cf9cefcb6a Added feature for cross-compilation and seperated hcc api from hip api
[ROCm/hip commit: 1dcdfc93f1]
2016-04-06 14:18:51 -05:00
Maneesh Gupta efdb946fba Enable directed tests to build HIP locally via cmake option
[ROCm/hip commit: 033269c513]
2016-04-04 13:53:24 +05:30
Maneesh Gupta 86dc2e5f77 Revert "Initial (non-default) support for shared library HIP"
This reverts commit 44cdc3c6a5.


[ROCm/hip commit: 9fd0a182f6]
2016-04-01 16:07:07 +05:30
Maneesh Gupta 44cdc3c6a5 Initial (non-default) support for shared library HIP
[ROCm/hip commit: 9de57129b4]
2016-04-01 15:45:32 +05:30
Aditya Atluri 70c1ac9285 added device math functions
[ROCm/hip commit: 26985b746b]
2016-03-31 12:29:19 -05:00
Aditya Atluri fe0f4e8bc2 moved cpp specific device code from headers to source
[ROCm/hip commit: 72c72d8748]
2016-03-31 04:45:00 -05:00
Aditya Atluri 2514b57970 Added directory for stress testing
[ROCm/hip commit: ea3ebcb3de]
2016-03-31 02:14:12 -05:00
Aditya Atluri c7d4da60ad Fixed failing tests
[ROCm/hip commit: 3f5ba43837]
2016-03-30 13:00:44 -05:00
Aditya Atluri afd8f2bcfc C guarding the apis
[ROCm/hip commit: 496da0aabd]
2016-03-30 06:08:50 -05:00
Aditya Atluri f052a2752a Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/hip commit: 39af5d9caf]
2016-03-29 11:18:09 -05:00
Ben Sander 55bd3a8d0c rename to hipMultiThreadDevice for consistency
[ROCm/hip commit: a37a019b01]
2016-03-29 17:33:29 -05:00
Ben Sander 321933c08f Test improvements
- partition hipThreadSafeDevice into smaller pieces.
- Add debug to hipMultiThreadStream.
- print more precision when mismatch detected.
- enable more tests in CMakeFiles.txt.


[ROCm/hip commit: 23e5eb8912]
2016-03-29 17:29:31 -05:00
Ben Sander abf24c2147 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/hip commit: ce4052f09c]
2016-03-29 17:12:36 -05:00
Ben Sander 1f8e0e2e72 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/hip commit: fb7862dba3]
2016-03-29 14:43:35 -05:00
Aditya Atluri ffe185d731 Calling intrinsics from global kernel
[ROCm/hip commit: 61cd2bb399]
2016-03-29 11:17:55 -05:00
Aditya Atluri d0b0cda704 added host flags to hipDeviceBody test
[ROCm/hip commit: f518d0f818]
2016-03-29 09:27:57 -05:00
Aditya Atluri b7284988d6 Added tests for running device code from a difference source file
[ROCm/hip commit: 2f46ada042]
2016-03-29 09:22:31 -05:00
Ben Sander 9e50af9124 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
Conflicts:
	include/hcc_detail/trace_helper.h


[ROCm/hip commit: 756c0edf9b]
2016-03-29 05:56:03 -05:00
Aditya Atluri 79fea63bb7 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/hip commit: 4584fb4453]
2016-03-29 02:28:20 -05:00
Aditya Atluri 811d6d52ea Not using classes inside headers
[ROCm/hip commit: f01810183b]
2016-03-29 02:27:51 -05:00
scchan 63636b07a8 remove the --hipcc_explicit_lib
[ROCm/hip commit: 2ddb8fface]
2016-03-28 13:56:23 -05:00
Ben Sander 6f88d31a1f Protect _stream_id as well.
- move lockedaccessor
- clean up device class.
- add simple ihipDevice constructor.


[ROCm/hip commit: 395e7eab96]
2016-03-26 11:45:25 -05:00
Ben Sander 141ccad414 Make ihipDevice_t thread-safe.
Move critical data into separate class and protect with LockAccessor
wrapper class.

For device, the streams list is the critical data since it is modified when
streams are created or destroyed.   The streams list is accessed in
several places including when synchronizing across all streams on the
device (ie from the default stream).
Other device data is set once by the device cosntructor and is not critical
so

All functions which acquire the LockAccessor now named with "locked_" prefix.


[ROCm/hip commit: 530ab9434a]
2016-03-26 10:46:20 -05:00
Aditya Atluri db0cd634ba Added test for C + HIP
[ROCm/hip commit: a5628ddfb4]
2016-03-25 13:45:28 -05:00
Aditya Atluri fca3c4b260 updated hipdevicesync test
[ROCm/hip commit: b371dd58ea]
2016-03-25 06:41:49 -05:00
Aditya Atluri 3b32a4a8da added functional tests for hip device apis
[ROCm/hip commit: 7a0066eb6f]
2016-03-25 05:49:33 -05:00
Aditya Atluri 37df83870e updated CR
[ROCm/hip commit: bf3828cdb9]
2016-03-24 21:48:27 -05:00
Aditya Atluri 2005380573 corrected cmake
[ROCm/hip commit: ae46b221df]
2016-03-24 11:17:57 -05:00
Aditya Atluri 859aed59b6 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/hip commit: 90dec927d3]
2016-03-24 07:34:10 -05:00
Ben Sander ccdaa5eee0 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/hip commit: 0845164012]
2016-03-24 14:05:58 -05:00
Ben Sander 60a2a67d46 Provcide more flexiblity in using HIP_PATH to control installation.
Also improve docs for developers / contributing.


[ROCm/hip commit: f3ad047194]
2016-03-24 13:33:07 -05:00
Ben Sander 3c6f786cf6 revert CMakelists
[ROCm/hip commit: 5e3428acc1]
2016-03-24 13:20:25 -05:00
Ben Sander 2a27b6df99 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/hip commit: c567189cb8]
2016-03-24 13:10:33 -05:00
Ben Sander 19760d3390 Add --hipcc_explicit_lib option
Tells hipcc not to add /opt/hip or -lhip_hcc to command-line
(since it has already been done).


[ROCm/hip commit: eb33395045]
2016-03-24 11:53:33 -05:00