Ben Sander
2a27b6df99
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/hip commit: c567189cb8 ]
2016-03-24 13:10:33 -05:00
Ben Sander
19760d3390
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/hip commit: eb33395045 ]
2016-03-24 11:53:33 -05:00
Ben Sander
08ba8339bb
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/hip commit: c4e1aba862 ]
2016-03-24 10:16:35 -05:00
Aditya Atluri
41037cad90
Added canMapMemory feature to device properties
...
[ROCm/hip commit: 95c96638aa ]
2016-03-24 07:33:24 -05:00
Aditya Atluri
6aa83a8a32
added CR and hipsetdeviceflags func
...
[ROCm/hip commit: c5ec73736d ]
2016-03-24 07:04:01 -05:00
Aditya Atluri
702672c3df
Split files based on functionality and changed cmake file
...
[ROCm/hip commit: 794007c3e8 ]
2016-03-24 04:57:30 -05:00
Aditya Atluri
e0c6809779
moved variables to headers
...
[ROCm/hip commit: 7920fd9a47 ]
2016-03-23 12:59:52 -05:00
Aditya Atluri
4ca4cae3fa
WIP added modular feature for device apis
...
[ROCm/hip commit: 89bfc0e375 ]
2016-03-23 07:54:01 -05:00
Aditya Atluri
5b597511b6
fixed hipHostGetFlags test
...
[ROCm/hip commit: 362867d325 ]
2016-03-23 02:45:21 -05:00
Ben Sander
748180c769
use the CPU_Agent for memory copies to indicate direction.
...
[ROCm/hip commit: 0f81c5bcf2 ]
2016-03-23 10:29:44 -05:00
Ben Sander
a7ff86a141
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
Conflicts:
src/hip_hcc.cpp
[ROCm/hip commit: d07b347cac ]
2016-03-23 03:22:09 -05:00
Ben Sander
82cda5c087
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/hip commit: b6b3fea05b ]
2016-03-23 01:17:53 -05:00
Ben Sander
b319209299
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/hip commit: ab910efb96 ]
2016-03-22 02:30:10 -05:00
Aditya Atluri
9741873703
Revert "Revert "fixed memory free apis""
...
This reverts commit 9ba9f2a407 .
[ROCm/hip commit: 52cf63472c ]
2016-03-21 10:40:42 -05:00
Aditya Atluri
9ba9f2a407
Revert "fixed memory free apis"
...
This reverts commit 2a044e3823 .
[ROCm/hip commit: 287ba34aca ]
2016-03-21 10:36:11 -05:00
Aditya Atluri
2a044e3823
fixed memory free apis
...
[ROCm/hip commit: 96a1899df7 ]
2016-03-21 10:32:30 -05:00
Aditya Atluri
776d201d0e
Disabling default-stream per-thread tests
...
[ROCm/hip commit: 6d1420ab68 ]
2016-03-21 14:42:23 -05:00
Aditya Atluri
dd6fc044d6
Added feature for --default-streams not working tests and hipcc
...
[ROCm/hip commit: a232d65db1 ]
2016-03-20 08:08:33 -05:00
Ben Sander
9c3100894c
fix nvcc compiler
...
- MallocHost and FreeHost deprecation.
- Change tests to call new hipHost* equivs.
- Add missing StreamSynchronize.
[ROCm/hip commit: 9941ba0bc6 ]
2016-03-19 04:20:15 -05:00
Ben Sander
11603764be
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.
[ROCm/hip commit: 95e1c8eb32 ]
2016-03-19 04:11:39 -05:00
Ben Sander
5297376252
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
Conflicts:
src/hip_hcc.cpp
[ROCm/hip commit: 1de63bfeea ]
2016-03-19 03:22:09 -05:00
Ben Sander
013f08418f
disable mt streams tests (for now)
...
[ROCm/hip commit: dfca4faf27 ]
2016-03-19 03:10:31 -05:00
Ben Sander
fc27c61c58
Refactor to isolate staging buffer code.
...
[ROCm/hip commit: e7586adb33 ]
2016-03-17 00:20:56 -05:00
Ben Sander
0ae7bc7e14
Start separaration of staging_buffer.cpp code.
...
Still #include staging_buffer.cpp into hip_hcc.cpp.
Directed tests compile hip_hcc to static library and use the library.
[ROCm/hip commit: 28ee7aff71 ]
2016-03-16 22:26:49 -05:00
Ben Sander
910017a20f
Add aligned alloc
...
[ROCm/hip commit: c02bccc153 ]
2016-03-16 21:55:57 -05:00
Aditya Atluri
9b39bdf3e0
src/ fixed hipHostAllocDefault flags
...
[ROCm/hip commit: b768568902 ]
2016-03-16 07:32:54 -05:00
Aditya Atluri
7dd54d20ca
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/hip commit: 57a85763bd ]
2016-03-16 07:17:22 -05:00
Aditya Atluri
e35d72336c
Added performance test for memcpy
...
[ROCm/hip commit: 67d385f407 ]
2016-03-16 07:16:51 -05:00
Aditya Atluri
60ce389329
tests/src [v4] Added feature for partial writes on CPU
...
[ROCm/hip commit: 451cd9f876 ]
2016-03-16 07:04:40 -05:00
Aditya Atluri
18651d1879
test/src [v3] clean up
...
[ROCm/hip commit: 62b8351f02 ]
2016-03-16 05:30:29 -05:00
Aditya Atluri
e3bbf4e8c9
increased iteration size
...
[ROCm/hip commit: 89eb2a7b52 ]
2016-03-16 05:24:08 -05:00
Aditya Atluri
ec921786f7
added cudaHostRegister test
...
[ROCm/hip commit: e67133ce21 ]
2016-03-16 05:15:03 -05:00
Aditya Atluri
4c54a8d9d5
Deprecating hipMallocHost to hipHostAlloc
...
[ROCm/hip commit: cbdc8c277c ]
2016-03-15 06:30:16 -05:00
Ben Sander
0abf5db89e
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
Conflicts:
src/hip_hcc.cpp
tests/src/CMakeLists.txt
[ROCm/hip commit: e1617b9604 ]
2016-03-14 15:01:26 -05:00
Aditya Atluri
db1ce3ba84
Added hipHostRegister for hip with tests and added copyright
...
[ROCm/hip commit: 102f173396 ]
2016-03-08 12:57:22 -06:00
Aditya Atluri
963c0f6076
Added a random test for memcpyAsync
...
[ROCm/hip commit: cbb42c6b6a ]
2016-03-08 03:40:56 -06:00
Ben Sander
6d77b45f88
Refactor memccpy tests.
...
- Add "hipMemcpy_simple" - some simple smoke tests.
- Run memcpy 3 times w/ different switches for kinds, sizes,
multi-thread.
[ROCm/hip commit: cc7517b57e ]
2016-03-07 17:15:48 -06:00
Aditya Atluri
02760925a9
Added hipHostRegister feature for CUDA backend and its tests
...
[ROCm/hip commit: 4ed0b1cb1a ]
2016-03-07 03:42:50 -06:00
Aditya Atluri
ee6a02b4fa
added copyrights for newly added tests
...
[ROCm/hip commit: de85c80eb0 ]
2016-03-07 02:01:25 -06:00
Aditya Atluri
e33e27232e
Increased size of arrays for single stream tests
...
[ROCm/hip commit: faaee7e9bf ]
2016-03-07 01:40:31 -06:00
Aditya Atluri
91dbc3114d
added feature for hipHostGetFlags for CUDA and HIP
...
[ROCm/hip commit: 75952029d6 ]
2016-03-06 12:17:30 -06:00
Aditya Atluri
f1b8758919
corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs
...
[ROCm/hip commit: d3ba2b9782 ]
2016-03-06 08:31:04 -06:00
Aditya Atluri
8e0fc269d7
Added hipHostAlloc feature for CUDA
...
[ROCm/hip commit: f479531be5 ]
2016-03-05 13:58:56 -06:00
Aditya Atluri
6bfbe0483a
Revert "Added canMapHostMemory feature"
...
This reverts commit 8b585536ef .
[ROCm/hip commit: 2ebbdd6ec5 ]
2016-03-05 13:08:57 -06:00
Aditya Atluri
8b585536ef
Added canMapHostMemory feature
...
[ROCm/hip commit: af4edd277f ]
2016-03-05 13:06:37 -06:00
Aditya Atluri
cc9a9cc5db
Added support for hipMemcpyDefault
...
[ROCm/hip commit: c154e1f4e4 ]
2016-03-03 10:30:06 -06:00
Aditya Avinash Atluri
4811b38a15
Changed test to match CUDA output of errors
...
We changed the test so that it runs on CUDA. As we are emulating CUDA behavior, this should pass on HIP.
[ROCm/hip commit: d4765d39a2 ]
2016-03-03 13:48:58 -06:00
pensun
2019a85ac3
Fix for hipEnvVar test for titan machine
...
[ROCm/hip commit: 20f939b356 ]
2016-03-03 06:23:17 -06:00
Maneesh Gupta
fe88652340
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/hip commit: df1abec682 ]
2016-03-03 09:53:04 +05:30
Maneesh Gupta
b3d6a32b62
Fix hip_ballot.cpp compilation on hcc
...
[ROCm/hip commit: ba6393e36d ]
2016-03-03 09:52:41 +05:30