Commit Graph

13557 Commits

Author SHA1 Message Date
foreman 45715f0c48 P4 to Git Change 1235782 by asalmanp@asalmanp-opencl-stg on 2016/02/09 15:30:16
SWDEV-68792 - [OpenCL][HWS/CWSR] Adding support for Hardware Scheduler and Compute Wave Save restore (CWSR) feature on ORCA

	Adding a temporary w/a for a CP uCode bug in HWS mode. Due to this bug, CP uCode loops through a RUNLIST unless there is a submission on all queues in HWS mode. This causes some overhead and performance drop in PCMark8 on CZ in HWS mode. To work around this issue, it was suggested to submit a dummy packet during initialization on all available queues on HWS mode so that CP uCode can break the loop. This w/a should be removed once CP uCode provides a final fix for this issue.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/9616/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#160 edit
2016-02-09 17:25:20 -05:00
Peng Sun b61f0453c0 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into doc_update 2016-02-09 15:08:39 -06:00
Peng Sun 6731505c5f Fix TODO-Doc in hip_texture.h 2016-02-09 10:58:23 -06:00
Evgeny Mankov 4d4ca3ef3f Device property concurrentKernels is added to hipDeviceProp_t struct.
For HCC path concurrentKernels is set to true since all ROCR hardware supports this feature.
For NVCC path concurrentKernels is obtained from CUDA's device property cudaDeviceProp::concurrentKernels.
2016-02-09 17:10:35 +03:00
foreman 9b8568bedb P4 to Git Change 1235458 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/09 03:00:10
SWDEV-2 - Change OpenCL version number from 2030 to 2031.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1777 edit
2016-02-09 03:09:16 -05:00
foreman c5265e08c6 P4 to Git Change 1235456 by kebai@kebai_win1 on 2016/02/09 02:47:34
SWDEV-86836 - Enhance caching library class to prepare one-stage kernel caching by:
	0. Moving cache storage setup into constructor
	1. Controlling cache storage size
	2. Explicit cache cleanup
	    a. -kcache-wipe is off by default; when turned on, the caching directory would be wiped off
	    b. Here it's just an option. The implementation (the call of wipeCacheFolders()) will be added in the compiler library
	3. Enforcing cache miss (actual compilation enforcing and adding a new entry to the cache storage).
	    a. -kcache-enforce-miss is off by default; when turned on, the real compilation will be enforced
	    b. Here it's just an option. The implementation will be added in the compiler library
	ReviewBoardURL = http://ocltc.amd.com/reviews/r/9726/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#134 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/caching/cache.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/caching/cache.hpp#7 edit
2016-02-09 02:52:58 -05:00
Maneesh Gupta f8bfc7f54c which_hip -> hipconfig 2016-02-09 11:51:26 +05:30
Maneesh Gupta 0df78ac9bf Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-09 10:57:46 +05:30
Maneesh Gupta f6e7abd710 Move HIP_DEVICE_COMPILE defines to hip_common.h 2016-02-09 10:57:20 +05:30
streamhsa 310023e273 Rename test hipInfo as hipGetDeviceAttribute 2016-02-09 13:19:32 +08:00
Ben Sander ce2fc0f7fe Test fixes:
- Remove reference to missing test.
- Add hipMemset back.
- Parse --gpu option to specify default starting GPU.
2016-02-08 22:55:23 -06:00
Ben Sander 2ecb345a67 minor doc touchup 2016-02-08 22:11:11 -06:00
Ben Sander c482a3f456 in HIPCHECK, only run command once even if error occurs 2016-02-08 21:45:49 -06:00
Ben Sander a06e0d9050 Doc update 2016-02-08 21:44:55 -06:00
Ben Sander 39c5f0f610 Add hcc-config info to --full 2016-02-08 21:44:55 -06:00
Ben Sander fdeb477822 iScript cleanup, add --full 2016-02-08 21:44:55 -06:00
Peng Sun b3b0bbdddc fix merging conflicts 2016-02-08 15:35:49 -06:00
foreman c22b282854 P4 to Git Change 1235269 by asalmanp@asalmanp-opencl-stg on 2016/02/08 12:27:46
SWDEV-79278 - [OpenCL][Baffin BU] Exposing Baffin in mainline for 16.20 release
	ReviewBoardURL = http://ocltc.amd.com/reviews/r/8969/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILSubtarget.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/InternalProcessors.td#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#132 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#32 edit
2016-02-08 12:36:54 -05:00
foreman e536df62e9 P4 to Git Change 1235185 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/08 03:00:10
SWDEV-2 - Change OpenCL version number from 2029 to 2030.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1776 edit
2016-02-08 03:10:50 -05:00
foreman 3c0eef3228 P4 to Git Change 1235159 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/07 03:00:11
SWDEV-2 - Change OpenCL version number from 2028 to 2029.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1775 edit
2016-02-07 03:10:34 -05:00
foreman e5cbfbac36 P4 to Git Change 1235131 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/06 03:00:09
SWDEV-2 - Change OpenCL version number from 2027 to 2028.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1774 edit
2016-02-06 03:11:52 -05:00
foreman 27c1ec4857 P4 to Git Change 1234990 by bcrane@MSDNBCRANE99-OCL on 2016/02/05 15:44:10
SWDEV-86885 - [CQE OCL][2.0][QR][CFX] Few SDK 64 and 32 bit Samples resulting in Soft/hard hangs with faulty cl: 1233743

	Unsubmit CL1233743 because of problems with CFX.

	I have not been able to figure out how Cl1233743 would cause a problem.  It sets a flag, to disable new code... I would expect the new code to be the problem, not the disable.

	So, in case this unsubmit does not elminate the problem, CL1233686 is shelved, to use #ifndef CAL_SUPPORT around the new code in CL1226184.

	CL1233743 was submitted for:
	SWDEV-86253 - [QR] 6 to 7% performance drop is observed in BasemarkCL test

	CL1226184 adds serialization to LHIO, because pxproxy accesses global state, without locks, leading to crash, etc.

	To fix OpenCL perf regressions, allow unserialized access to pxproxy.  It may be that OpenCL design leads away from racy behavior, so it may be safe.  This was checked in to gather information.  What software gets perf drops?  Does any software get fixed?

	The dangerous functions are CreateDevice, CreateContext, because the handles from the OS are saved in global caches, and if those global caches are modified in one thread, while other threads are looking-up from the caches - that is a problem.

	CL1226184 was submitted for:
	SWDEV-80442 - [QR][Adobe Premier Pro CS6] TDR/App Crash observed while resizing the video window within workspace

	TC: http://ocltc:8111/viewModification.html?modId=66278&personal=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#159 edit
2016-02-05 15:55:28 -05:00
Ben Sander 26854bb31c Fix HIP_PLATFORM detection 2016-02-05 07:15:46 -06:00
foreman ecdfb00a01 P4 to Git Change 1234720 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/05 03:00:10
SWDEV-2 - Change OpenCL version number from 2026 to 2027.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1773 edit
2016-02-05 03:10:23 -05:00
Ben Sander 9aec91a3b7 Fix getdeviceattr compilation for NVCC 2016-02-04 16:26:33 -06:00
Sam Kolton afe45964ae Implementation of hipDeviceGetAttribute() 2016-02-04 17:39:27 +03:00
foreman 3251b63346 P4 to Git Change 1234278 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/04 03:00:12
SWDEV-2 - Change OpenCL version number from 2025 to 2026.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1772 edit
2016-02-04 03:08:01 -05:00
foreman bf45e6549f P4 to Git Change 1234219 by smekhano@stas-rampitec-hsa on 2016/02/03 22:29:28
SWDEV-86849 - HSA HLC: add AssertZExt to get_local_id/get_local_size calls if workrgoup size is know to fit i8 or i16
	Testing: smoke, precheckin
	Reviewed by Valery Pykhtin

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#138 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.cpp#110 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.h#27 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/src/llc/opt/mul24/local_size.cl#1 add
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/llc_opt.tlst#80 edit
2016-02-03 22:33:51 -05:00
foreman bb433385db P4 to Git Change 1234162 by xcui@merged_opencl_jxcwin on 2016/02/03 18:17:16
SWDEV-84299 - added support for svmmemcpy to handle the situation that src/dst pointers may or may not in the SVM space

	code review:
	http://ocltc.amd.com/reviews/r/9645/
	precheckin:
	http://ocltc.amd.com:8111/viewModification.html?modId=66292&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#394 edit
2016-02-03 18:24:32 -05:00
Peng Sun 30dc087238 Additional typo and extra space fix 2016-02-03 09:42:16 -06:00
Ben Sander 2faf1dfe6e Merge branch 'master' into privatestaging 2016-02-03 09:39:19 -06:00
foreman 865b81887a P4 to Git Change 1233845 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/03 03:00:12
SWDEV-2 - Change OpenCL version number from 2024 to 2025.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1771 edit
2016-02-03 03:11:31 -05:00
Peng Sun d4835c7416 Fix all TODO-doc 2016-02-02 21:29:09 -06:00
foreman bd54838ca7 P4 to Git Change 1233743 by bcrane@MSDNBCRANE99-OCL on 2016/02/02 20:45:13
SWDEV-86253 - [QR] 6 to 7% performance drop is observed in BasemarkCL test

	CL1226184 adds serialization to LHIO, because pxproxy accesses global state, without locks, leading to crash, etc.

	To fix OpenCL perf regressions, allow unserialized access to pxproxy.  It may be that OpenCL design leads away from racy behavior, so it may be safe.  This was checked in to gather information.  What software gets perf drops?  Does any software get fixed?

	The dangerous functions are CreateDevice, CreateContext, because the handles from the OS are saved in global caches, and if those global caches are modified in one thread, while other threads are looking-up from the caches - that is a problem.

	TC: http://ocltc:8111/viewModification.html?modId=66278&personal=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#158 edit
2016-02-02 20:52:50 -05:00
Peng Sun b20e02ae58 Finish all TODO for error code 2016-02-02 17:39:46 -06:00
scchan 63a6bce3d9 add inline attribute to shfl functions 2016-02-02 12:53:17 -06:00
Ben Sander 714bfcbff6 Merge branch 'master' of https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP 2016-02-02 10:05:44 -06:00
Ben Sander 182296ce59 Remove warning on ballot/any/all and pop/clz.
Since these are supported in HIP no reason to emit warnings.
2016-02-02 10:02:48 -06:00
streamhsa b14c890851 Adjusted the value of __any as per CUDA -sandeep 2016-02-02 15:25:42 +05:30
streamhsa a7c0be6e4b ADDED Support for __ffs() and __ffsll() having signed input -sandeep 2016-02-02 15:05:46 +05:30
streamhsa e5a491f3c8 Added test for ballot and removing HIP_FUNCTION from hipSampleAtomicsTest.cpp -sandeep 2016-02-02 14:50:55 +05:30
Jack Chung e62a9e1bb7 Merge branch 'privatestaging' of github.com:AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-02 16:28:02 +08:00
Jack Chung 8df395a006 Suppress linker warnings in case HCC distribution contains OpenCL/SPIR symbols 2016-02-02 16:27:42 +08:00
foreman 99556aca1d P4 to Git Change 1233406 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/02 03:01:34
SWDEV-2 - Change OpenCL version number from 2023 to 2024.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1770 edit
2016-02-02 03:13:00 -05:00
scchan ed0a4fc1b7 adding shfl, shfl_up, shfl_down, shfl_xor intrinsics 2016-02-01 23:55:31 -06:00
Ben Sander 0c03868e90 Merge pull request #10 from SethosII/patch-1
Update hip_faq.md based on Sethosll review.  Closes #10
2016-02-01 22:01:17 -06:00
Maneesh Gupta 405ee35a04 Add double and integer intrinsics to test 2016-02-01 16:00:45 +05:30
foreman 6dc767146f P4 to Git Change 1232961 by emankov@em-hsa-amd on 2016/02/01 04:39:58
SWDEV-79309 - OpenCL Compiler Library improvements.

	Minor Legacy Code Cleanup for OpenCL kernel caching feature implementation.

	Testing: precheck-in
	http://ocltc.amd.com:8111/viewModification.html?modId=66106&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

	Reviewer: Stanislav Mekhanoshin

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#90 edit
2016-02-01 04:47:26 -05:00
Jack Chung 518ef58652 Disable sincosf which has trouble on hcc now. 2016-02-01 17:42:37 +08:00
Maneesh Gupta 97fb876c6a Split math function tests into several smaller tests 2016-02-01 14:36:50 +05:30