Commit grafiek

54851 Commits

Auteur SHA1 Bericht Datum
Rahul Garg 83fac92815 Set offset value to 0
[ROCm/clr commit: c3d786d810]
2018-03-11 00:12:22 +05:30
Rahul Garg c3d786d810 Set offset value to 0 2018-03-11 00:12:22 +05:30
Rahul Garg b62a8d2ba0 Set offset value to 0 2018-03-11 00:12:22 +05:30
foreman 153287327e 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


[ROCm/clr commit: 1376dc8503]
2018-03-10 03:10:23 -05:00
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
Felix Kuehling 19dacdecd3 Update kfd_ioctl.h from kernel
This adds new acquire_vm ioctl.

Change-Id: Ia6794bfd291706cecdb2d06f4902b324b48577df
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2018-03-09 16:36:52 -05:00
Felix Kuehling ea79b3d1da Update kfd_ioctl.h from kernel
This adds new acquire_vm ioctl.

Change-Id: Ia6794bfd291706cecdb2d06f4902b324b48577df
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>


[ROCm/ROCR-Runtime commit: 19dacdecd3]
2018-03-09 16:36:52 -05:00
Felix Kuehling 85e1a9bf5e Rework SVM aperture initialization
Query GPUVM aperture limits of all dGPUs to determine SVM aperture
base and limit. This depends on a recent KFD change that reports
the GPUVM apurture limits for dGPUs in the
AMDKFD_IOC_GET_PROCESS_APERTURES_NEW ioctl (drm/amdkfd: Simplify
dGPU SVM aperture handling).

Only initialize SVM aperture once, instead of once per GPU.

Don't call AMDKFD_IOC_SET_PROCESS_DGPU_APERTURE. It's not needed any
more and will not be upstreamed.

Change-Id: Ib3389e8ba18505ba15fc33f45fe8a57e690a565d
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2018-03-09 16:36:49 -05:00
Felix Kuehling 16c8b8add8 Rework SVM aperture initialization
Query GPUVM aperture limits of all dGPUs to determine SVM aperture
base and limit. This depends on a recent KFD change that reports
the GPUVM apurture limits for dGPUs in the
AMDKFD_IOC_GET_PROCESS_APERTURES_NEW ioctl (drm/amdkfd: Simplify
dGPU SVM aperture handling).

Only initialize SVM aperture once, instead of once per GPU.

Don't call AMDKFD_IOC_SET_PROCESS_DGPU_APERTURE. It's not needed any
more and will not be upstreamed.

Change-Id: Ib3389e8ba18505ba15fc33f45fe8a57e690a565d
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>


[ROCm/ROCR-Runtime commit: 85e1a9bf5e]
2018-03-09 16:36:49 -05:00
Felix Kuehling c5cfb7e25b Move dGPU memory aperture initialization
Define dgpu_mem_init before it's used and keep the code close to the
rest of the aperture initialization code.

Change-Id: I14ad11a364524a15affee9186b1298ba7d56d2c9
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2018-03-09 15:00:12 -05:00
Felix Kuehling e0046526ea Move dGPU memory aperture initialization
Define dgpu_mem_init before it's used and keep the code close to the
rest of the aperture initialization code.

Change-Id: I14ad11a364524a15affee9186b1298ba7d56d2c9
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>


[ROCm/ROCR-Runtime commit: c5cfb7e25b]
2018-03-09 15:00:12 -05:00
foreman c1d1dfd7b3 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


[ROCm/clr commit: 9e5f869e1c]
2018-03-09 03:08:04 -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 ecbb701440 Merge pull request #363 from gargrahul/surface_object_api
Added surface object support

[ROCm/clr commit: eee7fa6072]
2018-03-09 11:50:30 +05:30
Maneesh Gupta eee7fa6072 Merge pull request #363 from gargrahul/surface_object_api
Added surface object support
2018-03-09 11:50:30 +05:30
Maneesh Gupta 18e70b1e6b Merge pull request #363 from gargrahul/surface_object_api
Added surface object support
2018-03-09 11:50:30 +05:30
foreman 4ae1c708f2 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


[ROCm/clr commit: 953d3c86e0]
2018-03-08 17:37:53 -05:00
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 3d4652b8a3 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


[ROCm/clr commit: 3c0e80074b]
2018-03-08 14:26:17 -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 81f89ea671 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


[ROCm/clr commit: 5bec004355]
2018-03-08 03:14:05 -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 f45c2eb542 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


[ROCm/clr commit: 336d1e589c]
2018-03-07 20:03:36 -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 f99db275fe 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
Evgeny f423e5f486 cosmetic change
Change-Id: I871e8260643a4409f7a471ea1575e9bb0a505f7f
2018-03-07 18:45:33 -06:00
Evgeny a900f3eda4 cosmetic change
Change-Id: I871e8260643a4409f7a471ea1575e9bb0a505f7f


[ROCm/rocprofiler commit: f423e5f486]
2018-03-07 18:45:33 -06:00
foreman 4cb43aeb3e 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


[ROCm/clr commit: ac8d2437d0]
2018-03-07 17:35:30 -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 7f5373020f 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


[ROCm/clr commit: fd3644ee58]
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 5c7a90b284 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


[ROCm/clr commit: c65580a1f6]
2018-03-07 16:14:25 -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
Evgeny a2ebcdf825 build/test adapting for ROCm packaging
Change-Id: I4bf855cd6f0eb8432194e20fce0ad4cd05692813
2018-03-07 15:08:20 -06:00
Evgeny a3ee673c82 build/test adapting for ROCm packaging
Change-Id: I4bf855cd6f0eb8432194e20fce0ad4cd05692813


[ROCm/rocprofiler commit: a2ebcdf825]
2018-03-07 15:08:20 -06:00
foreman 1c02ad9a84 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


[ROCm/clr commit: a7d777f1fb]
2018-03-07 15:57:50 -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 6fdd26c27b 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


[ROCm/clr commit: 3880c6175d]
2018-03-07 13:24:00 -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 3bd86d26cb 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


[ROCm/clr commit: 85ae79b3e4]
2018-03-07 03:11:18 -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 2eecd93036 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


[ROCm/clr commit: 119cedf0e6]
2018-03-06 13:43:26 -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 dc897d46ce Merge 'master' into 'amd-master'
Change-Id: I0e7a393879d921e589a81e97fa900d9733c56640


[ROCm/clr commit: 5138d7ab41]
2018-03-06 04:09:57 -06:00
Jenkins 5138d7ab41 Merge 'master' into 'amd-master'
Change-Id: I0e7a393879d921e589a81e97fa900d9733c56640
2018-03-06 04:09:57 -06:00
Jenkins 7532a86fdb Merge 'master' into 'amd-master'
Change-Id: I0e7a393879d921e589a81e97fa900d9733c56640
2018-03-06 04:09:57 -06:00
Sean Keely ac5ccb45b7 Use atomic variable for Runtime ref_count_.
Change-Id: Ic4d0ad9ff93d0cc52cfe2df006ee3436d5960b07
2018-03-06 03:45:14 -06:00
Sean Keely 3f4f6f778a Use atomic variable for Runtime ref_count_.
Change-Id: Ic4d0ad9ff93d0cc52cfe2df006ee3436d5960b07


[ROCm/ROCR-Runtime commit: ac5ccb45b7]
2018-03-06 03:45:14 -06:00
foreman f0febbf5fc 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


[ROCm/clr commit: 936cfbb4b9]
2018-03-06 03:08:24 -05: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