Commit Graph

41017 Commits

Author SHA1 Message Date
foreman a4865b25bd P4 to Git Change 1088508 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/17 03:00:11
EPR #010002 - Change OpenCL version number from 1660 to 1661.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1407 edit
2014-10-17 03:10:11 -04:00
foreman 1dfb720281 P4 to Git Change 1088461 by bdhanase@bala_workpc_ocl on 2014/10/16 23:15:14
EPR #405824 - On apus, if we run out of local memory to allocate cl_mem objects, ocl runtime will use remote (system) memory.  Update maxMemAllocSize_ to include that.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#469 edit
2014-10-16 23:25:14 -04:00
foreman 9b0402343e P4 to Git Change 1088224 by gandryey@gera-dev-w7 on 2014/10/16 14:05:07
EPR #403341 - [Regression][OCL] P2P SDI to GPU (RGBA) and P2P SDI to GPU (RGB) show corruption on sdi output
	- Remove CALResGLBufferTypeEnum.
	- Code clean-up
	- Add a workaround for conformance fence_sync failures

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#195 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.hpp#77 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/include/cal/calcl.h#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#19 edit
2014-10-16 14:25:54 -04:00
foreman b124361187 P4 to Git Change 1087965 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/16 03:00:13
EPR #010002 - Change OpenCL version number from 1659 to 1660.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1406 edit
2014-10-16 03:13:32 -04:00
foreman 42ae4367c2 P4 to Git Change 1087847 by lmoriche@lmoriche_opencl_dev on 2014/10/15 17:33:42
EPR #407144 - Fixes an issue introduced by CL#1082950

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/thread/semaphore.cpp#8 edit
2014-10-15 17:49:44 -04:00
foreman e00c0d6992 P4 to Git Change 1087846 by bdhanase@bala_workpc_ocl on 2014/10/15 17:33:32
EPR #407358 - Enable remoteAlloc_ by default if the frame buffer is less than 128 MB on an APU system

	Reviewed by: German

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#290 edit
2014-10-15 17:44:44 -04:00
foreman f10df9ffcd P4 to Git Change 1087805 by yaxunl@yaxunl_stg_win50 on 2014/10/15 16:07:03
EPR #407587 - Fix llvm -stats not printing out statistics.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#59 edit
2014-10-15 17:02:40 -04:00
foreman f4582fd447 P4 to Git Change 1087568 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/15 03:00:12
EPR #010002 - Change OpenCL version number from 1658 to 1659.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1405 edit
2014-10-15 03:13:41 -04:00
foreman b4f7a4274b P4 to Git Change 1087490 by gandryey@gera-dev-w7 on 2014/10/14 19:07:04
EPR #403341 - [Regression][OCL] P2P SDI to GPU (RGBA) and P2P SDI to GPU (RGB) show corruption on sdi output
	- Enable GL Acquire/Release calls for more resource types. GL can enable color compression, but compute doesn't support it. Thus decompression can be required.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#194 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#18 edit
2014-10-14 19:15:37 -04:00
foreman af02d04050 P4 to Git Change 1087396 by bsumner@bsumner-lin-opencl on 2014/10/14 15:21:38
ECR #304775 - move majority of rutime kernels into library

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/common.hsa/src/blitKernels.cl#3 add
... //depot/stg/opencl/drivers/opencl/library/common/src/blitKernels.cl#3 add
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/devenq/devenq.h#6 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/devenq/schedule.cl#3 add
... //depot/stg/opencl/drivers/opencl/library/x86/gen/build/Makefile.gen#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/blitcl.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuschedcl.cpp#32 edit
2014-10-14 15:57:52 -04:00
foreman 19a31b5fe9 P4 to Git Change 1087364 by mbareghe@mbareghe_staging_win30 on 2014/10/14 14:49:19
ECR #304775 - clp re-implementation - Refactored SPIR loader and Added replaceTrivialConversionFunc to linker and offline linker. clp Moved to prelinker.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/Makefile#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/build/Makefile#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/clpMain.cpp#4 delete
... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/clpVectorExpansion.cpp#28 delete
... //depot/stg/opencl/drivers/opencl/compiler/clc/src/build/Makefile.clc#14 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#115 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDPrelinkOpt.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Linker/AMDPrelinkOpt.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Linker/clpVectorExpansion.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/SPIR/AMDSPIRLoader.cpp#87 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/llvm-link/llvm-link.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/library/common/src/commonConversions.cl#17 edit
... //depot/stg/opencl/drivers/opencl/library/common/src/commonVectorExpansions.cl#22 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/build/Makefile.hsail#36 edit
2014-10-14 15:09:17 -04:00
foreman 41d7aee04a P4 to Git Change 1087092 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/14 03:00:11
EPR #010002 - Change OpenCL version number from 1657 to 1658.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1404 edit
2014-10-14 04:05:48 -04:00
Alexey Skidanov 5d82c65602 Add GPU local memory module
Add graphic interop support

Local memory rework

Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@amd.com>

Adjust to new ioctl format

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-10-13 11:29:39 +03:00
Oded Gabbay 7972bb00c5 kfd_ioctl: interop
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-12-08 10:02:34 +02:00
Oded Gabbay d995344ae7 Add new definitions of HSA functions and types
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-10-20 08:48:28 +03:00
Oded Gabbay d14eb7aa00 kfd_ioctl: local memory
Add two new IOCTLs

Remove old IOCTLs

Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@amd.com>
2014-12-08 10:02:27 +02:00
Alexey Skidanov a7bdd0fdff Add GPU local memory module
Add graphic interop support

Local memory rework

Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@amd.com>

Adjust to new ioctl format

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>


[ROCm/ROCR-Runtime commit: 5d82c65602]
2014-10-13 11:29:39 +03:00
Oded Gabbay ec3149aeb7 kfd_ioctl: interop
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>


[ROCm/ROCR-Runtime commit: 7972bb00c5]
2014-12-08 10:02:34 +02:00
Oded Gabbay cb29071e77 Add new definitions of HSA functions and types
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>


[ROCm/ROCR-Runtime commit: d995344ae7]
2014-10-20 08:48:28 +03:00
Oded Gabbay 06d3f9c375 kfd_ioctl: local memory
Add two new IOCTLs

Remove old IOCTLs

Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@amd.com>


[ROCm/ROCR-Runtime commit: d14eb7aa00]
2014-12-08 10:02:27 +02:00
Yair Shachar 39f693aec0 Add H/W debug module
Signed-off-by: Yair Shachar <yair.shachar@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>

Adjust to new ioctl format

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-10-13 11:29:03 +03:00
Oded Gabbay f7c3c3bd1b kfd_ioctl: debug
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-12-08 10:02:12 +02:00
Andrew Lewycky f66e7d71b1 Add HSA Signals module
Signed-off-by: Andrew Lewycky <Andrew.Lewycky@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>

Adjust to new ioctl format

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-10-13 11:30:18 +03:00
Oded Gabbay 03604633ca kfd_ioctl: events
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-12-08 10:01:26 +02:00
Yair Shachar c146ef74c2 Add H/W debug module
Signed-off-by: Yair Shachar <yair.shachar@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>

Adjust to new ioctl format

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>


[ROCm/ROCR-Runtime commit: 39f693aec0]
2014-10-13 11:29:03 +03:00
Oded Gabbay 8a4fd73eaf kfd_ioctl: debug
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>


[ROCm/ROCR-Runtime commit: f7c3c3bd1b]
2014-12-08 10:02:12 +02:00
Andrew Lewycky 82c89fc12b Add HSA Signals module
Signed-off-by: Andrew Lewycky <Andrew.Lewycky@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>

Adjust to new ioctl format

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>


[ROCm/ROCR-Runtime commit: f66e7d71b1]
2014-10-13 11:30:18 +03:00
Oded Gabbay b4df6bc3aa kfd_ioctl: events
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>


[ROCm/ROCR-Runtime commit: 03604633ca]
2014-12-08 10:01:26 +02:00
foreman 971db82561 P4 to Git Change 1086680 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/11 03:00:14
EPR #010002 - Change OpenCL version number from 1656 to 1657.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1403 edit
2014-10-11 03:10:01 -04:00
foreman 7f8d708ca9 P4 to Git Change 1086362 by emankov@em-hsa-amd on 2014/10/10 10:40:16
ECR #333753 - Performance: Stop obligatory BRIG disassembling to HSAIL

	[Important]: HSAIL is not being disassembled from BRIG and not being inserted into BIF anymore by default.

	Testing: pre check-in, smoke_clang

	Reviewers: Stanislav Mekhanoshin, Brian Sumner, Artem Tamazov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#60 edit
2014-10-10 11:10:24 -04:00
foreman 3e74ee1f88 P4 to Git Change 1086296 by emankov@em-hsa-amd on 2014/10/10 07:46:11
ECR #333753 - HSA RT/Performance: Elimination of HSAIL text usage in RT (part 2)

	(as it's already done for gpuprogram.cpp)

	Extracting HSAIL from the binary and parsing it for the kernel names in RT were replaced with aclQueryInfo call for RT_KERNEL_NAMES. Kernel names are obtained now from the corresponding metadata symbols names, which are already presented in BIF at kernel finalization stage.

	Side effect: performance improvement

	Next Step: Performance: Stop obligatory BRIG disassembling to HSAIL and insertion into BIF (previously was needed only by RT).

	testing: pre check-in

	Reviewers: Stanislav Mekhanoshin, German Andryeyev, Brian Sumner

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsaprogram.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsaprogram.cpp#6 edit
2014-10-10 07:57:34 -04:00
foreman 94be44eaae P4 to Git Change 1086232 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/10 03:04:05
EPR #010002 - Change OpenCL version number from 1655 to 1656.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1402 edit
2014-10-10 03:22:00 -04:00
foreman ea12251885 P4 to Git Change 1085721 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/09 03:00:12
EPR #010002 - Change OpenCL version number from 1654 to 1655.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1401 edit
2014-10-09 03:14:36 -04:00
foreman 1a77c97dfe P4 to Git Change 1085627 by lmoriche@lmoriche_opencl_dev on 2014/10/08 20:00:03
ECR #304775 - Revert the change from Khronos that adds a const qualifier to cl_kernel_sub_group_info

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd_amd.h#15 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#13 edit
2014-10-08 20:05:24 -04:00
foreman ae7cdaba95 P4 to Git Change 1085620 by lmoriche@lmoriche_opencl_dev on 2014/10/08 19:17:11
ECR #304775 - Fix the build broken by CL#1085562

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd_amd.h#14 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#12 edit
2014-10-08 19:29:54 -04:00
foreman f6c5fabf6a P4 to Git Change 1085562 by lmoriche@lmoriche_opencl_dev on 2014/10/08 17:02:49
EPR #010005 - SVN update 2014-10-07 (r28472).

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.h#19 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#11 integrate
2014-10-08 17:24:38 -04:00
foreman d853eb5ebb P4 to Git Change 1085454 by yaxunl@yaxunl_stg_win50 on 2014/10/08 13:47:11
EPR #407056, #407061, #406980 - Back out changelist 1083545 since it causes a bunch of perf degradations. Will add a heurstics for -scras=2 for memory bound kernels only.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#118 edit
2014-10-08 13:56:22 -04:00
foreman 3c475679ba P4 to Git Change 1085416 by emankov@em-hsa-amd on 2014/10/08 11:37:27
ECR #333753 - Compiler Lib: Compilation from ACL_TYPE_HSAIL_TEXT fix

	+ Make HSAIL compilation work from aclSOURCE section also (as it was) besides aclCODEGEN
	+ Refactoring, simplification & annotating of if_aclCompile() function

	Testing: smoke_clang, pre check-in, aoc2 tests (not integrated yet)

	Reviewers: Brian Sumner, Artem Tamazov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#54 edit
2014-10-08 12:12:00 -04:00
foreman f59973500f P4 to Git Change 1085204 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/08 03:00:12
EPR #010002 - Change OpenCL version number from 1653 to 1654.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1400 edit
2014-10-08 03:12:45 -04:00
foreman 9623b491e9 P4 to Git Change 1085099 by gandryey@gera-dev-w7 on 2014/10/07 18:11:56
ECR #304775 - Restore OPENCL_VERISON check

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#468 edit
2014-10-07 18:30:34 -04:00
foreman e706ca4c91 P4 to Git Change 1084962 by gandryey@gera-dev-w7 on 2014/10/07 14:25:46
ECR #304775 - Remove GPU_PREALLOC_ADDR_SPACE key
	- Previously the key was used for 64bit ISA testing on boards with <4GB frame buffer

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#114 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#467 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#289 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#88 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#215 edit
2014-10-07 14:36:41 -04:00
foreman 99fdc9adbb P4 to Git Change 1084822 by emankov@em-hsa-amd on 2014/10/07 06:53:10
ECR #333753 - new tests are added to ocltst -m oclcomplib -t OCLRTGetInfo

	tests on aclQueryInfo for:
	RT_KERNEL_NAMES, RT_CONTAINS_LLVMIR, RT_CONTAINS_OPTIONS, RT_CONTAINS_BRIG, RT_CONTAINS_HSAIL, RT_CONTAINS_ISA

	+ query for RT_CONTAINS_HSAIL is fixed in Compiler Lib: looking for symbol symHSAILText instead of section aclCODEGEN, because aclCODEGEN section may contain also symOpenclMeta, symOpenclKernel, symOpenclStub besides symHSAILText.

	Testing: pre check-in, ocltst -m oclcomplib

	Reviewer: Brian Sumner

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclrtGetInfo.cpp#16 edit
2014-10-07 07:04:03 -04:00
foreman 4bdac403d2 P4 to Git Change 1084765 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/07 03:00:13
EPR #010002 - Change OpenCL version number from 1652 to 1653.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1399 edit
2014-10-07 03:13:01 -04:00
foreman c4338bb327 P4 to Git Change 1084700 by ericz@fl_ericz3 on 2014/10/06 18:17:12
EPR #365147 - OGL - VI Bringup Support

	Change include of si_ci_merged header to si_ci_vi_merged header since the si_ci ones are out of date and will be removed shortly.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuscsi.cpp#25 edit
2014-10-06 18:33:20 -04:00
foreman 5451d80ccb P4 to Git Change 1084677 by xcui@merged_opencl_jxcwin on 2014/10/06 17:48:09
EPR #406328 - made more changes so that the OpenCL can run 2.0 devices on the first 2.0 capable device and OpenCL 1.2 on the rest of devices if they can suppport. Also uncommented an assert accidently commted by the previous check in.
	this is the OpenCL part of checkin.

	Prechecking:
	http://ocltc.amd.com:8111/viewModification.html?modId=40944&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

	code review:
	http://ocltc.amd.com/reviews/r/5987/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#288 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#31 edit
2014-10-06 17:58:11 -04:00
foreman 4390727621 P4 to Git Change 1084677 by xcui@merged_opencl_jxcwin on 2014/10/06 17:48:09
EPR #406328 - made more changes so that the OpenCL can run 2.0 devices on the first 2.0 capable device and OpenCL 1.2 on the rest of devices if they can suppport. Also uncommented an assert accidently commted by the previous check in.
	this is the OpenCL part of checkin.

	Prechecking:
	http://ocltc.amd.com:8111/viewModification.html?modId=40944&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

	code review:
	http://ocltc.amd.com/reviews/r/5987/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#288 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#31 edit
2014-10-06 17:58:11 -04:00
foreman 936e8f603d P4 to Git Change 1084465 by emankov@em-hsa-amd on 2014/10/06 10:30:04
ECR #333753 - Compiler Lib/RT/Performance: Replace aclExtractSymbol/Section with aclQueryInfo for symbol/section detection.

	The replaced calls in RT previously performed actual extraction of the sections from the BIF with memory allocation and copying. But what is needed in fact is only to determine whether the section exists in BIF or not to make a further decision on needed recompilations. With aclQueryInfo and new added enums RT_CONTAINS_LLVMIR, RT_CONTAINS_OPTIONS, RT_CONTAINS_BRIG, RT_CONTAINS_HSAIL, RT_CONTAINS_ISA Runtime starts querying not the whole sections but the bool flag which indicates the existance of the corresponding section(s) without any memory allocations. Every compilation on RT starting from LLVMIR is affected by the change including compilation of blit kernels.

	Side Effects: performance improvement, memory consumption reduction

	Testing: pre check-in, ocl conformance (api, basic, compiler), ocltst complib

	Reviewers: Brian Sumner, German Andryeyev, Artem Tamazov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclEnums.h#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#180 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#38 edit
2014-10-06 10:41:24 -04:00
foreman 91f9b36376 P4 to Git Change 1084308 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/04 03:00:12
EPR #010002 - Change OpenCL version number from 1651 to 1652.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1398 edit
2014-10-04 03:13:27 -04:00
foreman c248f04970 P4 to Git Change 1084301 by xcui@merged_opencl_jxcwin on 2014/10/03 21:15:33
EPR #406328 - changed the device open algorithm so that the we only open the first OpenCL device. This is the OPENCL runtime changes, but this will be removed once we implemented multiple device support for SVM.

	the code review and precheckin test:
	http://ocltc.amd.com/reviews/r/5942/
	http://ocltc.amd.com:8111/viewModification.html?modId=40902&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#466 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#287 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#87 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/include/cal/cal.h#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#100 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#40 edit
2014-10-03 21:28:36 -04:00
foreman 794dc568be P4 to Git Change 1084288 by xcui@merged_opencl_jxcwin on 2014/10/03 20:10:38
EPR #397491 - fixed the temporary directory under windows system directory issue  for windows, because apps couldn't write into C:\windows directory.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#41 edit
2014-10-03 20:19:00 -04:00