Commit Graph

106 Commits

Author SHA1 Message Date
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
Maneesh Gupta 69132a5a5b Fix hipPointerAttrib.cpp compilation on nvcc
[ROCm/hip commit: 403206074e]
2016-03-03 09:48:47 +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
Aditya Avinash Atluri d9ad5316db 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/5214b314a99bf8f0e77d4594a567c8a59bf3740f

[ROCm/hip commit: 381fe8b51d]
2016-02-29 13:01:43 -06:00
pensun 5386d7d7c6 minor typo fix
[ROCm/hip commit: 06dce734ee]
2016-02-27 15:04:49 -06:00
pensun 7a2991ed9e Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/hip commit: 2d0394eaae]
2016-02-27 14:51:52 -06:00
pensun b9421830a4 Test cases for HIP_VISIBLE_DEVICES/CUDA_VISIBLE_DEVICES.
hipEnvVar is the base test case, to be called by hipEnvVarDriver
at the run time.
Test case includes tests for normal use case of the environment
variable, invalid value/sequence and use CUDA_VISIBLE_DEVICES as a
alternative.


[ROCm/hip commit: 39b44cb484]
2016-02-27 14:48:00 -06:00
Aditya Avinash Atluri ab2f5e0158 Update hipStreamL5.cpp
- Added Copyright
- Removed unnecessary headers
- Added naming scheme
- Added comments for failing cases
- Reformatted source

[ROCm/hip commit: cdccdb9faa]
2016-02-27 13:20:55 -06:00
pensun dcf5ac2c06 add test case and its driver for HIP_VISIBLE_DEVICES/CUDA_VISIBLE_DEVICES
[ROCm/hip commit: 43315ad62b]
2016-02-27 09:43:38 -06:00
Aditya Atluri d0e96d1b27 [v2]: Added test to check single stream dispatches
[ROCm/hip commit: 14ec56acab]
2016-02-27 05:55:56 -06:00
Aditya Atluri d3c0e23113 Revert "Added test to check dispatches on single stream"
This reverts commit 0201608b44.


[ROCm/hip commit: 3733599cb4]
2016-02-27 05:48:41 -06:00
Aditya Atluri 0201608b44 Added test to check dispatches on single stream
[ROCm/hip commit: f134c6ccb6]
2016-02-27 05:44:57 -06:00
Aditya Avinash Atluri f2dfb87abf Merge pull request #4 from AMDComputeLibraries/memtracker
hipGetPointerAttrib behavioral changes

[ROCm/hip commit: ecadb1623c]
2016-02-27 10:51:23 -06:00
Aditya Avinash Atluri ec7375ea3c Updated hipPointerAttrib.cpp to pass HC backend
The changes are according to the new API function change in HC backend for HIP. Especially hipPointerGetAttribute(...)

[ROCm/hip commit: 4c354c9888]
2016-02-26 19:42:07 -06:00
Aditya Avinash Atluri 52f2fc5b95 Update README.md
[ROCm/hip commit: 875403fec8]
2016-02-26 19:39:14 -06:00