Commit Graph

4314 Commits

Author SHA1 Message Date
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
atimofee 7dd7d036ed 1.CUDA structure types (and pointers to the types) in function parameter declaration conversion – DONE.
2.Wrong source locations in qualified types declaration:  – FIXED
3.cudaRuntimeGetVersion added to the names map
4.sizeof expression matcher added, expression handler is not yet ready - upcoming soon


[ROCm/clr commit: 351e7c74ea]
2016-02-26 23:35:27 +03: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
pensun f9748334cc relsove conflicts
[ROCm/clr commit: e21841c152]
2016-02-26 09:57:40 -06:00
pensun 35cbad1c77 fix compiling error
[ROCm/clr commit: 980ec93f46]
2016-02-26 09:50:00 -06:00
Ben Sander b97c2c02b1 fixes for titan platform
[ROCm/clr commit: 8105bd636f]
2016-02-26 05:25:30 -06:00
Ben Sander d5ae77ecc0 Disable ROCR_V2
[ROCm/clr commit: 822c7292c9]
2016-02-26 23:34:45 -06:00
Ben Sander e345f23846 Merge branch 'memtracker' into privatestaging
Conflicts:
	include/nvcc_detail/hip_runtime_api.h


[ROCm/clr commit: 7a1b4c3878]
2016-02-26 06:17:05 -06:00
Ben Sander ee153bb572 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 4a6173fe58]
2016-02-26 06:15:09 -06:00
Ben Sander b642f094b3 Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker
Conflicts:
	tests/src/hipMemcpy.cpp


[ROCm/clr commit: 69bb511b10]
2016-02-25 23:24:22 -06:00
Ben Sander d1e06b19fc Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker
Conflicts:
	tests/src/hipMemcpy.cpp


[ROCm/clr commit: 8d985188dd]
2016-02-25 23:22:51 -06:00
Ben Sander 7d1955ed1d Add PATH and LD_LIBRARY_FLAGS
[ROCm/clr commit: 67e96e983f]
2016-02-25 23:07:18 -06:00
Ben Sander b8b7596d4d Merge branch 'memtracker' into privatestaging
Conflicts:
	src/hip_hcc.cpp


[ROCm/clr commit: af97f5e317]
2016-02-25 19:38:46 -06:00
Ben Sander 078d5ff21e Tweak version numbers
[ROCm/clr commit: d3e1773704]
2016-02-25 19:30:42 -06:00
Ben Sander d2df45e132 Improve memory copy and commands switching
- Add chicken bits to use host-side dependency management.
- Add optional PinInPlace path for unpinned copies
- Synchronize before pinned memcpy path.
- Add mutex to protect two threads launching to same stream.


[ROCm/clr commit: 91ed5c7d78]
2016-02-25 19:19:49 -06:00
Aditya Avinash Atluri a89fb7c11e Update hip.vim
Added d2d and h2h highlights

[ROCm/clr commit: 6ec52348ea]
2016-02-25 14:49:58 -06:00
Evgeny Mankov 8e6e28df60 Attribute hipDeviceAttributeIsMultiGpuBoard for obtaining Device property isMultiGpuBoard is added.
On HIP path property obtaining done through hsa_iterate_agents and counting the devices of HSA_DEVICE_TYPE_GPU type.

P.S.
On multi-boards systems it might be problems with detection what board a GPU plugged into (not tested).


[ROCm/clr commit: 7bb0f17656]
2016-02-25 23:44:39 +03:00
atimofee ff18c125e7 Merge branch 'master' of https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP-hipify
[ROCm/clr commit: 27921652a6]
2016-02-25 22:55:49 +03:00
atimofee 1d9d223e31 Fixed tool crash on kernels with empty parameter list
[ROCm/clr commit: 63df6f915f]
2016-02-25 22:54:58 +03:00
dfukalov 79fdab1486 fixed lit script discovery in standalone build case
[ROCm/clr commit: 3d5de5305d]
2016-02-25 15:18:14 +03:00
Ben Sander 37b05790b1 Add test for thread-safety on streams
[ROCm/clr commit: 2228bbd119]
2016-02-25 04:22:34 -06:00
Ben Sander e8021479b3 Add abstraction for pinned/unpinned, and sync/async mem copies selection in tests
[ROCm/clr commit: 382638df1e]
2016-02-25 04:21:24 -06:00
atimofee 1ec9553c6b String literal bug fixed + string literal processing refactoring
[ROCm/clr commit: 36833c78f3]
2016-02-24 21:22:32 +03:00
atimofee e0eb715a95 Merge branch 'master' of https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP-hipify
[ROCm/clr commit: 2056dadaa1]
2016-02-24 19:27:52 +03:00
atimofee b2755257b1 TAB deleted
[ROCm/clr commit: a5695b1d52]
2016-02-24 19:27:02 +03:00
atimofee 7ba59141b3 CUDA names in string literals replacment added
[ROCm/clr commit: 665d3dc443]
2016-02-24 19:23:23 +03:00
dfukalov d0da3dbb31 -o=<output_filename> option added
[ROCm/clr commit: ac30cbfe65]
2016-02-24 19:10:00 +03:00
atimofee 108a06eea8 CUDA names in string literals replacment added
[ROCm/clr commit: 8bf31a49c8]
2016-02-24 17:42:02 +03:00
Aditya Avinash Atluri 65dd5b8170 Update hip.vim
[ROCm/clr commit: b86a905958]
2016-02-23 13:40:20 -06:00
Ben Sander 08f8387268 Add tests for multi-threaded streams
[ROCm/clr commit: 836c485d0b]
2016-02-23 12:08:22 -06:00
Ben Sander bb27a1d7e8 Sync review.
- add calls to ihipInit missing from some routines.
- sync before draining a stream.


[ROCm/clr commit: 8f98aca124]
2016-02-23 04:07:11 -06:00
Ben Sander 34aa8f1304 add hipLaunchParm
[ROCm/clr commit: 7d553a1113]
2016-02-23 04:05:41 -06:00
Ben Sander da37035a9c Improve async copy implementation.
- Add device-side signal waits when transitioning between command classes
(Kernel, H2D copy, D2H copy).
- Support waiting in staged memory copies as well.
- Add several chicken bits to control implementation:
    - HIP_DISABLE_ENQ_BARRIER
    - HIP_DISABLE_BIDIR_MEMCPY
    - HIP_ONESHOT_COPY_DEP
- Refactor signal pool to support efficient deallocation based on
signsequnm.
- Deallocate copy signals on eventSynchronize.
- Improve copy tests, add pingpong.


[ROCm/clr commit: 28990567fb]
2016-02-22 23:15:24 -06:00
Ben Sander 9e9b4fb547 Fix memcpy for Titan. Add <threads> to common includes
[ROCm/clr commit: 784ebcbc86]
2016-02-22 15:09:23 -06:00
Ben Sander 3b8a545ba7 Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker
[ROCm/clr commit: 16b04fc0d3]
2016-02-22 08:33:47 -06:00
gargrahul 9bb7be6891 Update for shared atomics support
[ROCm/clr commit: 14508fd0d6]
2016-02-22 16:21:52 +05:30
Maneesh Gupta 777bb30c51 Enable cospi,rsqrt,sinpi tests for HCC newer than 16073
[ROCm/clr commit: e2d97e19bc]
2016-02-22 15:13:23 +05:30
Ben Sander 4752321fb1 Track last command to a stream.
Passing simple tests.


[ROCm/clr commit: d5c777268a]
2016-02-20 11:02:07 -06:00
atimofee 3603f3b1b1 Added CUDA names replacement in string literals (i.e. error messages)
[ROCm/clr commit: 88b4f2859f]
2016-02-19 21:58:33 +03:00
streamhsa 6debabd11a Resolve issues for hip_popc and hip_ballot on nvcc
[ROCm/clr commit: 005155b7b2]
2016-02-19 20:18:03 +08:00
Evgeny Mankov 9874e598f8 A support of the following device properties is added to legacy hipify.pl: hipDeviceAttributeConcurrentKernels, hipDeviceAttributeMemoryClockRate & hipDeviceAttributeMemoryBusWidth.
[ROCm/clr commit: 376fb0d8ad]
2016-02-19 13:36:37 +03:00
Evgeny Mankov c76791140d Guard #ifdef USE_ROCR_20 is added for ROCR_20 device properties (memoryClockRate, memoryBusWidth)
By default isn't defined.
To add ROCR_20 support HIP have to be compiled as follows: make CXX_DEFINES+=-DUSE_ROCR_20


[ROCm/clr commit: d4b15399f5]
2016-02-19 13:27:03 +03:00