Commit gráf

13197 Commit-ok

Szerző SHA1 Üzenet Dátum
foreman 41404377b1 P4 to Git Change 1530499 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/22 03:00:05
SWDEV-2 - Change OpenCL version number from 2615 to 2616.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2363 edit
2018-03-22 03:12:27 -04:00
Laurent Morichetti 8f4c368dce Merge remote-tracking branch 'upstream/master' 2018-03-21 11:17:52 -07:00
Laurent Morichetti 84a723b2dc Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename hipLaunch->hipLaunchByPtr. 2018-03-21 11:07:21 -07:00
foreman 2c0282ae12 P4 to Git Change 1529894 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/21 03:00:04
SWDEV-2 - Change OpenCL version number from 2614 to 2615.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2362 edit
2018-03-21 03:50:41 -04:00
foreman 68c299486b P4 to Git Change 1529710 by wchau@wchau_OCL_boltzmann on 2018/03/20 17:05:04
SWDEV-145760 - OCL on ROCm Support for respecting target's xnack setting (subtask of SWDEV-134107)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#77 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#80 edit
2018-03-20 17:13:51 -04:00
foreman 1f53841421 P4 to Git Change 1529531 by gandryey@gera-w8 on 2018/03/20 11:50:12
SWDEV-79445 - OCL generic changes and code clean-up
	- Fix a regression in the AMF test and reenable the suballoc optimization. Rearrange the locks around cache field access only to avoid calling memory release under the cache lock.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#287 edit
2018-03-20 12:01:19 -04:00
Jenkins 8af72e8ce7 Merge 'master' into 'amd-master'
Change-Id: I42f0b83d11945fc03fb75f4a553c37f9f42f28a4
2018-03-20 04:10:00 -05:00
foreman 312057dbe2 P4 to Git Change 1529318 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/20 03:00:03
SWDEV-2 - Change OpenCL version number from 2613 to 2614.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2361 edit
2018-03-20 03:11:01 -04:00
foreman f4dad682a7 P4 to Git Change 1529097 by gandryey@gera-w8 on 2018/03/19 16:45:49
SWDEV-79445 - OCL generic changes and code clean-up
	- Disable suballocations until regressions will be resolved

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#286 edit
2018-03-19 16:56:49 -04:00
foreman fe3f2b7e5d P4 to Git Change 1528961 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/19 13:43:08
SWDEV-145570 - Contexts
	Create one amd::Context per device
	g_context is now thread's current context
	HIP doesn't want more than one context per device so we always use the primary one

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#4 edit
2018-03-19 13:52:17 -04:00
foreman 3683b3d03c P4 to Git Change 1528884 by vsytchen@vsytchen-ocl-win10 on 2018/03/19 11:36:48
SWDEV-133818 - PAL support for Linux Pro: Coarse Grain SVM for OpenCL 2.0

	1. This change enables OCL 2.0 on Linux for devices using PAL backend.
	2. Set the alignment for Coarse Grain SVM allocations to be the gpu fragment size (2MB on Linux).

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/14437/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#128 edit
2018-03-19 11:55:32 -04:00
Maneesh Gupta 51ed222aa4 Merge pull request #373 from gargrahul/fix_function_not_found_tex_drv_sample
Fixed function not found issue in texture driver api sample
2018-03-19 14:11:28 +05:30
foreman 320062f843 P4 to Git Change 1528532 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/17 03:00:05
SWDEV-2 - Change OpenCL version number from 2612 to 2613.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2360 edit
2018-03-17 03:11:29 -04:00
Rahul Garg 2184e7f6da Removed hidden args and hipLaunchParm from HIP/HCC path 2018-03-16 22:50:25 +05:30
Jenkins 6c39e1561c Merge 'master' into 'amd-master'
Change-Id: If86cc472ef0330ab9f8c19e68cb6fcf83b502d16
2018-03-16 04:10:29 -05:00
Rahul Garg da66236083 Change co file name 2018-03-16 12:54:44 +05:30
foreman e74383ba6e P4 to Git Change 1528119 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/16 03:00:05
SWDEV-2 - Change OpenCL version number from 2611 to 2612.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2359 edit
2018-03-16 03:12:59 -04:00
Rahul Garg 2ff9e5d46d Fixed function not found issue 2018-03-16 12:35:25 +05:30
Maneesh Gupta eabd89f130 Merge pull request #372 from scchan/fix_hipcc_rhel
On RHEL and CentOS, don't use libc++ since we are using the devtoolse…
2018-03-16 07:44:40 +05:30
Maneesh Gupta c50f3caf5e Merge pull request #367 from gargrahul/fix_tex_drv_offset
Fix offset issue in texture driver APIs
2018-03-16 07:43:48 +05:30
foreman 7ae94da05b P4 to Git Change 1527848 by gandryey@gera-w8 on 2018/03/15 17:11:43
SWDEV-79445 - OCL generic changes and code clean-up
	- Add suballocations support for local(invisible) memory. It should significantly improve memory footprint and TLB usage with 2MB pages
	- Implementation uses BuddyAllocator provided in PAL
	- The chunk allocation size is 64MB, min allocation 4KB and max 4MB. GPU_MAX_SUBALLOC_SIZE controls the max size in KB

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#76 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#77 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#285 edit
2018-03-15 17:26:25 -04:00
Siu Chi Chan 0501f6c582 On RHEL and CentOS, don't use libc++ since we are using the devtoolset-7 which has a newer g++ 2018-03-15 16:46:01 -04:00
foreman c4a81872f3 P4 to Git Change 1527474 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/15 03:00:05
SWDEV-2 - Change OpenCL version number from 2610 to 2611.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2358 edit
2018-03-15 03:10:56 -04:00
Maneesh Gupta b0464ab365 Merge pull request #369 from mangupta/update_hip_base_packaging
Add lpl and ca binaries to hip_base package
2018-03-15 06:05:11 +05:30
Maneesh Gupta 783a1cd614 Merge pull request #368 from mangupta/apply_clangformat
Apply .clangformat to all repo source files
2018-03-15 06:04:43 +05:30
foreman 41c27a9e24 P4 to Git Change 1527320 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/14 18:54:10
SWDEV-145570 - Remove all g_context from runtime device implementation

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#3 edit
2018-03-14 19:05:10 -04:00
Maneesh Gupta 3bc46613d7 Merge pull request #371 from ROCm-Developer-Tools/mangupta-patch-1
[ci] Continue testing against ROCm 1.6
2018-03-14 15:39:50 +05:30
Maneesh Gupta 4b5526e0ba [ci] Continue testing against ROCm 1.6
Continue testing against ROCm 1.6.4 until we have a stable ROCm 1.7.x docker image
2018-03-14 15:24:15 +05:30
foreman 4b9a657cb6 P4 to Git Change 1526783 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/14 03:00:04
SWDEV-2 - Change OpenCL version number from 2609 to 2610.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2357 edit
2018-03-14 03:11:36 -04:00
Maneesh Gupta e8f1aeb764 Add lpl and ca binaries to hip_base package
Change-Id: Ie05669768dfd086a89bcf4aad134f4b425d1e21c
2018-03-14 11:42:36 +05:30
foreman df8dfbd060 P4 to Git Change 1526407 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/13 12:24:51
SWDEV-145570 - [HIP] Separate device runtime and driver APIs

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#1 add
2018-03-13 12:33:01 -04:00
Jenkins 95deeffc67 Merge 'master' into 'amd-master'
Change-Id: I214887e5eb990b58bde1da3f87eaa77cd22ba9cb
2018-03-13 04:10:02 -05:00
Maneesh Gupta 9e47fccc89 Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
2018-03-12 11:29:03 +05:30
Rahul Garg c3d786d810 Set offset value to 0 2018-03-11 00:12:22 +05:30
foreman 1376dc8503 P4 to Git Change 1525343 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/10 03:00:07
SWDEV-2 - Change OpenCL version number from 2608 to 2609.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2356 edit
2018-03-10 03:10:23 -05:00
foreman 9e5f869e1c P4 to Git Change 1524852 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/09 03:00:13
SWDEV-2 - Change OpenCL version number from 2607 to 2608.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2355 edit
2018-03-09 03:08:04 -05:00
Maneesh Gupta eee7fa6072 Merge pull request #363 from gargrahul/surface_object_api
Added surface object support
2018-03-09 11:50:30 +05:30
foreman 953d3c86e0 P4 to Git Change 1524674 by gandryey@gera-w8 on 2018/03/08 17:26:08
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove pinOffset_ field, since the pinning offset can be combined with global offset_ field

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#16 edit
2018-03-08 17:37:53 -05:00
foreman 3c0e80074b P4 to Git Change 1524559 by asalmanp@asalmanp-ocl-stg on 2018/03/08 14:18:24
SWDEV-132899 - [gfx10][OCL]- Adding support for forcing WaveSize32 from runtime for testing on gfx10 HW emulator

	Motivation: During testing ocltst on Windows on PAL/HSAIL/SC path on gfx10 HW emulator, it was found that SC uses WaveSize64 by default for compute kernels.
	SC also has an interface that can be used for forcing the WaveSize to 32 or 64.

	- Adding the "-force-wave-size-32" into compiler to be passed down to Finalizer/SC
	- Adding environment variable "GPU_FORCE_WAVE_SIZE_32" that can be used from runtime to force WaveSize32 compilation in HSAIL/SC path

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#138 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#284 edit
2018-03-08 14:26:17 -05:00
foreman 5bec004355 P4 to Git Change 1524286 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/08 03:00:06
SWDEV-2 - Change OpenCL version number from 2606 to 2607.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2354 edit
2018-03-08 03:14:05 -05:00
foreman 336d1e589c P4 to Git Change 1524135 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/07 19:52:00
SWDEV-145570 - [HIP] Hip Rearchitecture
	Implemented hipHostAlloc

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#5 edit
2018-03-07 20:03:36 -05:00
foreman ac8d2437d0 P4 to Git Change 1524071 by gandryey@gera-w8 on 2018/03/07 17:26:30
SWDEV-147487 - DX9/DX11 texture and OpenCL interop for YUY2
	- Enable YUY2 support for DX11 and DX9. YUY2 contains just one plane of interleaved Y0UY1V components and can be mapped to (CL_RGBA, CL_UNSIGNED_INT8) with image width reduced by 2. YUY2 provides better quality due to 16bit data per pixel

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#241 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#49 edit
2018-03-07 17:35:30 -05:00
foreman fd3644ee58 P4 to Git Change 1524071 by gandryey@gera-w8 on 2018/03/07 17:26:30
SWDEV-147487 - DX9/DX11 texture and OpenCL interop for YUY2
	- Enable YUY2 support for DX11 and DX9. YUY2 contains just one plane of interleaved Y0UY1V components and can be mapped to (CL_RGBA, CL_UNSIGNED_INT8) with image width reduced by 2. YUY2 provides better quality due to 16bit data per pixel

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#241 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#49 edit
2018-03-07 17:35:30 -05:00
foreman c65580a1f6 P4 to Git Change 1523996 by wchau@wchau_OCL_boltzmann on 2018/03/07 16:08:29
SWDEV-146839 - OCL 2.0 WF - Contractions test encounters failure on Raven
	- root cause: subnormals should be enabled for Raven (gfx902)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#32 edit
2018-03-07 16:14:25 -05:00
foreman a7d777f1fb P4 to Git Change 1523990 by gandryey@gera-lnx-rcf on 2018/03/07 15:53:52
SWDEV-79445 - OCL generic changes and code clean-up
	- Keep LF code under WITH_LIQUID_FLASH, since GSL path doesn't enable LF support

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#47 edit
2018-03-07 15:57:50 -05:00
foreman 3880c6175d P4 to Git Change 1523920 by gandryey@gera-lnx-rcf on 2018/03/07 13:17:23
SWDEV-79445 - OCL generic changes and code clean-up
	- Enable lfInit() and lfTerminate() calls under Linux

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#46 edit
2018-03-07 13:24:00 -05:00
foreman 85ae79b3e4 P4 to Git Change 1523752 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/07 03:00:06
SWDEV-2 - Change OpenCL version number from 2605 to 2606.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2353 edit
2018-03-07 03:11:18 -05:00
foreman 119cedf0e6 P4 to Git Change 1523412 by emankov@em-hsa on 2018/03/06 13:28:34
SWDEV-143465 - HSAIL - Compiler Lib - sync with legacy AMDIL libUtils

	Sync with CL 1522654 (AMDIL)

	[Reason] New Utility functions will be used in the upcomming changes in HSAIL path.

	[Testing] p4precheckin (clean): http://ocltc.amd.com:8111/viewModification.html?modId=98811&personal=true&init=1&tab=vcsModificationBuilds

	[Reviewd] by Stas: http://ocltc.amd.com/reviews/r/14345

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#31 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/build/Makefile.runtime#73 edit
2018-03-06 13:43:26 -05:00
Jenkins 5138d7ab41 Merge 'master' into 'amd-master'
Change-Id: I0e7a393879d921e589a81e97fa900d9733c56640
2018-03-06 04:09:57 -06:00
foreman 936cfbb4b9 P4 to Git Change 1523140 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/06 03:00:05
SWDEV-2 - Change OpenCL version number from 2604 to 2605.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2352 edit
2018-03-06 03:08:24 -05:00