Commit grafiek

303 Commits

Auteur SHA1 Bericht Datum
Ben Sander 01ac10e345 add note on using HIP_PLATFORM to force hcc path 2016-03-24 14:33:11 -05:00
Ben Sander 663d1baa19 Update release to include new make system. Remove old Makefile. 2016-03-24 14:08:08 -05:00
Ben Sander 8f9e433b1a Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-24 14:05:58 -05:00
Ben Sander bcba591852 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 84ccbcada0 revert CMakelists 2016-03-24 13:20:25 -05:00
Ben Sander 3f56bfba22 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-24 13:10:33 -05:00
Ben Sander 34976e357d 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 890ec4c45c Set /opt/hcc correctly if HCC_HOME not defined 2016-03-24 10:50:08 -05:00
Ben Sander 0e92a64b95 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 e52c3d9fe0 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 eea49cb66b added CR and hipsetdeviceflags func 2016-03-24 07:04:01 -05:00
Aditya Atluri 1c55019322 Split files based on functionality and changed cmake file 2016-03-24 04:57:30 -05:00
Maneesh Gupta b25d041769 Allow HIP installation to be portable 2016-03-24 11:19:16 +05:30
Aditya Atluri 68c3e5fa88 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-23 13:01:03 -05:00
Aditya Atluri c1ad70ad4b moved variables to headers 2016-03-23 12:59:52 -05:00
Aditya Atluri 29de33cf9c Update README.md 2016-03-23 18:16:11 -05:00
sunway513 925cac22c7 fix permissions for files in bin folder and install location 2016-03-23 12:33:14 -05:00
Aditya Atluri 29119bd3d4 reverted back to old infra with cmake added 2016-03-23 11:13:02 -05:00
Aditya Atluri 3f595826f3 Update README.md 2016-03-23 15:05:50 -05:00
Aditya Atluri 64c4c70e4f WIP added modular feature for device apis 2016-03-23 07:54:01 -05:00
Aditya Atluri 25c7557957 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-23 11:40:18 -05:00
Aditya Atluri 867554c423 Logging dispatch latency through database util 2016-03-23 11:39:57 -05:00
Siu Chi Chan 24496b1c38 Merge pull request #18 from AMDComputeLibraries/grid_launch_index
Grid launch index fix
2016-03-23 11:26:28 -05:00
Ben Sander 3ca91cf327 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 1313f1fb77 add compiler version guard to the grid launch fix 2016-03-23 11:24:37 -05:00
scchan 671128abb0 fix builtins mapping for IDs and Dims 2016-03-23 11:08:28 -05:00
Aditya Atluri e9e84d2db6 fixed hipHostGetFlags test 2016-03-23 02:45:21 -05:00
Aditya Atluri b1b6d5e648 Remove redundant hpiHostGetDevicePointer 2016-03-23 09:21:02 -05:00
Ben Sander 6fb2367b66 Add USE_AV_COPY (replaces calls to am_copy with new acc_view::copy 2016-03-23 10:30:53 -05:00
Ben Sander f3ac666a7a use the CPU_Agent for memory copies to indicate direction. 2016-03-23 10:29:44 -05:00
Ben Sander 004b4ada93 Only include activity logger if CodeXL installed.
Fix hipHostMalloc in hipBusBandwidth.
2016-03-22 09:27:10 -05:00
Ben Sander 2a54c58cac remove unneeded files 2016-03-23 03:41:01 -05:00
Ben Sander 8954e4fb26 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 dc86743b35 Add unique stream_id to devices to improve debug 2016-03-23 03:17:19 -05:00
Ben Sander fa8deac1ad 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 aed1a82ccb HIP_TRACE_API prints function args, and in color 2016-03-23 02:19:49 -05:00
Ben Sander 54704b59dd 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 723327cd0f Describe how to file an issue 2016-03-23 01:15:05 -05:00
Aditya Atluri 55291cc654 Update CUDA_Runtime_API_functions_supported_by_HIP.md 2016-03-22 10:42:34 -05:00
Ben Sander 2d0fade1f7 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 bf83b949f6 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-22 01:17:17 -05:00
Aditya Atluri a8a255b6bc Update CUDA_Runtime_API_functions_supported_by_HIP.md 2016-03-21 18:33:50 -05:00
Aditya Atluri 8af8ee2476 Revert "Revert "fixed memory free apis""
This reverts commit 1fa4d0d4b9.
2016-03-21 10:40:42 -05:00
Aditya Atluri bde1e6182d Revert "Revert "fix nvcc for hipHostMalloc* flags.""
This reverts commit 83fee90e83.
2016-03-21 10:39:49 -05:00
Aditya Atluri 83fee90e83 Revert "fix nvcc for hipHostMalloc* flags."
This reverts commit d495ffb1d3.
2016-03-21 10:36:14 -05:00
Aditya Atluri 1fa4d0d4b9 Revert "fixed memory free apis"
This reverts commit 71a6b5cb6c.
2016-03-21 10:36:11 -05:00
Aditya Atluri e99179edc8 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-21 10:34:08 -05:00
Aditya Atluri 71a6b5cb6c fixed memory free apis 2016-03-21 10:32:30 -05:00
Aditya Atluri 93e6362104 Disabling default-stream per-thread tests 2016-03-21 14:42:23 -05:00
Ben Sander d495ffb1d3 fix nvcc for hipHostMalloc* flags. 2016-03-21 09:33:46 -05:00