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
Ben Sander
22aba5c9c5
Set /opt/hcc correctly if HCC_HOME not defined
...
[ROCm/hip commit: a24361df6f ]
2016-03-24 10:50:08 -05:00
Ben Sander
08ba8339bb
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/hip commit: c4e1aba862 ]
2016-03-24 10:16:35 -05:00
Ben Sander
edec342c20
Partition hip_hcc into sections
...
Separate files for different categories of HIP API.
Currently just #include into hip_hcc.cpp
[ROCm/hip commit: 655534b1ba ]
2016-03-24 09:28:54 -05:00
Aditya Atluri
702672c3df
Split files based on functionality and changed cmake file
...
[ROCm/hip commit: 794007c3e8 ]
2016-03-24 04:57:30 -05:00
Maneesh Gupta
4d54641625
Allow HIP installation to be portable
...
[ROCm/hip commit: 04d0bdfeaa ]
2016-03-24 11:19:16 +05:30
Aditya Atluri
1c2a80ef8f
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/hip commit: 5491654450 ]
2016-03-23 13:01:03 -05:00
Aditya Atluri
e0c6809779
moved variables to headers
...
[ROCm/hip commit: 7920fd9a47 ]
2016-03-23 12:59:52 -05:00
Aditya Atluri
ee280265ea
Update README.md
...
[ROCm/hip commit: 3bece3798b ]
2016-03-23 18:16:11 -05:00
sunway513
a70318160c
fix permissions for files in bin folder and install location
...
[ROCm/hip commit: a6eac51379 ]
2016-03-23 12:33:14 -05:00
Aditya Atluri
6841aa084c
reverted back to old infra with cmake added
...
[ROCm/hip commit: 5637bde4b3 ]
2016-03-23 11:13:02 -05:00
Aditya Atluri
c667d9c170
Update README.md
...
[ROCm/hip commit: de91445e20 ]
2016-03-23 15:05:50 -05:00
Aditya Atluri
4ca4cae3fa
WIP added modular feature for device apis
...
[ROCm/hip commit: 89bfc0e375 ]
2016-03-23 07:54:01 -05:00
Aditya Atluri
459a8c2104
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/hip commit: dc429aade6 ]
2016-03-23 11:40:18 -05:00
Aditya Atluri
ad91545586
Logging dispatch latency through database util
...
[ROCm/hip commit: 78407ea40a ]
2016-03-23 11:39:57 -05:00
Siu Chi Chan
e964f00377
Merge pull request #18 from AMDComputeLibraries/grid_launch_index
...
Grid launch index fix
[ROCm/hip commit: 1d3860a8eb ]
2016-03-23 11:26:28 -05:00
Ben Sander
7632b769a0
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/hip commit: eced013ae4 ]
2016-03-23 23:11:15 -05:00
scchan
22c79027a5
add compiler version guard to the grid launch fix
...
[ROCm/hip commit: 0eead76d4e ]
2016-03-23 11:24:37 -05:00
scchan
2b25f5c1ff
fix builtins mapping for IDs and Dims
...
[ROCm/hip commit: 56a1863c74 ]
2016-03-23 11:08:28 -05:00
Aditya Atluri
5b597511b6
fixed hipHostGetFlags test
...
[ROCm/hip commit: 362867d325 ]
2016-03-23 02:45:21 -05:00
Aditya Atluri
5f343cb38b
Remove redundant hpiHostGetDevicePointer
...
[ROCm/hip commit: 36d0da99c1 ]
2016-03-23 09:21:02 -05:00
Ben Sander
87830e8cff
Add USE_AV_COPY (replaces calls to am_copy with new acc_view::copy
...
[ROCm/hip commit: 6ab48d7b90 ]
2016-03-23 10:30:53 -05:00
Ben Sander
748180c769
use the CPU_Agent for memory copies to indicate direction.
...
[ROCm/hip commit: 0f81c5bcf2 ]
2016-03-23 10:29:44 -05:00
Ben Sander
2313b4b7b5
Only include activity logger if CodeXL installed.
...
Fix hipHostMalloc in hipBusBandwidth.
[ROCm/hip commit: 3a5f964c4f ]
2016-03-22 09:27:10 -05:00
Ben Sander
c31a02348b
remove unneeded files
...
[ROCm/hip commit: 7715fe424c ]
2016-03-23 03:41:01 -05:00
Ben Sander
a7ff86a141
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
Conflicts:
src/hip_hcc.cpp
[ROCm/hip commit: d07b347cac ]
2016-03-23 03:22:09 -05:00
Ben Sander
241befc9f6
Add unique stream_id to devices to improve debug
...
[ROCm/hip commit: f863c5c6aa ]
2016-03-23 03:17:19 -05:00
Ben Sander
6d5968027c
Improve trace API
...
- Validate compile-time disables.
- Add README.md section explain how to install/use CodeXL tracing
- Add code docs on trace_helper.h
- fix color on hipLaunchKernel to green.
[ROCm/hip commit: 2569e15375 ]
2016-03-23 02:57:52 -05:00
Ben Sander
5c8b743588
HIP_TRACE_API prints function args, and in color
...
[ROCm/hip commit: 33bbf1463f ]
2016-03-23 02:19:49 -05:00
Ben Sander
82cda5c087
use codexl marker interface to mark HIP function/begin end.
...
- Creates markers in HIP group and they show up in CodeXL trace
- Marker text includes HIP functioin arguments
- (Add trace_helper to convert arguments to strings)
- Still need to add HIP_INIT_API for ~30 HIP functions.
[ROCm/hip commit: b6b3fea05b ]
2016-03-23 01:17:53 -05:00
Ben Sander
f9b2f0c840
Describe how to file an issue
...
[ROCm/hip commit: 608bb21797 ]
2016-03-23 01:15:05 -05:00
Aditya Atluri
01ef054798
Update CUDA_Runtime_API_functions_supported_by_HIP.md
...
[ROCm/hip commit: 1d6dcb70ee ]
2016-03-22 10:42:34 -05:00
Ben Sander
b319209299
hipHostRegister and hipHostMalloc refactor.
...
Note hipHostMalloc (not hipHostAlloc or hipMallocHost).
- the hipHost* is used for all HIP APIs dealing with Host memory.
(including hipHostMalloc, hipHostFree, hipHostRegister,
hipHostUnregister, hipHostGetFlags, hipHostGetDevicePointer).
- hipMallocHost is consistent with "hipMalloc" for allocating device
memory. Enumerations hipHostMalloc* also used as optional
flags parm to hipHostMalloc.
[ROCm/hip commit: ab910efb96 ]
2016-03-22 02:30:10 -05:00
Ben Sander
f392d143ff
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/hip commit: 8087bc0401 ]
2016-03-22 01:17:17 -05:00
Aditya Atluri
a19d8a0eff
Update CUDA_Runtime_API_functions_supported_by_HIP.md
...
[ROCm/hip commit: 59324930b5 ]
2016-03-21 18:33:50 -05:00
Aditya Atluri
9741873703
Revert "Revert "fixed memory free apis""
...
This reverts commit 9ba9f2a407 .
[ROCm/hip commit: 52cf63472c ]
2016-03-21 10:40:42 -05:00
Aditya Atluri
831b55129d
Revert "Revert "fix nvcc for hipHostMalloc* flags.""
...
This reverts commit 4bebb99566 .
[ROCm/hip commit: e5918ce729 ]
2016-03-21 10:39:49 -05:00
Aditya Atluri
4bebb99566
Revert "fix nvcc for hipHostMalloc* flags."
...
This reverts commit 9f071dde99 .
[ROCm/hip commit: 3f5eb20cf0 ]
2016-03-21 10:36:14 -05:00
Aditya Atluri
9ba9f2a407
Revert "fixed memory free apis"
...
This reverts commit 2a044e3823 .
[ROCm/hip commit: 287ba34aca ]
2016-03-21 10:36:11 -05:00
Aditya Atluri
733d085171
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/hip commit: caa80af31b ]
2016-03-21 10:34:08 -05:00
Aditya Atluri
2a044e3823
fixed memory free apis
...
[ROCm/hip commit: 96a1899df7 ]
2016-03-21 10:32:30 -05:00
Aditya Atluri
776d201d0e
Disabling default-stream per-thread tests
...
[ROCm/hip commit: 6d1420ab68 ]
2016-03-21 14:42:23 -05:00
Ben Sander
9f071dde99
fix nvcc for hipHostMalloc* flags.
...
[ROCm/hip commit: b6962826eb ]
2016-03-21 09:33:46 -05:00
Ben Sander
7891e8baba
Remove kind (aka direction) for copy commands.
...
This is always auto-detected from the src/dest location.
[ROCm/hip commit: 04af145d6a ]
2016-03-21 05:35:36 -05:00
Aditya Atluri
f0d86c6b78
suppressed warning in hipFreeHost
...
[ROCm/hip commit: 6b3821afc7 ]
2016-03-20 15:31:59 -05:00
Aditya Atluri
dd6fc044d6
Added feature for --default-streams not working tests and hipcc
...
[ROCm/hip commit: a232d65db1 ]
2016-03-20 08:08:33 -05:00
Ben Sander
8c1e55c937
Implement hipHostFree on HCC path
...
[ROCm/hip commit: deb38625ca ]
2016-03-19 23:25:11 -05:00
Ben Sander
9c3100894c
fix nvcc compiler
...
- MallocHost and FreeHost deprecation.
- Change tests to call new hipHost* equivs.
- Add missing StreamSynchronize.
[ROCm/hip commit: 9941ba0bc6 ]
2016-03-19 04:20:15 -05:00