Grafico dei commit

160 Commit

Autore SHA1 Messaggio Data
Aditya Atluri 3fd99b49e0 added copyrights to experimental/xcompile 2016-04-09 14:45:39 -05:00
Aditya Atluri 153d5f8e1b xcompilation tests 2016-04-09 14:40:17 -05:00
Maneesh Gupta 34ee916681 Directed tests: make HIP_BUILD_LOCAL as default 2016-04-09 22:05:45 +05:30
Aditya Atluri 1dcdfc93f1 Added feature for cross-compilation and seperated hcc api from hip api 2016-04-06 14:18:51 -05:00
Maneesh Gupta 033269c513 Enable directed tests to build HIP locally via cmake option 2016-04-04 13:53:24 +05:30
Maneesh Gupta 9fd0a182f6 Revert "Initial (non-default) support for shared library HIP"
This reverts commit 9de57129b4.
2016-04-01 16:07:07 +05:30
Maneesh Gupta 9de57129b4 Initial (non-default) support for shared library HIP 2016-04-01 15:45:32 +05:30
Aditya Atluri 26985b746b added device math functions 2016-03-31 12:29:19 -05:00
Aditya Atluri 72c72d8748 moved cpp specific device code from headers to source 2016-03-31 04:45:00 -05:00
Aditya Atluri ea3ebcb3de Added directory for stress testing 2016-03-31 02:14:12 -05:00
Aditya Atluri 3f5ba43837 Fixed failing tests 2016-03-30 13:00:44 -05:00
Aditya Atluri 496da0aabd C guarding the apis 2016-03-30 06:08:50 -05:00
Aditya Atluri 39af5d9caf Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-29 11:18:09 -05:00
Ben Sander a37a019b01 rename to hipMultiThreadDevice for consistency 2016-03-29 17:33:29 -05:00
Ben Sander 23e5eb8912 Test improvements
- partition hipThreadSafeDevice into smaller pieces.
- Add debug to hipMultiThreadStream.
- print more precision when mismatch detected.
- enable more tests in CMakeFiles.txt.
2016-03-29 17:29:31 -05:00
Ben Sander ce4052f09c Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-29 17:12:36 -05:00
Ben Sander fb7862dba3 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-29 14:43:35 -05:00
Aditya Atluri 61cd2bb399 Calling intrinsics from global kernel 2016-03-29 11:17:55 -05:00
Aditya Atluri f518d0f818 added host flags to hipDeviceBody test 2016-03-29 09:27:57 -05:00
Aditya Atluri 2f46ada042 Added tests for running device code from a difference source file 2016-03-29 09:22:31 -05:00
Ben Sander 756c0edf9b Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
Conflicts:
	include/hcc_detail/trace_helper.h
2016-03-29 05:56:03 -05:00
Aditya Atluri 4584fb4453 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-29 02:28:20 -05:00
Aditya Atluri f01810183b Not using classes inside headers 2016-03-29 02:27:51 -05:00
scchan 2ddb8fface remove the --hipcc_explicit_lib 2016-03-28 13:56:23 -05:00
Ben Sander 395e7eab96 Protect _stream_id as well.
- move lockedaccessor
- clean up device class.
- add simple ihipDevice constructor.
2016-03-26 11:45:25 -05:00
Ben Sander 530ab9434a 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.
2016-03-26 10:46:20 -05:00
Aditya Atluri a5628ddfb4 Added test for C + HIP 2016-03-25 13:45:28 -05:00
Aditya Atluri b371dd58ea updated hipdevicesync test 2016-03-25 06:41:49 -05:00
Aditya Atluri 7a0066eb6f added functional tests for hip device apis 2016-03-25 05:49:33 -05:00
Aditya Atluri bf3828cdb9 updated CR 2016-03-24 21:48:27 -05:00
Aditya Atluri ae46b221df corrected cmake 2016-03-24 11:17:57 -05:00
Aditya Atluri 90dec927d3 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-24 07:34:10 -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 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
Aditya Atluri 95c96638aa Added canMapMemory feature to device properties 2016-03-24 07:33:24 -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
Aditya Atluri 7920fd9a47 moved variables to headers 2016-03-23 12:59:52 -05:00
Aditya Atluri 89bfc0e375 WIP added modular feature for device apis 2016-03-23 07:54:01 -05:00
Aditya Atluri 362867d325 fixed hipHostGetFlags test 2016-03-23 02:45:21 -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 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 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 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
Aditya Atluri 52cf63472c Revert "Revert "fixed memory free apis""
This reverts commit 287ba34aca.
2016-03-21 10:40:42 -05:00
Aditya Atluri 287ba34aca Revert "fixed memory free apis"
This reverts commit 96a1899df7.
2016-03-21 10:36:11 -05:00