Ben Sander
0b0c55af04
Protect _stream_id as well.
...
- move lockedaccessor
- clean up device class.
- add simple ihipDevice constructor.
[ROCm/clr commit: c47b5b04ef ]
2016-03-26 11:45:25 -05:00
Ben Sander
e16e848d55
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/clr commit: 4dd77c6612 ]
2016-03-26 10:46:20 -05:00
Ben Sander
8c78956dcc
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/clr commit: 18d3dc606b ]
2016-03-25 17:12:13 -05:00
Ben Sander
bdc842f7f2
describe HIP_PLATFORM
...
[ROCm/clr commit: f8f839d9dd ]
2016-03-25 17:11:49 -05:00
Ben Sander
8cf3f24d5c
Improve automated platform detection.
...
If AMD GPU is installed and detected by driver, default
HIP_PLATFORM to hcc.
[ROCm/clr commit: 6d9eafa18a ]
2016-03-25 17:08:34 -05:00
pensun
b276e6b0d7
fix query of memoryClockRate and memoryBusWidth for both NV and HCC path
...
[ROCm/clr commit: a8ae62d399 ]
2016-03-25 09:24:08 -05:00
Aditya Atluri
4a292b8c70
updated hipdevicesync test
...
[ROCm/clr commit: d6bc773d5b ]
2016-03-25 06:41:49 -05:00
Aditya Atluri
ba8c181e21
added functional tests for hip device apis
...
[ROCm/clr commit: 65510d6e4c ]
2016-03-25 05:49:33 -05:00
Maneesh Gupta
cc18cc9574
Fix release notes and minimum required hcc workweek check
...
[ROCm/clr commit: ac57672eaa ]
2016-03-25 16:08:00 +05:30
Maneesh Gupta
06b14f75c3
Update release notes
...
[ROCm/clr commit: e30a4d7819 ]
2016-03-25 16:07:06 +05:30
Ben Sander
ecd13f750d
report linux distro if possible
...
[ROCm/clr commit: 120d45b0dc ]
2016-03-24 22:12:41 -05:00
Ben Sander
754ffcc0b3
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/clr commit: 3f211cce30 ]
2016-03-24 21:58:20 -05:00
Aditya Atluri
5a2271950f
updated CR
...
[ROCm/clr commit: dd692b6077 ]
2016-03-24 21:48:27 -05:00
Ben Sander
e9764276c0
add note on using HIP_PLATFORM to force hcc path
...
[ROCm/clr commit: 01ac10e345 ]
2016-03-24 14:33:11 -05:00
Ben Sander
ab18a2cf7b
Update release to include new make system. Remove old Makefile.
...
[ROCm/clr commit: 663d1baa19 ]
2016-03-24 14:08:08 -05:00
Ben Sander
2946e3c3dc
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/clr commit: 8f9e433b1a ]
2016-03-24 14:05:58 -05:00
Ben Sander
82dff2b93e
Provcide more flexiblity in using HIP_PATH to control installation.
...
Also improve docs for developers / contributing.
[ROCm/clr commit: bcba591852 ]
2016-03-24 13:33:07 -05:00
Ben Sander
8bb8afd08a
revert CMakelists
...
[ROCm/clr commit: 84ccbcada0 ]
2016-03-24 13:20:25 -05:00
Ben Sander
34e54738b4
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/clr commit: 3f56bfba22 ]
2016-03-24 13:10:33 -05:00
Ben Sander
ceecbad85b
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/clr commit: 34976e357d ]
2016-03-24 11:53:33 -05:00
Aditya Atluri
99a32af732
corrected cmake
...
[ROCm/clr commit: 6915046b27 ]
2016-03-24 11:17:57 -05:00
Ben Sander
539f1a419f
Set /opt/hcc correctly if HCC_HOME not defined
...
[ROCm/clr commit: 890ec4c45c ]
2016-03-24 10:50:08 -05:00
Ben Sander
e3f2a8167c
CMake improvements.
...
- Directed tests build hip_hcc as subdir.
- Support HCC_HOME env var to control which HCC to use for build
hip_hcc.
[ROCm/clr commit: 0e92a64b95 ]
2016-03-24 10:16:35 -05:00
Ben Sander
245d48de79
Partition hip_hcc into sections
...
Separate files for different categories of HIP API.
Currently just #include into hip_hcc.cpp
[ROCm/clr commit: e52c3d9fe0 ]
2016-03-24 09:28:54 -05:00
Aditya Atluri
a38af0305f
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/clr commit: f1584e971c ]
2016-03-24 07:34:10 -05:00
Aditya Atluri
256403548b
Added canMapMemory feature to device properties
...
[ROCm/clr commit: 2dacc3e161 ]
2016-03-24 07:33:24 -05:00
Aditya Atluri
fba45193cd
added CR and hipsetdeviceflags func
...
[ROCm/clr commit: eea49cb66b ]
2016-03-24 07:04:01 -05:00
Aditya Atluri
bd9979eda6
Split files based on functionality and changed cmake file
...
[ROCm/clr commit: 1c55019322 ]
2016-03-24 04:57:30 -05:00
Maneesh Gupta
bcb314bf46
Allow HIP installation to be portable
...
[ROCm/clr commit: b25d041769 ]
2016-03-24 11:19:16 +05:30
Aditya Atluri
c7d77c40c1
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/clr commit: 68c3e5fa88 ]
2016-03-23 13:01:03 -05:00
Aditya Atluri
5f3d917b4c
moved variables to headers
...
[ROCm/clr commit: c1ad70ad4b ]
2016-03-23 12:59:52 -05:00
Aditya Atluri
a94ecf9325
Update README.md
...
[ROCm/clr commit: 29de33cf9c ]
2016-03-23 18:16:11 -05:00
sunway513
62ac6d88e4
fix permissions for files in bin folder and install location
...
[ROCm/clr commit: 925cac22c7 ]
2016-03-23 12:33:14 -05:00
Aditya Atluri
1d31895043
reverted back to old infra with cmake added
...
[ROCm/clr commit: 29119bd3d4 ]
2016-03-23 11:13:02 -05:00
Aditya Atluri
ae129d2f57
Update README.md
...
[ROCm/clr commit: 3f595826f3 ]
2016-03-23 15:05:50 -05:00
Aditya Atluri
85bcb2e3b8
WIP added modular feature for device apis
...
[ROCm/clr commit: 64c4c70e4f ]
2016-03-23 07:54:01 -05:00
Aditya Atluri
b1d58c15ff
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/clr commit: 25c7557957 ]
2016-03-23 11:40:18 -05:00
Aditya Atluri
3becf113bd
Logging dispatch latency through database util
...
[ROCm/clr commit: 867554c423 ]
2016-03-23 11:39:57 -05:00
Siu Chi Chan
063e277e25
Merge pull request #18 from AMDComputeLibraries/grid_launch_index
...
Grid launch index fix
[ROCm/clr commit: 24496b1c38 ]
2016-03-23 11:26:28 -05:00
Ben Sander
7f1f07363d
Update docs:
...
- Some comments in hip_hcc.cpp
- document hipHostRegister* flags.
- expand docs on hipHostRegister/Unregister. Use "register" rather than
"pin" to describe action these take.
- change required CUDA version to 6 (require unified memory)
- remake doxygen.
[ROCm/clr commit: 3ca91cf327 ]
2016-03-23 23:11:15 -05:00
scchan
e1ee01dd60
add compiler version guard to the grid launch fix
...
[ROCm/clr commit: 1313f1fb77 ]
2016-03-23 11:24:37 -05:00
scchan
56d4054bc8
fix builtins mapping for IDs and Dims
...
[ROCm/clr commit: 671128abb0 ]
2016-03-23 11:08:28 -05:00
Aditya Atluri
49946441ab
fixed hipHostGetFlags test
...
[ROCm/clr commit: e9e84d2db6 ]
2016-03-23 02:45:21 -05:00
Aditya Atluri
53bdbdc81b
Remove redundant hpiHostGetDevicePointer
...
[ROCm/clr commit: b1b6d5e648 ]
2016-03-23 09:21:02 -05:00
Ben Sander
4f295f4358
Add USE_AV_COPY (replaces calls to am_copy with new acc_view::copy
...
[ROCm/clr commit: 6fb2367b66 ]
2016-03-23 10:30:53 -05:00
Ben Sander
72332dccb7
use the CPU_Agent for memory copies to indicate direction.
...
[ROCm/clr commit: f3ac666a7a ]
2016-03-23 10:29:44 -05:00
Ben Sander
f70dc3c245
Only include activity logger if CodeXL installed.
...
Fix hipHostMalloc in hipBusBandwidth.
[ROCm/clr commit: 004b4ada93 ]
2016-03-22 09:27:10 -05:00
Ben Sander
18a4fdb1b6
remove unneeded files
...
[ROCm/clr commit: 2a54c58cac ]
2016-03-23 03:41:01 -05:00
Ben Sander
236ac8e023
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
Conflicts:
src/hip_hcc.cpp
[ROCm/clr commit: 8954e4fb26 ]
2016-03-23 03:22:09 -05:00
Ben Sander
8c25bc63b9
Add unique stream_id to devices to improve debug
...
[ROCm/clr commit: dc86743b35 ]
2016-03-23 03:17:19 -05:00