Граф коммитов

186 Коммитов

Автор SHA1 Сообщение Дата
Ben Sander 5efb582db5 Remove ROCR_V2, assume=1
[ROCm/clr commit: 59f0ef2801]
2016-03-12 04:08:13 -06:00
Ben Sander a236942ca5 Remove USE_AM_TRACKER (assume 1)
[ROCm/clr commit: de4bb0ca0e]
2016-03-12 04:04:57 -06:00
Ben Sander d6ad50c2e0 Improve error reporting.
use throw with error class.
fix bug when memcpyDefault resolved to D2D copy.


[ROCm/clr commit: ac272932f6]
2016-03-12 04:02:04 -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
Ben Sander ad3972fdcd 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/clr commit: 9b1b108ea8]
2016-03-06 23:50:52 -06:00
Ben Sander b7b1577a90 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 5a3b3e1be4]
2016-03-04 08:22:56 -06:00
Ben Sander 6957beab37 Add FORCE_SAMEDIR_DEP for copies.
[ROCm/clr commit: 4a1238cf64]
2016-03-04 08:21:15 -06:00
Ben Sander 0e147cbcda Add define to disable STREAM thread-safety
[ROCm/clr commit: b529941f70]
2016-03-03 10:49:25 -06:00
Aditya Atluri fa46125c1f Added support for hipMemcpyDefault
[ROCm/clr commit: 696476f3e0]
2016-03-03 10:30:06 -06:00
Aditya Avinash Atluri e200fa6229 Update hip_hcc.cpp
[ROCm/clr commit: 6d9184b7a9]
2016-03-03 13:59:43 -06:00
Aditya Avinash Atluri 33497678f2 Fix output of hipPointerGetAttributes
The output of hipPointerGetAttributes is fixed to match CUDA counterpart.

[ROCm/clr commit: 7b868eb274]
2016-03-03 13:58:18 -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
Maneesh Gupta a5d80ddccc Fix hipcc from trying to compile object files
[ROCm/clr commit: dc1e863959]
2016-03-03 09:47:37 +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
Aditya Avinash Atluri a8af2285a1 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.

[ROCm/clr commit: a845dccfef]
2016-02-29 12:49:50 -06:00
pensun 279cd25c93 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 1c60874378]
2016-02-28 13:09:46 -06:00
Ben Sander d6c404e6f6 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.


[ROCm/clr commit: 4909faf8e3]
2016-02-28 21:19:49 -06:00
Ben Sander 57cb962823 add check for hip platform configuration
[ROCm/clr commit: 73013ef358]
2016-02-28 21:08:53 -06:00
Ben Sander 62bae97cf7 touchup
[ROCm/clr commit: be0d3510f5]
2016-02-28 21:08:53 -06:00
Ben Sander 130ffbe536 Describe using HIP with native-gcn compiler
[ROCm/clr commit: 25a94601be]
2016-02-28 21:08:53 -06:00
pensun 9d28711854 Merge branch 'doc_update' into privatestaging
[ROCm/clr commit: d185ed5f3d]
2016-02-27 15:13:14 -06:00
pensun 83250c6a54 resolve conflicts of doc_update
[ROCm/clr commit: cb352a17c3]
2016-02-27 15:08:45 -06:00
pensun b0f4039e10 minor typo fix
[ROCm/clr commit: dec63c6647]
2016-02-27 15:04:49 -06:00
pensun f9e01d97f9 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: dacae05c98]
2016-02-27 14:51:52 -06:00
pensun 4ada8d4ad9 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/clr commit: ee53ef507f]
2016-02-27 14:48:00 -06:00
pensun 3236c75b87 improve the HIP_VISIBLE_DEVICES implementation
[ROCm/clr commit: 17987b42c5]
2016-02-27 14:14:08 -06:00
Aditya Avinash Atluri e3ed04cba5 Update hipStreamL5.cpp
- Added Copyright
- Removed unnecessary headers
- Added naming scheme
- Added comments for failing cases
- Reformatted source

[ROCm/clr commit: 5f99484d3f]
2016-02-27 13:20:55 -06:00
pensun fc3eac09fe add test case and its driver for HIP_VISIBLE_DEVICES/CUDA_VISIBLE_DEVICES
[ROCm/clr commit: 43e156c002]
2016-02-27 09:43:38 -06:00
Aditya Atluri 4f16968050 [v2]: Added test to check single stream dispatches
[ROCm/clr commit: bb97cd9332]
2016-02-27 05:55:56 -06:00
Aditya Atluri cb38f1b7d9 Revert "Added test to check dispatches on single stream"
This reverts commit dcc97b7f25.


[ROCm/clr commit: 61c63c155c]
2016-02-27 05:48:41 -06:00
Aditya Atluri dcc97b7f25 Added test to check dispatches on single stream
[ROCm/clr commit: 90edf9c06f]
2016-02-27 05:44:57 -06:00
Aditya Avinash Atluri a44710cd7a Merge pull request #4 from AMDComputeLibraries/memtracker
hipGetPointerAttrib behavioral changes

[ROCm/clr commit: 9c4819bc29]
2016-02-27 10:51:23 -06:00
pensun e240619d84 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: bcbc76470d]
2016-02-27 04:25:28 -06:00
Ben Sander 9edf27447e disable rocrv2, properly
[ROCm/clr commit: 3eb281aeff]
2016-02-27 03:31:30 -06:00
Aditya Avinash Atluri 2d12c3c9f4 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/clr commit: e9a9c760fc]
2016-02-26 19:42:07 -06:00
Aditya Avinash Atluri 922bdad811 Update README.md
[ROCm/clr commit: db8bedc4d3]
2016-02-26 19:39:14 -06:00
Aditya Avinash Atluri 89a26397a0 Update README.md
[ROCm/clr commit: 08a82b405a]
2016-02-26 19:38:22 -06:00
Aditya Avinash Atluri 40726aa9a1 Corrected hipPointerGetAttribute
Made hipPointerGetAttribute work same as cudaPointerGetAttribute for HCC

[ROCm/clr commit: 2ca6162593]
2016-02-26 18:50:40 -06:00
Aditya Avinash Atluri 1e9551ce7b Null argument handling HIPCC
This change makes hipcc handle no-arguments passed to it. It solves https://github.com/AMDComputeLibraries/HIP-privatestaging/issues/1

[ROCm/clr commit: aeb86755c3]
2016-02-26 13:47:58 -06:00
Aditya Avinash Atluri e33fedcf9f Added CUDA support for hipPointerGetAttributes
[ROCm/clr commit: a31f878218]
2016-02-26 12:33:55 -06:00