Ben Sander
144d1069aa
add note on using HIP_PLATFORM to force hcc path
2016-03-24 14:33:11 -05:00
Ben Sander
160f407300
Update release to include new make system. Remove old Makefile.
2016-03-24 14:08:08 -05:00
Ben Sander
0845164012
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
2016-03-24 14:05:58 -05:00
Ben Sander
f3ad047194
Provcide more flexiblity in using HIP_PATH to control installation.
...
Also improve docs for developers / contributing.
2016-03-24 13:33:07 -05:00
Ben Sander
5e3428acc1
revert CMakelists
2016-03-24 13:20:25 -05:00
Ben Sander
c567189cb8
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
2016-03-24 13:10:33 -05:00
Ben Sander
eb33395045
Add --hipcc_explicit_lib option
...
Tells hipcc not to add /opt/hip or -lhip_hcc to command-line
(since it has already been done).
2016-03-24 11:53:33 -05:00
Ben Sander
a24361df6f
Set /opt/hcc correctly if HCC_HOME not defined
2016-03-24 10:50:08 -05:00
Ben Sander
c4e1aba862
CMake improvements.
...
- Directed tests build hip_hcc as subdir.
- Support HCC_HOME env var to control which HCC to use for build
hip_hcc.
2016-03-24 10:16:35 -05:00
Ben Sander
655534b1ba
Partition hip_hcc into sections
...
Separate files for different categories of HIP API.
Currently just #include into hip_hcc.cpp
2016-03-24 09:28:54 -05:00
Aditya Atluri
c5ec73736d
added CR and hipsetdeviceflags func
2016-03-24 07:04:01 -05:00
Aditya Atluri
794007c3e8
Split files based on functionality and changed cmake file
2016-03-24 04:57:30 -05:00
Maneesh Gupta
04d0bdfeaa
Allow HIP installation to be portable
2016-03-24 11:19:16 +05:30
Aditya Atluri
5491654450
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
2016-03-23 13:01:03 -05:00
Aditya Atluri
7920fd9a47
moved variables to headers
2016-03-23 12:59:52 -05:00
Aditya Atluri
3bece3798b
Update README.md
2016-03-23 18:16:11 -05:00
sunway513
a6eac51379
fix permissions for files in bin folder and install location
2016-03-23 12:33:14 -05:00
Aditya Atluri
5637bde4b3
reverted back to old infra with cmake added
2016-03-23 11:13:02 -05:00
Aditya Atluri
de91445e20
Update README.md
2016-03-23 15:05:50 -05:00
Aditya Atluri
89bfc0e375
WIP added modular feature for device apis
2016-03-23 07:54:01 -05:00
Aditya Atluri
dc429aade6
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
2016-03-23 11:40:18 -05:00
Aditya Atluri
78407ea40a
Logging dispatch latency through database util
2016-03-23 11:39:57 -05:00
Siu Chi Chan
1d3860a8eb
Merge pull request #18 from AMDComputeLibraries/grid_launch_index
...
Grid launch index fix
2016-03-23 11:26:28 -05:00
Ben Sander
eced013ae4
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.
2016-03-23 23:11:15 -05:00
scchan
0eead76d4e
add compiler version guard to the grid launch fix
2016-03-23 11:24:37 -05:00
scchan
56a1863c74
fix builtins mapping for IDs and Dims
2016-03-23 11:08:28 -05:00
Aditya Atluri
362867d325
fixed hipHostGetFlags test
2016-03-23 02:45:21 -05:00
Aditya Atluri
36d0da99c1
Remove redundant hpiHostGetDevicePointer
2016-03-23 09:21:02 -05:00
Ben Sander
6ab48d7b90
Add USE_AV_COPY (replaces calls to am_copy with new acc_view::copy
2016-03-23 10:30:53 -05:00
Ben Sander
0f81c5bcf2
use the CPU_Agent for memory copies to indicate direction.
2016-03-23 10:29:44 -05:00
Ben Sander
3a5f964c4f
Only include activity logger if CodeXL installed.
...
Fix hipHostMalloc in hipBusBandwidth.
2016-03-22 09:27:10 -05:00
Ben Sander
7715fe424c
remove unneeded files
2016-03-23 03:41:01 -05:00
Ben Sander
d07b347cac
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
Conflicts:
src/hip_hcc.cpp
2016-03-23 03:22:09 -05:00
Ben Sander
f863c5c6aa
Add unique stream_id to devices to improve debug
2016-03-23 03:17:19 -05:00
Ben Sander
2569e15375
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.
2016-03-23 02:57:52 -05:00
Ben Sander
33bbf1463f
HIP_TRACE_API prints function args, and in color
2016-03-23 02:19:49 -05:00
Ben Sander
b6b3fea05b
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.
2016-03-23 01:17:53 -05:00
Ben Sander
608bb21797
Describe how to file an issue
2016-03-23 01:15:05 -05:00
Aditya Atluri
1d6dcb70ee
Update CUDA_Runtime_API_functions_supported_by_HIP.md
2016-03-22 10:42:34 -05:00
Ben Sander
ab910efb96
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.
2016-03-22 02:30:10 -05:00
Ben Sander
8087bc0401
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
2016-03-22 01:17:17 -05:00
Aditya Atluri
59324930b5
Update CUDA_Runtime_API_functions_supported_by_HIP.md
2016-03-21 18:33:50 -05:00
Aditya Atluri
52cf63472c
Revert "Revert "fixed memory free apis""
...
This reverts commit 287ba34aca .
2016-03-21 10:40:42 -05:00
Aditya Atluri
e5918ce729
Revert "Revert "fix nvcc for hipHostMalloc* flags.""
...
This reverts commit 3f5eb20cf0 .
2016-03-21 10:39:49 -05:00
Aditya Atluri
3f5eb20cf0
Revert "fix nvcc for hipHostMalloc* flags."
...
This reverts commit b6962826eb .
2016-03-21 10:36:14 -05:00
Aditya Atluri
287ba34aca
Revert "fixed memory free apis"
...
This reverts commit 96a1899df7 .
2016-03-21 10:36:11 -05:00
Aditya Atluri
caa80af31b
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
2016-03-21 10:34:08 -05:00
Aditya Atluri
96a1899df7
fixed memory free apis
2016-03-21 10:32:30 -05:00
Aditya Atluri
6d1420ab68
Disabling default-stream per-thread tests
2016-03-21 14:42:23 -05:00
Ben Sander
b6962826eb
fix nvcc for hipHostMalloc* flags.
2016-03-21 09:33:46 -05:00