Ben Sander
620eb30691
Cleanup hipEvent. (Intermediate checkpoint)
...
Support hipEventDisableSystemRelease flag.
Update test.
Remove stray printf
2017-05-27 16:02:34 -05:00
Ben Sander
75f691ec2f
Add hipHostMallocCoherent, hipHostMallocNonCoherent
...
Provide per-allocation control over coherent/non-coherent mem.
These overrid the default HIP_COHERENT_HOST_ALLOC setting.
2017-05-24 00:48:10 -05:00
Ben Sander
c3ccaa01e5
hipHostMalloc allocation are mapped to all devices by default.
...
Support hipHostMallocPortable flag.
Default flags are hipHostMallocPortable | hipHostMallocMapped.
Also:
-refactor tests to move addCount and addCountReverse into HipTest
namespace.
-test multi-GPU host memory.
2017-05-10 17:34:36 -05:00
Ben Sander
6437f5d2b2
Refactor hipHostRegister test.
...
Run all tests in one command.
Run 128 offsets.
2017-05-05 17:29:04 -05:00
Ben Sander
cd93a2f229
Add host offset checking
2017-04-24 22:30:54 -05:00
Ben Sander
b7b17c3841
Refactor hipHostRegister test.
...
- Add more testing for offsets.
- Parse cmdline options and use --tests.
2017-04-24 22:30:54 -05:00
Ben Sander
8ba993e36c
Refactor hipHostRegister to cover misaligned cases.
2017-04-24 22:30:54 -05:00
Ben Sander
ab410add5c
Add test for non-page-aligned mem copies.
2017-04-24 22:30:54 -05:00
Ben Sander
c5d89d9e7f
Add corrected test for offsets
2017-04-24 22:30:54 -05:00
Ben Sander
2bc0a6030e
Refactor hipMemcpy test to share mem alloc for multiple copies.
2017-04-24 22:30:54 -05:00
Ben Sander
dc001ef9b4
Add negative testing for memory full condition.
2017-04-24 22:30:54 -05:00
Maneesh Gupta
65bb22eefc
Disable broken tests on hcc path
...
Change-Id: Id6234da576566faa32d5fdf42dca6d6267596823
2017-03-15 12:03:44 +05:30
Ben Sander
e7d6a34327
Update hiphostregister test.
...
Move check to correct place.
2017-03-12 09:51:33 -05:00
Ben Sander
0a554f4dc1
Update hipHostRegister debug and pointerTracker debug and notes
2017-03-11 09:18:27 -06:00
Ben Sander
94c85fd4fc
Fix copying of registered memory.
...
Set device properly so copying can recover context.
Enhance test to catch this case.
2017-03-11 09:18:27 -06:00
Maneesh Gupta
7a59103cea
Disable hipMemPtrGetInfo test on nvcc path
...
Change-Id: I864e571314abfe5ae614e6792c86d7b457c920ee
2017-03-08 16:16:08 +05:30
Aditya Atluri
1546732604
Added new API, hipMemPtrGetInfo
...
1. This API returns memory allocation size of pointer
2. Added test to check its functionality
Change-Id: I87976d817b5a6ca5530336c09e7cb0420601cb2c
2017-03-07 13:46:29 -06:00
Maneesh Gupta
f1c3dd0dff
Fix compilation of some broken tests on nvcc path
...
Change-Id: I92406af00c2de09d728e9b7f661c1f3873470560
2017-02-27 13:17:51 +05:30
Aditya Atluri
5e3d63c0a3
changed __global__ attribute
...
1. Moved around tests and added them to HIT
Change-Id: I5d75280c42a5af852670ebabc7305ee56721ec7b
2017-02-03 10:53:36 -06:00
pensun
50867efa10
Add direct test case for threadfence_system workaround
...
Change-Id: I5b21b590e957c901044741ac94e816cd8b1426f9
2016-11-11 15:09:43 -06:00
Maneesh Gupta
66f810ebaa
Remove deprecated make and cmake files
...
Change-Id: I8cac0ec9cb997214559627425af207bbb9be0ddf
2016-10-07 11:44:26 +05:30
Maneesh Gupta
7e04884d0f
directed tests: Updated to use new hip include path
...
Change-Id: Iab1aee638b7158eb9674a19625dedf6471947e51
2016-10-04 22:20:50 +05:30
Ben Sander
3bda7532cf
fix test args
...
Change-Id: If18eb2a5e504accb72a25716aafb6867002fefb2
2016-10-01 14:39:22 -05:00
Maneesh Gupta
4807279988
directed tests: Enable remaining tests in HIT infrastructure
...
Change-Id: I800ee00d6f7d339bb5d2ed898a16362a8541ed3a
2016-09-27 17:24:33 +05:30
Ben Sander
84b14aa9d6
Doc and test updates.
...
Change-Id: I44cbd2c0de7cb692d0194d1bb8b8ae25c58d4e00
2016-09-02 09:46:59 -05:00
pensun
b726f0e949
Modify hipMalloc to take size of 0 and return NULL pointer for it.
...
Modify hipMemoryAllocate test for this change.
Change-Id: I884aee0cd5fe0c60aebb4cb37cdbb4833c5bd0c7
2016-09-01 13:08:30 -05:00
Maneesh Gupta
50be71206d
Disable hipMemcpyAll test
...
Change-Id: I58ff2e1baa91e3af335dd869ce4f6d56cd81028c
2016-06-18 15:48:42 +05:30
Ben Sander
55560ab8a0
Fix test project names
...
Change-Id: I105c3759208ec832f3bdf6068029b4bfa2827909
2016-06-17 15:18:57 -05:00
Ben Sander
1b69b2e9f0
Refactor directed test infrastructue.
...
- Add hierarchy. Tests now live in directories, each with its own
CMakeFiles.txt. Reduces merge conflicts.
- Change make_hip_executable -> build_hip_executable.
- Refresh docs.
- Enable some tests that were previously built but not run.
Change-Id: I8c5de3c954400bf233904282b8b42861a2b7c536
2016-06-17 15:18:57 -05:00