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
Aditya Atluri
cb2b9495f8
Revert "Revert "fixed memory free apis""
...
This reverts commit 70d2a03efd .
[ROCm/clr commit: 8af8ee2476 ]
2016-03-21 10:40:42 -05:00
Aditya Atluri
70d2a03efd
Revert "fixed memory free apis"
...
This reverts commit 805dbd6d90 .
[ROCm/clr commit: 1fa4d0d4b9 ]
2016-03-21 10:36:11 -05:00
Aditya Atluri
805dbd6d90
fixed memory free apis
...
[ROCm/clr commit: 71a6b5cb6c ]
2016-03-21 10:32:30 -05:00
Aditya Atluri
0a91b906f1
Disabling default-stream per-thread tests
...
[ROCm/clr commit: 93e6362104 ]
2016-03-21 14:42:23 -05:00
Aditya Atluri
cad8b62504
Added feature for --default-streams not working tests and hipcc
...
[ROCm/clr commit: f6b38b18b6 ]
2016-03-20 08:08:33 -05:00
Ben Sander
c2fd536c22
fix nvcc compiler
...
- MallocHost and FreeHost deprecation.
- Change tests to call new hipHost* equivs.
- Add missing StreamSynchronize.
[ROCm/clr commit: 6984f24d3d ]
2016-03-19 04:20:15 -05:00
Ben Sander
d41836a4a1
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/clr commit: 4c6fd4e7ec ]
2016-03-19 04:11:39 -05:00
Ben Sander
3305c49949
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
Conflicts:
src/hip_hcc.cpp
[ROCm/clr commit: 90ad8ddc5d ]
2016-03-19 03:22:09 -05:00
Ben Sander
3323d2005c
disable mt streams tests (for now)
...
[ROCm/clr commit: efc9df8805 ]
2016-03-19 03:10:31 -05:00
Ben Sander
dd90a8ff34
Refactor to isolate staging buffer code.
...
[ROCm/clr commit: 1b7cc7d921 ]
2016-03-17 00:20:56 -05:00
Ben Sander
622902d408
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/clr commit: a1879ba59b ]
2016-03-16 22:26:49 -05:00
Ben Sander
c903229e9a
Add aligned alloc
...
[ROCm/clr commit: c9d46bdcde ]
2016-03-16 21:55:57 -05:00
Aditya Atluri
420797aed8
src/ fixed hipHostAllocDefault flags
...
[ROCm/clr commit: 6beed19460 ]
2016-03-16 07:32:54 -05:00
Aditya Atluri
488512466a
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/clr commit: 9b78f0a454 ]
2016-03-16 07:17:22 -05:00
Aditya Atluri
d62227266b
Added performance test for memcpy
...
[ROCm/clr commit: 7567a6c0ac ]
2016-03-16 07:16:51 -05:00
Aditya Atluri
63523fbeb7
tests/src [v4] Added feature for partial writes on CPU
...
[ROCm/clr commit: 6baeb08e1c ]
2016-03-16 07:04:40 -05:00
Aditya Atluri
9f9a56597c
test/src [v3] clean up
...
[ROCm/clr commit: 9b772c8553 ]
2016-03-16 05:30:29 -05:00
Aditya Atluri
6253fbbfe5
increased iteration size
...
[ROCm/clr commit: 8f527d2288 ]
2016-03-16 05:24:08 -05:00
Aditya Atluri
2a0d9ffb9c
added cudaHostRegister test
...
[ROCm/clr commit: a60649868d ]
2016-03-16 05:15:03 -05:00
Aditya Atluri
5327f3cbac
Deprecating hipMallocHost to hipHostAlloc
...
[ROCm/clr commit: 4d4d592e0c ]
2016-03-15 06:30:16 -05:00
Ben Sander
19a0fb0e0e
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
Conflicts:
src/hip_hcc.cpp
tests/src/CMakeLists.txt
[ROCm/clr commit: 15a8e8f8a0 ]
2016-03-14 15:01:26 -05:00
Aditya Atluri
6162990f44
Added hipHostRegister for hip with tests and added copyright
...
[ROCm/clr commit: 3127969d97 ]
2016-03-08 12:57:22 -06:00
Aditya Atluri
0667928d29
Added a random test for memcpyAsync
...
[ROCm/clr commit: 4503ebcb21 ]
2016-03-08 03:40:56 -06:00
Ben Sander
98d6ab118f
Refactor memccpy tests.
...
- Add "hipMemcpy_simple" - some simple smoke tests.
- Run memcpy 3 times w/ different switches for kinds, sizes,
multi-thread.
[ROCm/clr commit: 1d87879008 ]
2016-03-07 17:15:48 -06:00
Aditya Atluri
8a8836088b
Added hipHostRegister feature for CUDA backend and its tests
...
[ROCm/clr commit: 496c549141 ]
2016-03-07 03:42:50 -06:00
Aditya Atluri
cf23f09b7e
added copyrights for newly added tests
...
[ROCm/clr commit: 751f0a2ca7 ]
2016-03-07 02:01:25 -06:00
Aditya Atluri
9fc6a314ab
Increased size of arrays for single stream tests
...
[ROCm/clr commit: 4856b68ad8 ]
2016-03-07 01:40:31 -06:00
Aditya Atluri
d7d689cf32
added feature for hipHostGetFlags for CUDA and HIP
...
[ROCm/clr commit: 45408db5dc ]
2016-03-06 12:17:30 -06:00
Aditya Atluri
e5657dec23
corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs
...
[ROCm/clr commit: 8a21b42943 ]
2016-03-06 08:31:04 -06:00
Aditya Atluri
375d90a632
Added hipHostAlloc feature for CUDA
...
[ROCm/clr commit: 2212d35e2d ]
2016-03-05 13:58:56 -06:00
Aditya Atluri
8254ed4dfa
Revert "Added canMapHostMemory feature"
...
This reverts commit 7eb8b2cc1d .
[ROCm/clr commit: a8d30da648 ]
2016-03-05 13:08:57 -06:00
Aditya Atluri
7eb8b2cc1d
Added canMapHostMemory feature
...
[ROCm/clr commit: 8c3777d317 ]
2016-03-05 13:06:37 -06:00
Aditya Atluri
fa46125c1f
Added support for hipMemcpyDefault
...
[ROCm/clr commit: 696476f3e0 ]
2016-03-03 10:30:06 -06:00
Aditya Avinash Atluri
87c279cf1e
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/clr commit: c5606c13e7 ]
2016-03-03 13:48:58 -06:00
pensun
c85ce19fb7
Fix for hipEnvVar test for titan machine
...
[ROCm/clr commit: 0b048afa79 ]
2016-03-03 06:23:17 -06:00
Maneesh Gupta
357ca59250
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/clr commit: 077b8f51c5 ]
2016-03-03 09:53:04 +05:30
Maneesh Gupta
069667dfd4
Fix hip_ballot.cpp compilation on hcc
...
[ROCm/clr commit: eefa31620d ]
2016-03-03 09:52:41 +05:30
Maneesh Gupta
811f64af8e
Fix hipPointerAttrib.cpp compilation on nvcc
...
[ROCm/clr commit: fc3fc15aea ]
2016-03-03 09:48:47 +05:30
pensun
83afc7ac7c
fix for hipEnvVarDriver test
...
[ROCm/clr commit: 8c0ce13ec2 ]
2016-03-02 04:35:37 -06:00
Aditya Atluri
5e0a69801a
Initialize hip when single kernel is called
...
[ROCm/clr commit: 5efc4ce08a ]
2016-03-02 08:08:45 -06:00
Aditya Avinash Atluri
e1b7b915f5
Added Copyright
...
[ROCm/clr commit: 831fa31eea ]
2016-03-02 08:53:10 -06:00
Aditya Atluri
22e4c8bef3
Added new multithreaded stream test
...
[ROCm/clr commit: 6cd1983745 ]
2016-03-01 19:33:47 -06:00
Aditya Atluri
f821d867d6
Uncommented failed tests, passing fine via 180bc3
...
[ROCm/clr commit: 97b6f586fb ]
2016-02-29 06:07:26 -06:00
Aditya Atluri
8711fd21c0
Revert "Testing all test cases"
...
This reverts commit 087db9341e .
[ROCm/clr commit: bef57b11d3 ]
2016-02-29 06:00:50 -06:00
Aditya Avinash Atluri
087db9341e
Testing all test cases
...
The comments for not-working tests are removed. They are working fine, thanks to this commit https://github.com/AMDComputeLibraries/HIP-privatestaging/commit/a8af2285a1ae1f774a65ac08d75c4fbb12955569
[ROCm/clr commit: dfd72b5ed7 ]
2016-02-29 13:01:43 -06:00
pensun
b0f4039e10
minor typo fix
...
[ROCm/clr commit: dec63c6647 ]
2016-02-27 15:04:49 -06:00