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
dfukalov
29f1c76140
Merge branch 'master' of https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP-hipify
2016-03-22 19:51:21 +03:00
dfukalov
0ca2467c6b
migrating from std::string to StringRef
2016-03-22 19:48:29 +03:00
Daniil Fukalov
8c92745999
Update README.md
2016-03-22 17:59:11 +03: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
dfukalov
d6b9d5fbc7
1. renamed hipMallocHost -> hipHostAlloc, hipFreeHost -> hipHostFree
...
2. added capability to build with llvm/clang 3.8
2016-03-22 17:07:37 +03:00
Daniil Fukalov
7ec3377ded
added Notes about installing dependent CUDA headers
2016-03-22 14:57:59 +03: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
Ben Sander
04af145d6a
Remove kind (aka direction) for copy commands.
...
This is always auto-detected from the src/dest location.
2016-03-21 05:35:36 -05:00
Aditya Atluri
6b3821afc7
suppressed warning in hipFreeHost
2016-03-20 15:31:59 -05:00
Aditya Atluri
a232d65db1
Added feature for --default-streams not working tests and hipcc
2016-03-20 08:08:33 -05:00
Ben Sander
deb38625ca
Implement hipHostFree on HCC path
2016-03-19 23:25:11 -05:00
Ben Sander
9941ba0bc6
fix nvcc compiler
...
- MallocHost and FreeHost deprecation.
- Change tests to call new hipHost* equivs.
- Add missing StreamSynchronize.
2016-03-19 04:20:15 -05:00
Ben Sander
194d02ac5a
Refactor copy - place common code in resolveMemoryKind.
2016-03-19 22:56:10 -05:00
Ben Sander
cea37c3e91
Deprecate hipMallocHost and hipFreeHost.
...
These will print compiler warnings if used, so we can weed them out
before removing.
Also add a default flags args for hipHostAlloc, in the C++ functioin
headers. So you can replace hipMallocHost(&ptr, size( with hipHostAlloc(&ptr, size)
2016-03-19 22:53:59 -05:00
Ben Sander
52cc2bb75a
Refactor waitALlDevices and async mem copy.
...
- move waitAllStreams to device member function.
- create separate stream member function for copyAsync, like copySync.
hipMemcpyAsync now calls the copyAsync.
2016-03-19 05:42:19 -05:00
Ben Sander
95e1c8eb32
Fix bug: test was allocating host mem instead of device mem.
...
Caused assertion when checking free + allocated should
not exceed total. Bug introduced in hipHostAlloc conversion.
2016-03-19 04:11:39 -05:00
Ben Sander
d898997c65
Swap in corrected hipHostAlloc (bad merge)
2016-03-19 04:11:08 -05:00
Ben Sander
1de63bfeea
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
Conflicts:
src/hip_hcc.cpp
2016-03-19 03:22:09 -05:00