Ben Sander
0b617788a8
Checkpoint code cleanup.
...
- Refactor ihipStream in prep for thread-safe implementation.
- Do some work on PinInPlace implementation.
[ROCm/hip commit: ec50cbb3aa ]
2016-03-16 21:16:29 -05:00
Aditya Atluri
cef9188d14
changed flag in hipHostRegister
...
[ROCm/hip commit: 1e588e56e0 ]
2016-03-16 08:01:53 -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
637fca1cb6
corrected first and second kernel dispatch
...
[ROCm/hip commit: e23bd0a23e ]
2016-03-15 14:22:00 -05:00
Aditya Atluri
2223b41232
Added single kernel launch to sample
...
[ROCm/hip commit: 862817626b ]
2016-03-15 21:05:15 -05:00
Aditya Atluri
b202017891
added performance metrics for kernel dispatch
...
[ROCm/hip commit: 31d8f60e56 ]
2016-03-15 12:37:24 -05:00
Aditya Atluri
83cafe7d94
v2 deprecating hipMallocHost with hipHostAlloc
...
[ROCm/hip commit: 58fa0524b6 ]
2016-03-15 13:39:15 -05:00
Aditya Atluri
4c54a8d9d5
Deprecating hipMallocHost to hipHostAlloc
...
[ROCm/hip commit: cbdc8c277c ]
2016-03-15 06:30:16 -05:00
Ben Sander
bef8dc7bcc
print device config info
...
[ROCm/hip commit: 70c5f5e3f5 ]
2016-03-14 23:02:49 -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
Ben Sander
5951d581d9
enable DB, comments
...
[ROCm/hip commit: 1a27e5134e ]
2016-03-14 14:40:41 -05:00
Ben Sander
10ca8ed91d
Add Bidir copy test and help.
...
[ROCm/hip commit: 5606bee076 ]
2016-03-14 14:39:23 -05:00
Ben Sander
3427873d7c
refactor, add support for speccing xfers in bytes
...
[ROCm/hip commit: ac6ed35ba0 ]
2016-03-13 09:41:06 -05:00
Ben Sander
e08baf41d7
Remove ROCR_V2, assume=1
...
[ROCm/hip commit: b0dca6bd0c ]
2016-03-12 04:08:13 -06:00
Ben Sander
30fbe45694
Remove USE_AM_TRACKER (assume 1)
...
[ROCm/hip commit: a5a2c7f33c ]
2016-03-12 04:04:57 -06:00
Ben Sander
4900ebb39f
Improve error reporting.
...
use throw with error class.
fix bug when memcpyDefault resolved to D2D copy.
[ROCm/hip commit: 250739666d ]
2016-03-12 04:02:04 -06:00
dfukalov
88fdff7e55
fixed bug with -debug switch
...
[ROCm/hip commit: d30f103882 ]
2016-03-09 18:37:20 +03: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
Aditya Atluri
ab68dc4240
v2 added support for unpinned async memcpy
...
[ROCm/hip commit: 18c0e69f51 ]
2016-03-08 03:19:50 -06:00
Aditya Atluri
bf3d3a9745
Revert "Fixed passing unpinned memory to async memcpy"
...
This reverts commit c272c53808 .
[ROCm/hip commit: 45965aaa2d ]
2016-03-08 03:17:27 -06:00
Aditya Atluri
7f8a1a3e17
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/hip commit: 81824926be ]
2016-03-08 03:15:33 -06:00
Aditya Atluri
c272c53808
Fixed passing unpinned memory to async memcpy
...
[ROCm/hip commit: 216af71480 ]
2016-03-08 03:14:49 -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
dfukalov
3723bc0362
moved all debug output into DEBUG()
...
[ROCm/hip commit: b7c7687645 ]
2016-03-08 02:03:25 +03:00
dfukalov
6fa7fa51d7
added -inplace option
...
[ROCm/hip commit: 437f4d0a48 ]
2016-03-07 21:29:23 +03:00
Aditya Atluri
c05f4abd71
Added hipHostRegister flags
...
[ROCm/hip commit: d9429dd4ec ]
2016-03-07 10:52:40 -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
02925c2393
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/hip commit: 3799fd55e2 ]
2016-03-07 01:41:10 -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
Ben Sander
82116d905d
Enhance HIP trace debug functions.
...
- Control with HIP_DB=mask (env var). See src/hip_hcc.cpp for mask
values:
#define DB_API 0 /* 0x01 - shortcut to enable HIP_TRACE_API on single switch */
#define DB_SYNC 1 /* 0x02 - trace synchronization pieces */
#define DB_MEM 2 /* 0x04 - trace memory allocation / deallocation */
#define DB_COPY1 3 /* 0x08 - trace memory copy commands. . */
#define DB_SIGNAL 4 /* 0x10 - trace signal pool commands */
- Combine with HIP_TRACE to see debug with API trace.
- Use colors to distinguish different flows of debug.
- Add define COMPILE_DB_TRACE to allow removing all debug at compile-time
[ROCm/hip commit: aa03e1264c ]
2016-03-06 23:50:52 -06:00
Maneesh Gupta
2de8a1a4a6
Fix typo in nvcc_detail/hip_runtime_api.h
...
[ROCm/hip commit: 39d5a2c079 ]
2016-03-07 09:40:15 +05:30
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
5346c57411
added flags support to be used later
...
[ROCm/hip commit: 1f3695b224 ]
2016-03-06 08:40:33 -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
3c91a6d0a7
Added hipHostAlloc with hipHostAllocMapped flag
...
[ROCm/hip commit: 3aa764d5eb ]
2016-03-05 15:57:56 -06:00
Aditya Atluri
8e0fc269d7
Added hipHostAlloc feature for CUDA
...
[ROCm/hip commit: f479531be5 ]
2016-03-05 13:58:56 -06:00
Aditya Atluri
5e9d9cbabf
v2 Added canHostMapMemory
...
[ROCm/hip commit: a5408ed7b6 ]
2016-03-05 13:15:07 -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
29c423a22b
Added canMapHostMemory to hipDeviceProp
...
[ROCm/hip commit: 4b271ec013 ]
2016-03-05 19:30:29 -06:00
dfukalov
0688b0256c
1. added double dash option to test to avoid warning message about compilation database
...
2. fixed cmake resource folder discovery for standalone build case
[ROCm/hip commit: 41267688d0 ]
2016-03-05 13:59:38 +03:00
atimofee
7dba82434d
Template kernels calls and declaration conversion added
...
[ROCm/hip commit: 8b1643ffb5 ]
2016-03-04 22:07:41 +03:00