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

13557 Коммитов

Автор SHA1 Сообщение Дата
Aditya Avinash Atluri b86a905958 Update hip.vim 2016-02-23 13:40:20 -06:00
Ben Sander 836c485d0b Add tests for multi-threaded streams 2016-02-23 12:08:22 -06:00
foreman 25c8e12f86 P4 to Git Change 1239589 by mtomarov@stg-ocl-mtomarov on 2016/02/23 07:47:15
SWDEV-76870 - Add write feature to AMD extension (Merging //depot/rel/r6/15.30.1023/stream/opencl/... to //depot/stg/opencl/drivers/opencl/...)

	Add clEnqueueReadBufferToFileAMD function to AMD extension (added declaration in cl_context.cpp)
	1. Added clEnqueueReadBufferToFileAMD_fn function declaration to cl_ext.h
	2. Added LiquidFlashFile::writeBlock method who implements transfer from GPU to SSD. In order to avoid code duplication LiquidFlashFile::readBlock and LiquidFlashFile::writeBlock is called from new method LiquidFlashFile::transferBlock (changes in cl_lqdflash_amd.cpp)
	3. clEnqueueWriteBufferFromFileAMD and clEnqueueWriteBufferFromFileAMD call internal function EnqueueTransferBufferFromFileAMD who makes the same preparations as clEnqueueWriteBufferFromFileAMD in the prvious release
	4. WriteBufferFromFileCommand class is renamed to TransferBufferFromFileCommand and new class makes the same preparation except assigning transfer direction (read or write)

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#48 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.h#4 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#24 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#267 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#396 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#138 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#81 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#96 edit
2016-02-23 07:57:16 -05:00
foreman 1cb5415538 P4 to Git Change 1239589 by mtomarov@stg-ocl-mtomarov on 2016/02/23 07:47:15
SWDEV-76870 - Add write feature to AMD extension (Merging //depot/rel/r6/15.30.1023/stream/opencl/... to //depot/stg/opencl/drivers/opencl/...)

	Add clEnqueueReadBufferToFileAMD function to AMD extension (added declaration in cl_context.cpp)
	1. Added clEnqueueReadBufferToFileAMD_fn function declaration to cl_ext.h
	2. Added LiquidFlashFile::writeBlock method who implements transfer from GPU to SSD. In order to avoid code duplication LiquidFlashFile::readBlock and LiquidFlashFile::writeBlock is called from new method LiquidFlashFile::transferBlock (changes in cl_lqdflash_amd.cpp)
	3. clEnqueueWriteBufferFromFileAMD and clEnqueueWriteBufferFromFileAMD call internal function EnqueueTransferBufferFromFileAMD who makes the same preparations as clEnqueueWriteBufferFromFileAMD in the prvious release
	4. WriteBufferFromFileCommand class is renamed to TransferBufferFromFileCommand and new class makes the same preparation except assigning transfer direction (read or write)

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#48 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.h#4 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#24 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#267 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#396 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#138 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#81 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#96 edit
2016-02-23 07:57:16 -05:00
Ben Sander 8f98aca124 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 7d553a1113 add hipLaunchParm 2016-02-23 04:05:41 -06:00
foreman 131b479d5a P4 to Git Change 1239533 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/23 03:00:11
SWDEV-2 - Change OpenCL version number from 2042 to 2043.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1789 edit
2016-02-23 03:12:02 -05:00
Ben Sander 28990567fb 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
foreman 01f19b6043 P4 to Git Change 1239340 by rili@rili-opencl-stg on 2016/02/22 16:50:49
SWDEV-84552 - Flush HSAIL kernel execution if workload is too big.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#395 edit
2016-02-22 17:03:42 -05:00
Ben Sander 784ebcbc86 Fix memcpy for Titan. Add <threads> to common includes 2016-02-22 15:09:23 -06:00
Ben Sander 16b04fc0d3 Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker 2016-02-22 08:33:47 -06:00
gargrahul 14508fd0d6 Update for shared atomics support 2016-02-22 16:21:52 +05:30
Maneesh Gupta e2d97e19bc Enable cospi,rsqrt,sinpi tests for HCC newer than 16073 2016-02-22 15:13:23 +05:30
foreman 14b42fd228 P4 to Git Change 1239091 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/22 03:00:10
SWDEV-2 - Change OpenCL version number from 2041 to 2042.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1788 edit
2016-02-22 03:08:11 -05:00
foreman 307b706050 P4 to Git Change 1239008 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/21 03:00:11
SWDEV-2 - Change OpenCL version number from 2040 to 2041.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1787 edit
2016-02-21 03:11:22 -05:00
Ben Sander d5c777268a Track last command to a stream.
Passing simple tests.
2016-02-20 11:02:07 -06:00
foreman a05dfcaeae P4 to Git Change 1238987 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/20 03:00:10
SWDEV-2 - Change OpenCL version number from 2039 to 2040.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1786 edit
2016-02-20 03:09:52 -05:00
atimofee 88b4f2859f Added CUDA names replacement in string literals (i.e. error messages) 2016-02-19 21:58:33 +03:00
streamhsa 005155b7b2 Resolve issues for hip_popc and hip_ballot on nvcc 2016-02-19 20:18:03 +08:00
Evgeny Mankov 376fb0d8ad 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 d4b15399f5 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
foreman 71eee0e8e9 P4 to Git Change 1238616 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/19 03:00:12
SWDEV-2 - Change OpenCL version number from 2038 to 2039.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1785 edit
2016-02-19 03:07:24 -05:00
Ben Sander 16ff0757a6 Describe how to update HTML docs 2016-02-19 01:56:17 -06:00
dfukalov 1f77fd5dcc fix build bug with current clang/llvm 2016-02-18 23:16:52 +03:00
Evgeny Mankov 14ec340746 Formatting, no functional changes. 2016-02-18 18:54:19 +03:00
Evgeny Mankov da8169dd89 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 2447067f27 Update release notes 2016-02-18 21:07:14 -06:00
Ben Sander ad20273a1d Search multiple dirs. 2016-02-18 21:07:14 -06:00
Ben Sander 8c3436e927 Update doxygen HTML 2016-02-18 21:02:39 -06:00
Ben Sander 3496398651 Update doxygen HTML 2016-02-18 20:43:03 -06:00
Evgeny Mankov 8aace64dce 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 859208d6f0 hipInfo sample update with new Device Properties. 2016-02-18 15:08:55 +03:00
Evgeny Mankov d4bd94e9a0 Attribute hipDevAttrConcurrentKernels for obtaining Device property concurrentKernels is added. 2016-02-18 14:34:18 +03:00
Ben Sander 866e64f6e2 remove extra : 2016-02-18 03:05:53 -06:00
Ben Sander 53f37712bd Tweak version numbers 2016-02-18 21:29:51 -06:00
foreman 992ecc19f9 P4 to Git Change 1238217 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/18 03:00:11
SWDEV-2 - Change OpenCL version number from 2037 to 2038.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1784 edit
2016-02-18 03:11:19 -05:00
Ben Sander d0f9881d60 Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker 2016-02-17 23:06:51 -06:00
Ben Sander 400dcb8bcb Enable Tracker and ROCR by default, verify with HCC 2016-02-17 23:03:37 -06:00
Ben Sander b08e468c06 Remove HIP-local AM tracker (now in HCC) 2016-02-17 21:33:32 -06:00
Ben Sander 354c9f945a USE_AM_TRACKER=0 works 2016-02-17 21:23:36 -06:00
Ben Sander d75279c8eb Tweak full formatting 2016-02-17 21:22:31 -06:00
Ben Sander 9a82d316c3 Support HSA_PATH env, async path tweak 2016-02-17 21:22:07 -06:00
foreman e5635ffbe4 P4 to Git Change 1237953 by kzhuravl@win-kzhuravl-stg-sc on 2016/02/17 13:32:36
SWDEV-76911 - Remove HSART_NO_LARGE_BAR_SUPPORT define and do necessary updates (comes in 3 separate parts: stg sc, hsa, opencl changelists) [opencl part]

	ReviewBoardURL: http://ocltc.amd.com/reviews/r/9769/
	Testing: http://ocltc:8111/viewModification.html?modId=66952&personal=true&init=1&tab=vcsModificationBuilds

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.cpp#19 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/loaders.cpp#9 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/loaders.hpp#9 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_hsa_kernel_code.h#10 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_hsa_loader.hpp#8 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#64 edit
2016-02-17 13:40:22 -05:00
dfukalov cdcb45d9f2 Adding lit tests 2016-02-17 19:05:18 +03:00
atimofee 5cd248c55f Hipify tool in it current state 2016-02-17 18:34:58 +03:00
pensun c1da0f1e12 1. Bug fix
2. passed initial tests on different sets of
HIP_VISIBLE_DEVICES: (0),(1),(0,1),(1,2),(2,3),(1,2,3),(2,3,4),(1,5,2,3)
and achieved expected choice of GPU devices at the runtime.
3. Passed HIP test suite.
2016-02-17 09:32:50 -06:00
pensun 43785243a5 Implementation of HIP_VISIBLE_DEVICES in runtime 2016-02-17 06:59:18 -06:00
foreman d1b2399af8 P4 to Git Change 1237747 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/17 03:00:10
SWDEV-2 - Change OpenCL version number from 2036 to 2037.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1783 edit
2016-02-17 03:06:09 -05:00
Ben Sander 0cdbe1ff05 more work on async copies 2016-02-17 00:59:12 -06:00
pensun 7309e9ea6a modify to add remove invalid devices numbers 2016-02-16 10:00:05 -06:00