Aditya Atluri
5a54bbf4d7
added copyrights to experimental/xcompile
...
[ROCm/clr commit: ea4223c812 ]
2016-04-09 14:45:39 -05:00
Aditya Atluri
aad74ffe88
xcompilation tests
...
[ROCm/clr commit: 4f5a8759a5 ]
2016-04-09 14:40:17 -05:00
Maneesh Gupta
863bd7d3a4
Directed tests: make HIP_BUILD_LOCAL as default
...
[ROCm/clr commit: 7cbe509b49 ]
2016-04-09 22:05:45 +05:30
fdaniil
1b0385eb5f
Merge remote-tracking branch 'origin/privatestaging' into clang-hipify
...
[ROCm/clr commit: 4d246f9575 ]
2016-04-07 00:53:47 +03:00
Aditya Atluri
b98fcb7764
Added feature for cross-compilation and seperated hcc api from hip api
...
[ROCm/clr commit: 39f27984a8 ]
2016-04-06 14:18:51 -05:00
dfukalov
a04015e0f7
moved clang-hipify tests to common folder "tests", updated cmake files to use downloadable clang+llvm binary package
...
[ROCm/clr commit: f1e64fe2b4 ]
2016-04-06 20:44:19 +03:00
Maneesh Gupta
533c8f6206
Enable directed tests to build HIP locally via cmake option
...
[ROCm/clr commit: fdfedbd60f ]
2016-04-04 13:53:24 +05:30
Maneesh Gupta
c2528bdb57
Revert "Initial (non-default) support for shared library HIP"
...
This reverts commit 8ee3248856 .
[ROCm/clr commit: a11725cced ]
2016-04-01 16:07:07 +05:30
Maneesh Gupta
8ee3248856
Initial (non-default) support for shared library HIP
...
[ROCm/clr commit: 1c722fa431 ]
2016-04-01 15:45:32 +05:30
Aditya Atluri
82f3f1be67
added device math functions
...
[ROCm/clr commit: c2d04ba59c ]
2016-03-31 12:29:19 -05:00
Aditya Atluri
522382140d
moved cpp specific device code from headers to source
...
[ROCm/clr commit: 48b8b426d5 ]
2016-03-31 04:45:00 -05:00
Aditya Atluri
7b8ec8fa6d
Added directory for stress testing
...
[ROCm/clr commit: 8d406b68d8 ]
2016-03-31 02:14:12 -05:00
Aditya Atluri
b7a79b9226
Fixed failing tests
...
[ROCm/clr commit: ed17e3489e ]
2016-03-30 13:00:44 -05:00
Aditya Atluri
266a91d241
C guarding the apis
...
[ROCm/clr commit: c4d93cf3db ]
2016-03-30 06:08:50 -05:00
Aditya Atluri
7fbdb9fd5c
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/clr commit: 00bf37d28d ]
2016-03-29 11:18:09 -05:00
Ben Sander
b8f2f4c45c
rename to hipMultiThreadDevice for consistency
...
[ROCm/clr commit: 3b1cd2d626 ]
2016-03-29 17:33:29 -05:00
Ben Sander
875a8a2c84
Test improvements
...
- partition hipThreadSafeDevice into smaller pieces.
- Add debug to hipMultiThreadStream.
- print more precision when mismatch detected.
- enable more tests in CMakeFiles.txt.
[ROCm/clr commit: 98a766ba75 ]
2016-03-29 17:29:31 -05:00
Ben Sander
e5ac79daca
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/clr commit: de3391637f ]
2016-03-29 17:12:36 -05:00
Ben Sander
d4660e232d
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/clr commit: 03c0fcbfec ]
2016-03-29 14:43:35 -05:00
Aditya Atluri
98f1e31c9b
Calling intrinsics from global kernel
...
[ROCm/clr commit: 3b3db60c25 ]
2016-03-29 11:17:55 -05:00
Aditya Atluri
b22b03fba3
added host flags to hipDeviceBody test
...
[ROCm/clr commit: e652426715 ]
2016-03-29 09:27:57 -05:00
Aditya Atluri
f17131c0d4
Added tests for running device code from a difference source file
...
[ROCm/clr commit: 4320e5c574 ]
2016-03-29 09:22:31 -05:00
Ben Sander
d6a2f89b21
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
Conflicts:
include/hcc_detail/trace_helper.h
[ROCm/clr commit: ba114a238f ]
2016-03-29 05:56:03 -05:00
Aditya Atluri
98e2f833b2
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/clr commit: 73ecbf5c95 ]
2016-03-29 02:28:20 -05:00
Aditya Atluri
84204d06fe
Not using classes inside headers
...
[ROCm/clr commit: 8e437d0565 ]
2016-03-29 02:27:51 -05:00
scchan
4006b37ac5
remove the --hipcc_explicit_lib
...
[ROCm/clr commit: 5e76b13cec ]
2016-03-28 13:56:23 -05:00
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
Aditya Atluri
c5f87744bb
Added test for C + HIP
...
[ROCm/clr commit: 026aaf987f ]
2016-03-25 13:45:28 -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
Aditya Atluri
5a2271950f
updated CR
...
[ROCm/clr commit: dd692b6077 ]
2016-03-24 21:48:27 -05:00
Aditya Atluri
99a32af732
corrected cmake
...
[ROCm/clr commit: 6915046b27 ]
2016-03-24 11:17:57 -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
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
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
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
Aditya Atluri
5f3d917b4c
moved variables to headers
...
[ROCm/clr commit: c1ad70ad4b ]
2016-03-23 12:59:52 -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
49946441ab
fixed hipHostGetFlags test
...
[ROCm/clr commit: e9e84d2db6 ]
2016-03-23 02:45:21 -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
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
f418fe4dae
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/clr commit: 54704b59dd ]
2016-03-23 01:17:53 -05:00
Ben Sander
37a02661a6
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/clr commit: 2d0fade1f7 ]
2016-03-22 02:30:10 -05:00