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

3648 Коммитов

Автор SHA1 Сообщение Дата
Ben Sander c300ffe458 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-26 06:15:09 -06:00
Ben Sander 812f56c119 Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker
Conflicts:
	tests/src/hipMemcpy.cpp
2016-02-25 23:24:22 -06:00
Ben Sander d319299ddb Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker
Conflicts:
	tests/src/hipMemcpy.cpp
2016-02-25 23:22:51 -06:00
Ben Sander a30018e166 Add PATH and LD_LIBRARY_FLAGS 2016-02-25 23:07:18 -06:00
Ben Sander 4adab7b7ef Merge branch 'memtracker' into privatestaging
Conflicts:
	src/hip_hcc.cpp
2016-02-25 19:38:46 -06:00
Ben Sander b1da7e4a70 Tweak version numbers 2016-02-25 19:30:42 -06:00
Ben Sander 8b64c0dc62 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.
2016-02-25 19:19:49 -06:00
Aditya Avinash Atluri 29c385ed72 Update hip.vim
Added d2d and h2h highlights
2016-02-25 14:49:58 -06:00
Evgeny Mankov 57e212606d 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).
2016-02-25 23:44:39 +03:00
atimofee fea2399fc2 Merge branch 'master' of https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP-hipify 2016-02-25 22:55:49 +03:00
atimofee e2379adae3 Fixed tool crash on kernels with empty parameter list 2016-02-25 22:54:58 +03:00
dfukalov 7b79c7c4fd fixed lit script discovery in standalone build case 2016-02-25 15:18:14 +03:00
Ben Sander 7e45addbee Add test for thread-safety on streams 2016-02-25 04:22:34 -06:00
Ben Sander ecec7e36d9 Add abstraction for pinned/unpinned, and sync/async mem copies selection in tests 2016-02-25 04:21:24 -06:00
atimofee 0438f7959e String literal bug fixed + string literal processing refactoring 2016-02-24 21:22:32 +03:00
atimofee e7c12f45db Merge branch 'master' of https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP-hipify 2016-02-24 19:27:52 +03:00
atimofee 3fbdeafee4 TAB deleted 2016-02-24 19:27:02 +03:00
atimofee 012afc743f CUDA names in string literals replacment added 2016-02-24 19:23:23 +03:00
dfukalov 051f008ade -o=<output_filename> option added 2016-02-24 19:10:00 +03:00
atimofee 203152cb28 CUDA names in string literals replacment added 2016-02-24 17:42:02 +03:00
Aditya Avinash Atluri 4851cedf6c Update hip.vim 2016-02-23 13:40:20 -06:00
Ben Sander 7090f5c3f9 Add tests for multi-threaded streams 2016-02-23 12:08:22 -06:00
Ben Sander 3886d494f4 Sync review.
- add calls to ihipInit missing from some routines.
- sync before draining a stream.
2016-02-23 04:07:11 -06:00
Ben Sander 9c259bb86c add hipLaunchParm 2016-02-23 04:05:41 -06:00
Ben Sander 549b18ce77 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.
2016-02-22 23:15:24 -06:00
Ben Sander c2d66a48a7 Fix memcpy for Titan. Add <threads> to common includes 2016-02-22 15:09:23 -06:00
Ben Sander 0a98db4b5f Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker 2016-02-22 08:33:47 -06:00
gargrahul a2fbf06129 Update for shared atomics support 2016-02-22 16:21:52 +05:30
Maneesh Gupta c5c11d3707 Enable cospi,rsqrt,sinpi tests for HCC newer than 16073 2016-02-22 15:13:23 +05:30
Ben Sander d33d806a5b Track last command to a stream.
Passing simple tests.
2016-02-20 11:02:07 -06:00
atimofee 4b13cfc460 Added CUDA names replacement in string literals (i.e. error messages) 2016-02-19 21:58:33 +03:00
streamhsa a7232c7f9e Resolve issues for hip_popc and hip_ballot on nvcc 2016-02-19 20:18:03 +08:00
Evgeny Mankov b23f9776ca A support of the following device properties is added to legacy hipify.pl: hipDeviceAttributeConcurrentKernels, hipDeviceAttributeMemoryClockRate & hipDeviceAttributeMemoryBusWidth. 2016-02-19 13:36:37 +03:00
Evgeny Mankov 833c9e52ad 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
2016-02-19 13:27:03 +03:00
Ben Sander d8cf65edac Describe how to update HTML docs 2016-02-19 01:56:17 -06:00
dfukalov f3dfd07fa5 fix build bug with current clang/llvm 2016-02-18 23:16:52 +03:00
Evgeny Mankov fbdeee39cd Formatting, no functional changes. 2016-02-18 18:54:19 +03:00
Evgeny Mankov 1c19dbb807 Device property memoryBusWidth implementation.
+ Device property memoryBusWidth is added to hipDeviceProp_t struct.
+ Device attribute hipDeviceAttributeMemoryBusWidth is added to hipDeviceAttribute_t struct.
+ Tests update.
2016-02-18 18:15:01 +03:00
Ben Sander 617e7d8a7d Update release notes 2016-02-18 21:07:14 -06:00
Ben Sander 311a728d25 Search multiple dirs. 2016-02-18 21:07:14 -06:00
Ben Sander ac5957320e Update doxygen HTML 2016-02-18 21:02:39 -06:00
Ben Sander 129088992b Update doxygen HTML 2016-02-18 20:43:03 -06:00
Evgeny Mankov 5ea8543d2e Device property memoryClockRate implementation.
+ Device property memoryClockRate is added to hipDeviceProp_t struct.
+ Device attribute hipDeviceAttributeMemoryClockRate is added to hipDeviceAttribute_t struct.
+ Tests update.
+ Rename hipDevAttrConcurrentKernels to hipDeviceAttributeConcurrentKernels.
2016-02-18 17:25:28 +03:00
Evgeny Mankov 5b05a9fef1 hipInfo sample update with new Device Properties. 2016-02-18 15:08:55 +03:00
Evgeny Mankov 2b6fda77ca Attribute hipDevAttrConcurrentKernels for obtaining Device property concurrentKernels is added. 2016-02-18 14:34:18 +03:00
Ben Sander b63470f4cc remove extra : 2016-02-18 03:05:53 -06:00
Ben Sander b12ec21806 Tweak version numbers 2016-02-18 21:29:51 -06:00
Ben Sander ba224011b0 Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker 2016-02-17 23:06:51 -06:00
Ben Sander c6f8883b0d Enable Tracker and ROCR by default, verify with HCC 2016-02-17 23:03:37 -06:00
Ben Sander d653782d9d Remove HIP-local AM tracker (now in HCC) 2016-02-17 21:33:32 -06:00