Commit Graph

13453 Commits

Author SHA1 Message Date
foreman 7080c5d4f8 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


[ROCm/clr commit: 9b8568bedb]
2016-02-09 03:09:16 -05:00
foreman 718365b83a 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


[ROCm/clr commit: c5265e08c6]
2016-02-09 02:52:58 -05:00
Maneesh Gupta 4df8743f84 which_hip -> hipconfig
[ROCm/clr commit: f8bfc7f54c]
2016-02-09 11:51:26 +05:30
Maneesh Gupta 978aac7fe0 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 0df78ac9bf]
2016-02-09 10:57:46 +05:30
Maneesh Gupta 8442259da0 Move HIP_DEVICE_COMPILE defines to hip_common.h
[ROCm/clr commit: f6e7abd710]
2016-02-09 10:57:20 +05:30
streamhsa 71d3c9f306 Rename test hipInfo as hipGetDeviceAttribute
[ROCm/clr commit: 310023e273]
2016-02-09 13:19:32 +08:00
Ben Sander d258c7fdcd Test fixes:
- Remove reference to missing test.
- Add hipMemset back.
- Parse --gpu option to specify default starting GPU.


[ROCm/clr commit: ce2fc0f7fe]
2016-02-08 22:55:23 -06:00
Ben Sander 3b04ce4e81 minor doc touchup
[ROCm/clr commit: 2ecb345a67]
2016-02-08 22:11:11 -06:00
Ben Sander 6fe93da014 in HIPCHECK, only run command once even if error occurs
[ROCm/clr commit: c482a3f456]
2016-02-08 21:45:49 -06:00
Ben Sander 8b291201de Doc update
[ROCm/clr commit: a06e0d9050]
2016-02-08 21:44:55 -06:00
Ben Sander 3ce8ed9f4c Add hcc-config info to --full
[ROCm/clr commit: 39c5f0f610]
2016-02-08 21:44:55 -06:00
Ben Sander c94c562f26 iScript cleanup, add --full
[ROCm/clr commit: fdeb477822]
2016-02-08 21:44:55 -06:00
Peng Sun b86252bc0d fix merging conflicts
[ROCm/clr commit: b3b0bbdddc]
2016-02-08 15:35:49 -06:00
foreman 85d849e72b 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


[ROCm/clr commit: c22b282854]
2016-02-08 12:36:54 -05:00
foreman 0d7f39abb3 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


[ROCm/clr commit: e536df62e9]
2016-02-08 03:10:50 -05:00
foreman bb78eeded3 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


[ROCm/clr commit: 3c0eef3228]
2016-02-07 03:10:34 -05:00
foreman 8614a89060 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


[ROCm/clr commit: e5cbfbac36]
2016-02-06 03:11:52 -05:00
foreman d77a64f47a 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


[ROCm/clr commit: 27c1ec4857]
2016-02-05 15:55:28 -05:00
Ben Sander a1bbf9aa3d Fix HIP_PLATFORM detection
[ROCm/clr commit: 26854bb31c]
2016-02-05 07:15:46 -06:00
foreman 4c2ce7295e 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


[ROCm/clr commit: ecdfb00a01]
2016-02-05 03:10:23 -05:00
Ben Sander 0f1752e720 Fix getdeviceattr compilation for NVCC
[ROCm/clr commit: 9aec91a3b7]
2016-02-04 16:26:33 -06:00
Sam Kolton 136baccbe5 Implementation of hipDeviceGetAttribute()
[ROCm/clr commit: afe45964ae]
2016-02-04 17:39:27 +03:00
foreman 37b8e91715 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


[ROCm/clr commit: 3251b63346]
2016-02-04 03:08:01 -05:00
foreman 1918801f41 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


[ROCm/clr commit: bf45e6549f]
2016-02-03 22:33:51 -05:00
foreman 72b7ad81cb 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


[ROCm/clr commit: bb433385db]
2016-02-03 18:24:32 -05:00
Peng Sun 05dd336805 Additional typo and extra space fix
[ROCm/clr commit: 30dc087238]
2016-02-03 09:42:16 -06:00
Ben Sander 054598a1b3 Merge branch 'master' into privatestaging
[ROCm/clr commit: 2faf1dfe6e]
2016-02-03 09:39:19 -06:00
foreman a9fe7973fe 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


[ROCm/clr commit: 865b81887a]
2016-02-03 03:11:31 -05:00
Peng Sun b9367aedec Fix all TODO-doc
[ROCm/clr commit: d4835c7416]
2016-02-02 21:29:09 -06:00
foreman 2669fce89a 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


[ROCm/clr commit: bd54838ca7]
2016-02-02 20:52:50 -05:00
Peng Sun 4afe96bf21 Finish all TODO for error code
[ROCm/clr commit: b20e02ae58]
2016-02-02 17:39:46 -06:00
scchan a9745be3f4 add inline attribute to shfl functions
[ROCm/clr commit: 63a6bce3d9]
2016-02-02 12:53:17 -06:00
Ben Sander 0d62f7767a Merge branch 'master' of https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP
[ROCm/clr commit: 714bfcbff6]
2016-02-02 10:05:44 -06:00
Ben Sander 71bfa20508 Remove warning on ballot/any/all and pop/clz.
Since these are supported in HIP no reason to emit warnings.


[ROCm/clr commit: 182296ce59]
2016-02-02 10:02:48 -06:00
streamhsa c832718f42 Adjusted the value of __any as per CUDA -sandeep
[ROCm/clr commit: b14c890851]
2016-02-02 15:25:42 +05:30
streamhsa fa391f72c9 ADDED Support for __ffs() and __ffsll() having signed input -sandeep
[ROCm/clr commit: a7c0be6e4b]
2016-02-02 15:05:46 +05:30
streamhsa 75643c8c00 Added test for ballot and removing HIP_FUNCTION from hipSampleAtomicsTest.cpp -sandeep
[ROCm/clr commit: e5a491f3c8]
2016-02-02 14:50:55 +05:30
Jack Chung 627c9622c8 Merge branch 'privatestaging' of github.com:AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: e62a9e1bb7]
2016-02-02 16:28:02 +08:00
Jack Chung 58e2e13f04 Suppress linker warnings in case HCC distribution contains OpenCL/SPIR symbols
[ROCm/clr commit: 8df395a006]
2016-02-02 16:27:42 +08:00
foreman d2c511fc38 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


[ROCm/clr commit: 99556aca1d]
2016-02-02 03:13:00 -05:00
scchan 4ca3c297be adding shfl, shfl_up, shfl_down, shfl_xor intrinsics
[ROCm/clr commit: ed0a4fc1b7]
2016-02-01 23:55:31 -06:00
Ben Sander d1c1274f69 Merge pull request #10 from SethosII/patch-1
Update hip_faq.md based on Sethosll review.  Closes #10 

[ROCm/clr commit: 0c03868e90]
2016-02-01 22:01:17 -06:00
Maneesh Gupta b5634c1e26 Add double and integer intrinsics to test
[ROCm/clr commit: 405ee35a04]
2016-02-01 16:00:45 +05:30
foreman 595aa5e804 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


[ROCm/clr commit: 6dc767146f]
2016-02-01 04:47:26 -05:00
Jack Chung 3e57a5abae Disable sincosf which has trouble on hcc now.
[ROCm/clr commit: 518ef58652]
2016-02-01 17:42:37 +08:00
Maneesh Gupta 8213a76631 Split math function tests into several smaller tests
[ROCm/clr commit: 97fb876c6a]
2016-02-01 14:36:50 +05:30
Maneesh Gupta ea04770e88 Disable testing of unsupported single precision intrinsics
[ROCm/clr commit: 8d01a1db15]
2016-02-01 14:34:28 +05:30
Maneesh Gupta 79b6e4bda6 Add few more single precision intrinsics to hcc_detail/hip_runtime.h
[ROCm/clr commit: 4b94638bd3]
2016-02-01 14:29:50 +05:30
Maneesh Gupta 3f648ea239 Restrict using namespace hc::precise_math to device only
[ROCm/clr commit: c5990d5651]
2016-02-01 14:26:50 +05:30
Maneesh Gupta 7152009198 Remove redundant #define __HCC__ in hcc_detail/hip_runtime.h
[ROCm/clr commit: 0f4fe765c4]
2016-02-01 14:24:41 +05:30