커밋 그래프

190 커밋

작성자 SHA1 메시지 날짜
Ben Sander 1a27e5134e enable DB, comments 2016-03-14 14:40:41 -05:00
Ben Sander 5606bee076 Add Bidir copy test and help. 2016-03-14 14:39:23 -05:00
Ben Sander ac6ed35ba0 refactor, add support for speccing xfers in bytes 2016-03-13 09:41:06 -05:00
Ben Sander b0dca6bd0c Remove ROCR_V2, assume=1 2016-03-12 04:08:13 -06:00
Ben Sander a5a2c7f33c Remove USE_AM_TRACKER (assume 1) 2016-03-12 04:04:57 -06:00
Ben Sander 250739666d Improve error reporting.
use throw with error class.
fix bug when memcpyDefault resolved to D2D copy.
2016-03-12 04:02:04 -06:00
Ben Sander cc7517b57e Refactor memccpy tests.
- Add "hipMemcpy_simple" - some simple smoke tests.
- Run memcpy 3 times w/ different switches for kinds, sizes,
  multi-thread.
2016-03-07 17:15:48 -06:00
Ben Sander aa03e1264c 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
2016-03-06 23:50:52 -06:00
Ben Sander 6d4c830613 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-04 08:22:56 -06:00
Ben Sander ed71cded1c Add FORCE_SAMEDIR_DEP for copies. 2016-03-04 08:21:15 -06:00
Ben Sander 5e51ff177a Add define to disable STREAM thread-safety 2016-03-03 10:49:25 -06:00
Aditya Atluri c154e1f4e4 Added support for hipMemcpyDefault 2016-03-03 10:30:06 -06:00
Aditya Avinash Atluri 40eefc1cde Update hip_hcc.cpp 2016-03-03 13:59:43 -06:00
Aditya Avinash Atluri b6e34a44b0 Fix output of hipPointerGetAttributes
The output of hipPointerGetAttributes is fixed to match CUDA counterpart.
2016-03-03 13:58:18 -06:00
Aditya Avinash Atluri d4765d39a2 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.
2016-03-03 13:48:58 -06:00
pensun 20f939b356 Fix for hipEnvVar test for titan machine 2016-03-03 06:23:17 -06:00
Maneesh Gupta df1abec682 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-03 09:53:04 +05:30
Maneesh Gupta ba6393e36d Fix hip_ballot.cpp compilation on hcc 2016-03-03 09:52:41 +05:30
Maneesh Gupta 403206074e Fix hipPointerAttrib.cpp compilation on nvcc 2016-03-03 09:48:47 +05:30
Maneesh Gupta 5013884d3d Fix hipcc from trying to compile object files 2016-03-03 09:47:37 +05:30
pensun 4018d6a33b fix for hipEnvVarDriver test 2016-03-02 04:35:37 -06:00
Aditya Atluri ce7ae41d42 Initialize hip when single kernel is called 2016-03-02 08:08:45 -06:00
Aditya Avinash Atluri 34e81c57ff Added Copyright 2016-03-02 08:53:10 -06:00
Aditya Atluri fc49dc580a Added new multithreaded stream test 2016-03-01 19:33:47 -06:00
Aditya Atluri 0aba2a8b28 Uncommented failed tests, passing fine via 180bc3 2016-02-29 06:07:26 -06:00
Aditya Atluri 39d9f5e1b1 Revert "Testing all test cases"
This reverts commit 381fe8b51d.
2016-02-29 06:00:50 -06:00
Aditya Avinash Atluri 381fe8b51d 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/180bc32db0dd57e3baae828d5ed34e8f3b13e836
2016-02-29 13:01:43 -06:00
Aditya Avinash Atluri 180bc32db0 H2H Async memcpy fix
In this change, the cpu memcpy will wait until all the commands in the current stream are done.
Note that, it only waits on current stream. But not on other streams.
2016-02-29 12:49:50 -06:00
pensun 2b9ffefad0 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-28 13:09:46 -06:00
Ben Sander ba9ad6be80 Copy dependency bug fixes and test modes.
Add dependency for host-to-host copy.

Add debug mode for HIP_DISABLE_HW_COPY_DEP and
HIP_DISABLE_HW_KERNEL_DEP - setting these to -1 now ignores
all dependencies.
2016-02-28 21:19:49 -06:00
Ben Sander 352c056ea6 add check for hip platform configuration 2016-02-28 21:08:53 -06:00
Ben Sander af22d056e0 touchup 2016-02-28 21:08:53 -06:00
Ben Sander 28b28ba9b9 Describe using HIP with native-gcn compiler 2016-02-28 21:08:53 -06:00
pensun 1a5c78062f Merge branch 'doc_update' into privatestaging 2016-02-27 15:13:14 -06:00
pensun 11ca71bd76 resolve conflicts of doc_update 2016-02-27 15:08:45 -06:00
pensun 06dce734ee minor typo fix 2016-02-27 15:04:49 -06:00
pensun 2d0394eaae Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-27 14:51:52 -06:00
pensun 39b44cb484 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.
2016-02-27 14:48:00 -06:00
pensun 1f606261c1 improve the HIP_VISIBLE_DEVICES implementation 2016-02-27 14:14:08 -06:00
Aditya Avinash Atluri cdccdb9faa Update hipStreamL5.cpp
- Added Copyright
- Removed unnecessary headers
- Added naming scheme
- Added comments for failing cases
- Reformatted source
2016-02-27 13:20:55 -06:00
pensun 43315ad62b add test case and its driver for HIP_VISIBLE_DEVICES/CUDA_VISIBLE_DEVICES 2016-02-27 09:43:38 -06:00
Aditya Atluri 14ec56acab [v2]: Added test to check single stream dispatches 2016-02-27 05:55:56 -06:00
Aditya Atluri 3733599cb4 Revert "Added test to check dispatches on single stream"
This reverts commit f134c6ccb6.
2016-02-27 05:48:41 -06:00
Aditya Atluri f134c6ccb6 Added test to check dispatches on single stream 2016-02-27 05:44:57 -06:00
Aditya Avinash Atluri ecadb1623c Merge pull request #4 from AMDComputeLibraries/memtracker
hipGetPointerAttrib behavioral changes
2016-02-27 10:51:23 -06:00
pensun 07e56d4666 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-27 04:25:28 -06:00
Ben Sander ea09557e1b disable rocrv2, properly 2016-02-27 03:31:30 -06:00
Aditya Avinash Atluri 4c354c9888 Updated hipPointerAttrib.cpp to pass HC backend
The changes are according to the new API function change in HC backend for HIP. Especially hipPointerGetAttribute(...)
2016-02-26 19:42:07 -06:00
Aditya Avinash Atluri 875403fec8 Update README.md 2016-02-26 19:39:14 -06:00
Aditya Avinash Atluri 0fda8711d5 Update README.md 2016-02-26 19:38:22 -06:00