76333 Commits

Author SHA1 Message Date
foreman c37750a8ac P4 to Git Change 1180133 by ashi1@ashi1_win50 on 2015/08/13 13:20:33
ECR #292434 - Add option to turn on/off SCOption_POST_RA_INSTRUCTION_SCHEDULING.

	Also fixed some default comments.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/scState.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#126 edit
2015-08-13 13:28:01 -04:00
foreman 6dfaff3485 P4 to Git Change 1180048 by bsumner@bsumner-lin-opencl on 2015/08/13 09:37:01
ECR #304775 - back out 1179705 since it also affects AMDIL path

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#322 edit


[ROCm/clr commit: bde9db095c]
2015-08-13 09:47:56 -04:00
foreman bde9db095c P4 to Git Change 1180048 by bsumner@bsumner-lin-opencl on 2015/08/13 09:37:01
ECR #304775 - back out 1179705 since it also affects AMDIL path

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#322 edit
2015-08-13 09:47:56 -04:00
foreman 4fe0787df8 P4 to Git Change 1179933 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/08/13 03:00:13
EPR #010002 - Change OpenCL version number from 1869 to 1870.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1616 edit


[ROCm/clr commit: 6b37ecd4c5]
2015-08-13 03:08:22 -04:00
foreman 6b37ecd4c5 P4 to Git Change 1179933 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/08/13 03:00:13
EPR #010002 - Change OpenCL version number from 1869 to 1870.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1616 edit
2015-08-13 03:08:22 -04:00
foreman e75f6223e2 P4 to Git Change 1179851 by bdhanase@opencl_intel5 on 2015/08/12 20:49:50
EPR #397491 - Disable 32 bit OCL2.0 on Win 10 for now.  isWindows10OrLater() call doesn't work.  So, passing a flag from GSL to runtime to disable 32 bit OCL2.0 on Win 10.

	http://ocltc.amd.com/reviews/r/8234/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#321 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#133 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/backend.h#8 edit


[ROCm/clr commit: 68cf197c22]
2015-08-12 21:03:02 -04:00
foreman 68cf197c22 P4 to Git Change 1179851 by bdhanase@opencl_intel5 on 2015/08/12 20:49:50
EPR #397491 - Disable 32 bit OCL2.0 on Win 10 for now.  isWindows10OrLater() call doesn't work.  So, passing a flag from GSL to runtime to disable 32 bit OCL2.0 on Win 10.

	http://ocltc.amd.com/reviews/r/8234/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#321 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#133 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/backend.h#8 edit
2015-08-12 21:03:02 -04:00
foreman cd07dd6fad P4 to Git Change 1179705 by bsumner@bsumner-lin-opencl on 2015/08/12 14:06:12
ECR #304775 - switch on "denorm" support on VI and make HSAIL default to not generating ftz modifier

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelDAGToDAG.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#320 edit


[ROCm/clr commit: 473c92d0f4]
2015-08-12 14:33:51 -04:00
foreman 473c92d0f4 P4 to Git Change 1179705 by bsumner@bsumner-lin-opencl on 2015/08/12 14:06:12
ECR #304775 - switch on "denorm" support on VI and make HSAIL default to not generating ftz modifier

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelDAGToDAG.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#320 edit
2015-08-12 14:33:51 -04:00
foreman 502cc124b5 P4 to Git Change 1179663 by gandryey@gera-dev-w7 on 2015/08/12 13:14:46
EPR #419072 - [OpenCL2.0] Enable 16MB large on device queues
	- Enable device queue creation up to 12MB. That should allow to run Intel SDK sample from the EPR that requires 6MB queue only.
	- Currently a queue with >12.5MB size has a significant performance degradation. Thus the current max possible is 12MB. In general it's preferable to use the queue size more suitable for the task, rather than max possible.

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/devenq/schedule.cl#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#115 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.hpp#38 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#123 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#517 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusched.hpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#372 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#131 edit


[ROCm/clr commit: 1386191b6c]
2015-08-12 13:37:08 -04:00
foreman 1386191b6c P4 to Git Change 1179663 by gandryey@gera-dev-w7 on 2015/08/12 13:14:46
EPR #419072 - [OpenCL2.0] Enable 16MB large on device queues
	- Enable device queue creation up to 12MB. That should allow to run Intel SDK sample from the EPR that requires 6MB queue only.
	- Currently a queue with >12.5MB size has a significant performance degradation. Thus the current max possible is 12MB. In general it's preferable to use the queue size more suitable for the task, rather than max possible.

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/devenq/schedule.cl#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#115 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.hpp#38 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#123 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#517 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusched.hpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#372 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#131 edit
2015-08-12 13:37:08 -04:00
foreman 3fdb8d9147 P4 to Git Change 1179475 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/08/12 03:00:15
EPR #010002 - Change OpenCL version number from 1868 to 1869.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1615 edit


[ROCm/clr commit: 6d9138334f]
2015-08-12 03:19:21 -04:00
foreman 6d9138334f P4 to Git Change 1179475 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/08/12 03:00:15
EPR #010002 - Change OpenCL version number from 1868 to 1869.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1615 edit
2015-08-12 03:19:21 -04:00
foreman 66c524df26 P4 to Git Change 1179091 by nhaustov@nhaustov_hsa on 2015/08/11 05:48:01
ECR #333756 - Merge oclutils from runtime.

	Also updates temp file handling code to use pid/atomic which should fix Bug 10793.
	Note, changed the functions to use different prefix to avoid clash with runtime code.

	Reviewed by: Laurent Morichetti
	Testing: smoke, pre-checkin

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/os/alloc.cpp#2 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/os/os.cpp#5 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/os/os.hpp#6 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/os/os_posix.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/os/os_win32.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/thread/atomic.hpp#4 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/thread/monitor.cpp#2 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/thread/monitor.hpp#2 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/thread/semaphore.cpp#2 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/thread/semaphore.hpp#3 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/thread/thread.cpp#3 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/thread/thread.hpp#3 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/utils/debug.hpp#2 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/utils/macros.hpp#3 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/utils/traits.hpp#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/utils/util.hpp#2 integrate


[ROCm/clr commit: 3607d18592]
2015-08-11 06:09:15 -04:00
foreman 3607d18592 P4 to Git Change 1179091 by nhaustov@nhaustov_hsa on 2015/08/11 05:48:01
ECR #333756 - Merge oclutils from runtime.

	Also updates temp file handling code to use pid/atomic which should fix Bug 10793.
	Note, changed the functions to use different prefix to avoid clash with runtime code.

	Reviewed by: Laurent Morichetti
	Testing: smoke, pre-checkin

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/os/alloc.cpp#2 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/os/os.cpp#5 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/os/os.hpp#6 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/os/os_posix.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/os/os_win32.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/thread/atomic.hpp#4 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/thread/monitor.cpp#2 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/thread/monitor.hpp#2 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/thread/semaphore.cpp#2 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/thread/semaphore.hpp#3 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/thread/thread.cpp#3 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/thread/thread.hpp#3 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/utils/debug.hpp#2 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/utils/macros.hpp#3 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/utils/traits.hpp#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/utils/util.hpp#2 integrate
2015-08-11 06:09:15 -04:00
foreman 8f669340df P4 to Git Change 1179013 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/08/11 03:00:11
EPR #010002 - Change OpenCL version number from 1867 to 1868.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1614 edit


[ROCm/clr commit: e41da28605]
2015-08-11 03:15:52 -04:00
foreman e41da28605 P4 to Git Change 1179013 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/08/11 03:00:11
EPR #010002 - Change OpenCL version number from 1867 to 1868.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1614 edit
2015-08-11 03:15:52 -04:00
foreman ff6e211cf6 P4 to Git Change 1178942 by bdhanase@bala_workpc_ocl on 2015/08/10 20:14:46
EPR #397491 - Disable OpenCL2.0 on Win 10 for now

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#319 edit


[ROCm/clr commit: 249153c6e0]
2015-08-10 20:23:20 -04:00
foreman 249153c6e0 P4 to Git Change 1178942 by bdhanase@bala_workpc_ocl on 2015/08/10 20:14:46
EPR #397491 - Disable OpenCL2.0 on Win 10 for now

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#319 edit
2015-08-10 20:23:20 -04:00
foreman 6124269c06 P4 to Git Change 1178405 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/08/08 03:00:14
EPR #010002 - Change OpenCL version number from 1866 to 1867.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1613 edit


[ROCm/clr commit: 1ed8b37ed7]
2015-08-08 03:09:18 -04:00
foreman 1ed8b37ed7 P4 to Git Change 1178405 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/08/08 03:00:14
EPR #010002 - Change OpenCL version number from 1866 to 1867.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1613 edit
2015-08-08 03:09:18 -04:00
foreman 5901f7047c P4 to Git Change 1178388 by asalmanp@asalmanp-opencl-stg on 2015/08/07 19:02:14
ECR #417452 - [OpenCL][HWS/CWSR] Adding support for Hardware Scheduler and Compute Wave Save Restore (CWSR) feature on ORCA. runtime changes
	ReviewBoardURL = http://ocltc.amd.com/reviews/r/8159/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#371 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#132 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#53 edit


[ROCm/clr commit: e09e1601dd]
2015-08-07 19:13:26 -04:00
foreman e09e1601dd P4 to Git Change 1178388 by asalmanp@asalmanp-opencl-stg on 2015/08/07 19:02:14
ECR #417452 - [OpenCL][HWS/CWSR] Adding support for Hardware Scheduler and Compute Wave Save Restore (CWSR) feature on ORCA. runtime changes
	ReviewBoardURL = http://ocltc.amd.com/reviews/r/8159/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#371 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#132 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#53 edit
2015-08-07 19:13:26 -04:00
foreman 18672e3df8 P4 to Git Change 1178314 by bdhanase@bala_workpc_ocl on 2015/08/07 16:30:49
EPR #397491 - enable 32 bit opencl 2.0

	http://ocltc.amd.com/reviews/r/8191/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#318 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#131 edit


[ROCm/clr commit: f204610517]
2015-08-07 16:45:39 -04:00
foreman f204610517 P4 to Git Change 1178314 by bdhanase@bala_workpc_ocl on 2015/08/07 16:30:49
EPR #397491 - enable 32 bit opencl 2.0

	http://ocltc.amd.com/reviews/r/8191/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#318 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#131 edit
2015-08-07 16:45:39 -04:00
foreman 4cc01dd9f4 P4 to Git Change 1178230 by gandryey@gera-w8 on 2015/08/07 14:23:53
ECR #304775 - Mipmaps support in OpenCL
	- Enable mipmaps in mainline

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#237 edit


[ROCm/clr commit: 4cbfee2d74]
2015-08-07 14:44:53 -04:00
foreman 4cbfee2d74 P4 to Git Change 1178230 by gandryey@gera-w8 on 2015/08/07 14:23:53
ECR #304775 - Mipmaps support in OpenCL
	- Enable mipmaps in mainline

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#237 edit
2015-08-07 14:44:53 -04:00
foreman 7778c3b127 P4 to Git Change 1178228 by marsenau@marsenau_home on 2015/08/07 14:23:27
ECR #304775 - Fork llvm-link into new tool called opencl-link

	Most of what the patched llvm-link does has nothing to do with linking LLVM IR, and more to do with loading SPIR and specifically handling the builtin library.

	Forking this into a separate tool is the fastest way to fix dependencies on large LLVM patches for the OpenCL build to work. With this in place, it should now be possible to move the various linker and SPIR conversions out of the llvm directory and into compiler library.

	Ideally this would be fixed by:

	1. Not always lowering the library from SPIR
	2. Having a separate SPIR lowering tool for testing
	3. Using function attributes and stub libraries for library FP options instead of linker flags
	4. Structuring all of the SPIR conversions as passes and having a single PassManager handle all of the lowering / linking / optimization passes.

	But accomplishing all of these will be more time consuming.

	Branching

	//depot/stg/opencl/drivers/opencl/compiler/llvm/tools/llvm-link/...

	to //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/...

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#118 edit
... //depot/stg/opencl/drivers/opencl/compiler/Makefile#60 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/Makefile#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/build/Makefile.common#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#131 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/build/Makefile.complib#88 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/compliblinkerlibs#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/include/AMDFixupKernelModule.h#1 move/add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/include/AMDPrelink.h#1 move/add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/include/AMDResolveLinker.h#1 move/add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/AMDFixupKernelModule.cpp#1 move/add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/AMDPrelink.cpp#1 move/add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/AMDResolveLinker.cpp#1 move/add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/build/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/build/Makefile.linker#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/clpVectorExpansion.cpp#1 move/add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/Android.mk#1 branch
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/Makefile#1 branch
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/build/Makefile#1 branch
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/build/Makefile.opencl-link#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/opencl-link.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDFixupKernelModule.h#3 move/delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDPrelink.h#2 move/delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDResolveLinker.h#7 move/delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Linker/AMDFixupKernelModule.cpp#9 move/delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Linker/AMDPrelink.cpp#2 move/delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Linker/AMDResolveLinker.cpp#11 move/delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Linker/clpVectorExpansion.cpp#3 move/delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/llvmdefs#41 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/llvm-link/llvm-link.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/openclrules#87 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/hsa_dist.pl#2 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#18 edit


[ROCm/clr commit: f5885934a0]
2015-08-07 14:34:06 -04:00
foreman f5885934a0 P4 to Git Change 1178228 by marsenau@marsenau_home on 2015/08/07 14:23:27
ECR #304775 - Fork llvm-link into new tool called opencl-link

	Most of what the patched llvm-link does has nothing to do with linking LLVM IR, and more to do with loading SPIR and specifically handling the builtin library.

	Forking this into a separate tool is the fastest way to fix dependencies on large LLVM patches for the OpenCL build to work. With this in place, it should now be possible to move the various linker and SPIR conversions out of the llvm directory and into compiler library.

	Ideally this would be fixed by:

	1. Not always lowering the library from SPIR
	2. Having a separate SPIR lowering tool for testing
	3. Using function attributes and stub libraries for library FP options instead of linker flags
	4. Structuring all of the SPIR conversions as passes and having a single PassManager handle all of the lowering / linking / optimization passes.

	But accomplishing all of these will be more time consuming.

	Branching

	//depot/stg/opencl/drivers/opencl/compiler/llvm/tools/llvm-link/...

	to //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/...

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#118 edit
... //depot/stg/opencl/drivers/opencl/compiler/Makefile#60 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/Makefile#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/build/Makefile.common#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#131 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/build/Makefile.complib#88 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/compliblinkerlibs#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/include/AMDFixupKernelModule.h#1 move/add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/include/AMDPrelink.h#1 move/add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/include/AMDResolveLinker.h#1 move/add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/AMDFixupKernelModule.cpp#1 move/add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/AMDPrelink.cpp#1 move/add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/AMDResolveLinker.cpp#1 move/add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/build/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/build/Makefile.linker#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/clpVectorExpansion.cpp#1 move/add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/Android.mk#1 branch
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/Makefile#1 branch
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/build/Makefile#1 branch
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/build/Makefile.opencl-link#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/opencl-link.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDFixupKernelModule.h#3 move/delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDPrelink.h#2 move/delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDResolveLinker.h#7 move/delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Linker/AMDFixupKernelModule.cpp#9 move/delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Linker/AMDPrelink.cpp#2 move/delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Linker/AMDResolveLinker.cpp#11 move/delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Linker/clpVectorExpansion.cpp#3 move/delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/llvmdefs#41 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/llvm-link/llvm-link.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/openclrules#87 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/hsa_dist.pl#2 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#18 edit
2015-08-07 14:34:06 -04:00
foreman b3135a37f8 P4 to Git Change 1178177 by rili@rili_opencl_stg on 2015/08/07 12:18:10
EPR #424426 - enable large allocation for Win 10

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#317 edit


[ROCm/clr commit: 36b4f843f5]
2015-08-07 12:30:33 -04:00
foreman 36b4f843f5 P4 to Git Change 1178177 by rili@rili_opencl_stg on 2015/08/07 12:18:10
EPR #424426 - enable large allocation for Win 10

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#317 edit
2015-08-07 12:30:33 -04:00
foreman fb2d2a6358 P4 to Git Change 1178107 by emankov@em-hsa-amd on 2015/08/07 09:05:47
ECR #333753 - Compiler Lib: switch Bif Version to 3.1 by default for HSAIL

	It is needed due to the latest AMD HSA Code Object introduction in BIF.

	TODO (in separate changes):
	1. Analyze the changes in sections/symbols and remove (if needed) unused anymore (in BIF31), for example, symISAMeta, check backward compatibility.
	2. Move the bif versions/conversions code from libUtils to loader\Bif.
	3. Refactor the bif versions/conversions code in order to get rid of copy/paste (templates?).
	4. Drop aclBIFVersionCAL.

	Testing: pre check-in

	Reviewer: Brian Sumner, Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclEnums.h#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif20.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif20.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif21.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif21.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif30.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif30.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif31.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif31.hpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/bif_section_labels.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFAssumptionCheck.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFAssumptionCheck.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#45 edit


[ROCm/clr commit: e54e8da337]
2015-08-07 09:11:37 -04:00
foreman e54e8da337 P4 to Git Change 1178107 by emankov@em-hsa-amd on 2015/08/07 09:05:47
ECR #333753 - Compiler Lib: switch Bif Version to 3.1 by default for HSAIL

	It is needed due to the latest AMD HSA Code Object introduction in BIF.

	TODO (in separate changes):
	1. Analyze the changes in sections/symbols and remove (if needed) unused anymore (in BIF31), for example, symISAMeta, check backward compatibility.
	2. Move the bif versions/conversions code from libUtils to loader\Bif.
	3. Refactor the bif versions/conversions code in order to get rid of copy/paste (templates?).
	4. Drop aclBIFVersionCAL.

	Testing: pre check-in

	Reviewer: Brian Sumner, Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclEnums.h#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif20.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif20.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif21.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif21.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif30.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif30.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif31.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif31.hpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/bif_section_labels.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFAssumptionCheck.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFAssumptionCheck.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#45 edit
2015-08-07 09:11:37 -04:00
foreman 80b479c16b P4 to Git Change 1178030 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/08/07 03:00:12
EPR #010002 - Change OpenCL version number from 1865 to 1866.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1612 edit


[ROCm/clr commit: 8fe643e7b6]
2015-08-07 03:15:07 -04:00
foreman 8fe643e7b6 P4 to Git Change 1178030 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/08/07 03:00:12
EPR #010002 - Change OpenCL version number from 1865 to 1866.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1612 edit
2015-08-07 03:15:07 -04:00
foreman d939bb5f12 P4 to Git Change 1177889 by weizhang@msdnweizhang-opencl on 2015/08/06 17:16:54
EPR #421017 - IOMMU2/SVM on CZ Win10, the bit INST_ATC of  COMPUTE_PGM_HI needs to be set for device enqueue.

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/devenq/schedule.cl#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusched.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#370 edit


[ROCm/clr commit: 7a54d367f3]
2015-08-06 17:39:55 -04:00
foreman 7a54d367f3 P4 to Git Change 1177889 by weizhang@msdnweizhang-opencl on 2015/08/06 17:16:54
EPR #421017 - IOMMU2/SVM on CZ Win10, the bit INST_ATC of  COMPUTE_PGM_HI needs to be set for device enqueue.

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/devenq/schedule.cl#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusched.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#370 edit
2015-08-06 17:39:55 -04:00
foreman 337d6861b4 P4 to Git Change 1177724 by jatang@jatang-opencl-hsa-stg1 on 2015/08/06 09:59:33
EPR #424562 - Add Averaging algorithm to Wave Limiter.

	1. Extract the algorithms to a sub-class of the wave limiter class.
	2. Add Averaging algorithm

	This averaging algorithm typically improves performance of BasemarkCL wave simulation by 8% on Tonga/Fiji than the current smooth algorithm. This change has not enable the averaging algorithm yet. Follow-up changes should be made to intelligently select which algorithm to use.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuwavelimiter.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuwavelimiter.hpp#4 edit


[ROCm/clr commit: 8fe485de95]
2015-08-06 10:19:59 -04:00
foreman 8fe485de95 P4 to Git Change 1177724 by jatang@jatang-opencl-hsa-stg1 on 2015/08/06 09:59:33
EPR #424562 - Add Averaging algorithm to Wave Limiter.

	1. Extract the algorithms to a sub-class of the wave limiter class.
	2. Add Averaging algorithm

	This averaging algorithm typically improves performance of BasemarkCL wave simulation by 8% on Tonga/Fiji than the current smooth algorithm. This change has not enable the averaging algorithm yet. Follow-up changes should be made to intelligently select which algorithm to use.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuwavelimiter.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuwavelimiter.hpp#4 edit
2015-08-06 10:19:59 -04:00
foreman 8ab2e462d2 P4 to Git Change 1177633 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/08/06 03:00:10
EPR #010002 - Change OpenCL version number from 1864 to 1865.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1611 edit


[ROCm/clr commit: fd5d51f911]
2015-08-06 03:06:54 -04:00
foreman fd5d51f911 P4 to Git Change 1177633 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/08/06 03:00:10
EPR #010002 - Change OpenCL version number from 1864 to 1865.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1611 edit
2015-08-06 03:06:54 -04:00
foreman 0fc4f1da76 P4 to Git Change 1177536 by bdhanase@opencl_merge_emailpc on 2015/08/05 18:23:44
EPR #397491 - Back out changelist 1177450.  Disable 32 bit generic address space

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#130 edit


[ROCm/clr commit: bcbc9101d4]
2015-08-05 18:31:02 -04:00
foreman bcbc9101d4 P4 to Git Change 1177536 by bdhanase@opencl_merge_emailpc on 2015/08/05 18:23:44
EPR #397491 - Back out changelist 1177450.  Disable 32 bit generic address space

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#130 edit
2015-08-05 18:31:02 -04:00
shaoyunl 2dff5cabfa Minor fix in libhsathunk for KFDMemory test
Signed-off-by: shaoyun liu(shaoyun.liu@amd.com)
Reviewed-by: Ben Goz(Ben.Goz@amd.com)
2015-08-05 17:32:00 -04:00
shaoyunl 779c76a4e7 Minor fix in libhsathunk for KFDMemory test
Signed-off-by: shaoyun liu(shaoyun.liu@amd.com)
Reviewed-by: Ben Goz(Ben.Goz@amd.com)


[ROCm/ROCR-Runtime commit: 2dff5cabfa]
2015-08-05 17:32:00 -04:00
foreman 97851343d4 P4 to Git Change 1177473 by cpaquot@hog-ocl on 2015/08/05 16:07:55
EPR #422059 - [DX11-OpenCL interop][MAYA] OpenCL doesn't update
	We need to add a Dx->Flush() before ending the query to make sure the DX driver flushes all the GPU caches.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d10.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#17 edit


[ROCm/clr commit: 28f7002255]
2015-08-05 16:44:13 -04:00
foreman 28f7002255 P4 to Git Change 1177473 by cpaquot@hog-ocl on 2015/08/05 16:07:55
EPR #422059 - [DX11-OpenCL interop][MAYA] OpenCL doesn't update
	We need to add a Dx->Flush() before ending the query to make sure the DX driver flushes all the GPU caches.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d10.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#17 edit
2015-08-05 16:44:13 -04:00
foreman cb1988e4f5 P4 to Git Change 1177450 by bdhanase@bala_workpc_ocl on 2015/08/05 15:40:16
EPR #397491 - Enable generic address space for 32 bit on Windows

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#129 edit


[ROCm/clr commit: 65a624e904]
2015-08-05 16:07:37 -04:00
foreman 65a624e904 P4 to Git Change 1177450 by bdhanase@bala_workpc_ocl on 2015/08/05 15:40:16
EPR #397491 - Enable generic address space for 32 bit on Windows

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#129 edit
2015-08-05 16:07:37 -04:00
Ben Goz bb4a5cddd9 Revert "Enable creating SDMA queue."
This reverts commit 112f7e751a.
2015-08-05 13:33:42 +03:00