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
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
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
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
Ben Sander
e0497a9ae1
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/hip commit: 6d4c830613 ]
2016-03-04 08:22:56 -06:00
Ben Sander
7aaa474ef0
Add FORCE_SAMEDIR_DEP for copies.
...
[ROCm/hip commit: ed71cded1c ]
2016-03-04 08:21:15 -06:00
Aditya Atluri
52049a5927
v2: Fixed implementation of hipMemcpyDefault flag
...
[ROCm/hip commit: bd23279271 ]
2016-03-04 06:00:04 -06:00
Ben Sander
e60db0c25f
Add define to disable STREAM thread-safety
...
[ROCm/hip commit: 5e51ff177a ]
2016-03-03 10:49:25 -06:00
Aditya Atluri
cc9a9cc5db
Added support for hipMemcpyDefault
...
[ROCm/hip commit: c154e1f4e4 ]
2016-03-03 10:30:06 -06:00
Aditya Avinash Atluri
12e7f550b7
Update hip_hcc.cpp
...
[ROCm/hip commit: 40eefc1cde ]
2016-03-03 13:59:43 -06:00
Aditya Avinash Atluri
057bcc73f1
Fix output of hipPointerGetAttributes
...
The output of hipPointerGetAttributes is fixed to match CUDA counterpart.
[ROCm/hip commit: b6e34a44b0 ]
2016-03-03 13:58:18 -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
Maneesh Gupta
69132a5a5b
Fix hipPointerAttrib.cpp compilation on nvcc
...
[ROCm/hip commit: 403206074e ]
2016-03-03 09:48:47 +05:30
Maneesh Gupta
25bc5be377
Fix hipcc from trying to compile object files
...
[ROCm/hip commit: 5013884d3d ]
2016-03-03 09:47:37 +05:30
pensun
ea4635eb06
fix for hipEnvVarDriver test
...
[ROCm/hip commit: 4018d6a33b ]
2016-03-02 04:35:37 -06:00
Aditya Atluri
0ed3d943f1
Initialize hip when single kernel is called
...
[ROCm/hip commit: ce7ae41d42 ]
2016-03-02 08:08:45 -06:00
Aditya Avinash Atluri
69cbc17c3e
Added Copyright
...
[ROCm/hip commit: 34e81c57ff ]
2016-03-02 08:53:10 -06:00
Aditya Atluri
fa55e39251
Added new multithreaded stream test
...
[ROCm/hip commit: fc49dc580a ]
2016-03-01 19:33:47 -06:00
Aditya Atluri
4aecd405c6
Uncommented failed tests, passing fine via 180bc3
...
[ROCm/hip commit: 0aba2a8b28 ]
2016-02-29 06:07:26 -06:00
Aditya Atluri
fc280af642
Revert "Testing all test cases"
...
This reverts commit d9ad5316db .
[ROCm/hip commit: 39d9f5e1b1 ]
2016-02-29 06:00:50 -06:00