Commit Graph

373 Commits

Author SHA1 Message Date
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 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
foreman e83684f5b0 P4 to Git Change 1084233 by rili@rili_opencl_stg on 2014/10/03 18:05:50
EPR #406832 - Fixed wrong retuen value of numSupportedFormats when flag=CL_MEM_KERNEL_READ_AND_WRITE

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#111 edit
2014-10-03 19:04:39 -04:00
foreman 7e0edf09cd P4 to Git Change 1084060 by asalmanp@asalmanp-opencl-stg1 on 2014/10/03 14:05:34
EPR #394115 - Enabling Fiji on mainline as Hoatzin. The true name will be exposed later on mainline.
	ReviewURLBoard = http://ocltc.amd.com/reviews/r/5975/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_9/target_mappings.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_9/target_mappings_amdil.h#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_9/target_mappings_amdil64.h#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#113 edit
2014-10-03 14:27:23 -04:00
foreman bfc41a18dd P4 to Git Change 1083967 by gandryey@gera-dev-w7 on 2014/10/03 11:20:24
ECR #304775 - Fix for BUG#10330.
	- Add an optimized version for unaligned buffer copy

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/blitcl.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#111 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsablit.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsablit.cpp#5 edit
2014-10-03 12:04:15 -04:00
foreman 7cd16dddbb P4 to Git Change 1083881 by emankov@em-hsa-amd on 2014/10/03 05:37:42
ECR #333753 - Compiler Lib: fix for Android build

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#12 edit
2014-10-03 05:48:22 -04:00
foreman f7c2190e63 P4 to Git Change 1083876 by emankov@em-hsa-amd on 2014/10/03 04:25:16
ECR #333753 - HSA RT/Compiler Lib/Performance: Elimination of HSAIL text usage in RT

	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: elimination of BRIG disassembling to HSAIL as obligatory stage in Compiler Lib (previously was needed only by RT).

	Testing: pre check-in, ocl conformnace 2.0 (basic, api, compiler, workgroups, device_execution)

	Reviewers: Stanislav Mekhanoshin, German Andryeyev, Brian Sumner

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclEnums.h#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#266 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#179 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#37 edit
2014-10-03 04:30:34 -04:00
foreman 1001028b9b P4 to Git Change 1083872 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/03 03:00:11
EPR #010002 - Change OpenCL version number from 1650 to 1651.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1397 edit
2014-10-03 03:13:18 -04:00
foreman dd8f893c8a P4 to Git Change 1083812 by rili@rili_opencl_stg on 2014/10/02 18:45:51
EPR #406832 - Added flag CL_MEM_KERNEL_READ_AND_WRITE support for clGetSupportedImageFormats

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#110 edit
2014-10-02 19:24:13 -04:00
foreman 252525974e P4 to Git Change 1083545 by yaxunl@yaxunl_stg_win50 on 2014/10/02 11:58:08
EPR #402000 - [CQE OCL][Perf][QR] ~6-7% perf drop in CompuCL Benchmark (Graphics: T-Rex subtest).

	Enable -scras=2.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#117 edit
2014-10-02 14:53:40 -04:00
foreman b737b1b1ab P4 to Git Change 1083488 by bsumner@bsumner-lin-opencl on 2014/10/02 09:01:39
ECR #304775 - back out 1083437

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/common.hsa/src/blitKernels.cl#2 delete
... //depot/stg/opencl/drivers/opencl/library/common/src/blitKernels.cl#2 delete
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/devenq/devenq.h#5 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/devenq/schedule.cl#2 delete
... //depot/stg/opencl/drivers/opencl/library/x86/gen/build/Makefile.gen#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/blitcl.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuschedcl.cpp#31 edit
2014-10-02 12:55:08 -04:00
foreman 2343bbf8c6 P4 to Git Change 1083460 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/02 03:00:12
EPR #010002 - Change OpenCL version number from 1649 to 1650.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1396 edit
2014-10-02 03:11:33 -04:00
foreman 72fd13e445 P4 to Git Change 1083437 by bsumner@bsumner-lin-opencl on 2014/10/01 20:06:47
ECR #304775 - move runtime kernels mostly into library

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/common.hsa/src/blitKernels.cl#1 add
... //depot/stg/opencl/drivers/opencl/library/common/src/blitKernels.cl#1 add
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/devenq/devenq.h#4 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/devenq/schedule.cl#1 add
... //depot/stg/opencl/drivers/opencl/library/x86/gen/build/Makefile.gen#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/blitcl.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuschedcl.cpp#30 edit
2014-10-01 20:12:43 -04:00
foreman 26ad0e1a8e P4 to Git Change 1083322 by yaxunl@yaxunl_stg_win50 on 2014/10/01 16:00:22
ECR #377625 - AMDIL Function support: allow functions without names to be not inlined.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#114 edit
2014-10-01 16:11:38 -04:00
foreman c0c60308d3 P4 to Git Change 1083099 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/01 03:00:12
EPR #010002 - Change OpenCL version number from 1648 to 1649.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1395 edit
2014-10-01 03:06:39 -04:00
foreman d780c32a1b P4 to Git Change 1082964 by lmoriche@lmoriche_opencl_dev on 2014/09/30 17:09:28
ECR #304775 - Replace amd::Atomic with std::atomic (cont'd)

	Pre-checkin: http://ocltc.amd.com:8111/viewModification.html?modId=40674&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/thread/atomic.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/thread/monitor.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/thread/monitor.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/concurrent.hpp#7 edit
2014-09-30 17:40:37 -04:00
foreman aaf533287b P4 to Git Change 1082950 by lmoriche@lmoriche_opencl_dev on 2014/09/30 16:50:37
ECR #304775 - Implement the changes recommended in review#5943

	Pre-checkin: http://ocltc.amd.com:8111/viewModification.html?modId=40717&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#109 edit
... //depot/stg/opencl/drivers/opencl/runtime/thread/semaphore.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/concurrent.hpp#6 edit
2014-09-30 17:21:19 -04:00
foreman bb6fa26029 P4 to Git Change 1082819 by mbareghe@mbareghe_staging_win30 on 2014/09/30 13:59:08
ECR #304775 - clp re-implementation - refactoring and generalization of clpVectorExpansion to work on both AMDIL and CPU path, HSAIL path not included yet.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/build/Makefile.clp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/clpVectorExpansion.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#113 edit
... //depot/stg/opencl/drivers/opencl/library/common/src/commonConversions.cl#16 edit
... //depot/stg/opencl/drivers/opencl/library/x86/gen/build/Makefile.gen#16 edit
2014-09-30 14:06:47 -04:00
foreman f48b935b43 P4 to Git Change 1082817 by gandryey@gera-dev-w7 on 2014/09/30 13:47:59
ECR #304775 - Reduce the total number of renames to 16.
	- Use 128KB for CB size on SI+

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#286 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#334 edit
2014-09-30 13:57:32 -04:00
foreman 3faaeb958f P4 to Git Change 1082704 by smekhano@rampitec-HSA on 2014/09/30 09:39:56
ECR #333753 - HSA HLC: decouple hsail inlining options and threshold from amdil/cpu
	This allows selective enablement of the feature and selective tuning of the threshold depending on the target.

	Testing: smoke, smoke_clang, precheckin
	Reviewed by Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/Transforms/IPO/AMDOptOptions.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDOptOptions.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDPassManagerBuilder.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/opt/amdopt.inc#21 edit
2014-09-30 09:56:12 -04:00
foreman 654c244bd1 P4 to Git Change 1082547 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/30 03:00:18
EPR #010002 - Change OpenCL version number from 1647 to 1648.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1394 edit
2014-09-30 03:41:19 -04:00
foreman 617422f40f P4 to Git Change 1082396 by gandryey@gera-w7 on 2014/09/29 17:30:00
EPR #406110 - OCL20:Basic subtest fails when running on GPU
	- Reduce max prog variable size to 90% of max single allocation

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#465 edit
2014-09-29 18:19:04 -04:00
foreman 90c15d9f06 P4 to Git Change 1082378 by lmoriche@lmoriche_opencl_dev on 2014/09/29 17:08:11
ECR #304775 - Replace amd::Atomic with std::atomic

	Pre-checkin: http://ocltc.amd.com:8111/viewModification.html?modId=40639&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/os/os_posix.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#108 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#86 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/runtime.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/thread/monitor.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/thread/semaphore.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/thread/semaphore.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/util.hpp#10 edit
2014-09-29 17:38:55 -04:00
foreman ad5a7696d1 P4 to Git Change 1082058 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/29 03:01:22
EPR #010002 - Change OpenCL version number from 1646 to 1647.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1393 edit
2014-09-29 03:18:22 -04:00
foreman 511742dee7 P4 to Git Change 1081882 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/27 03:00:11
EPR #010002 - Change OpenCL version number from 1645 to 1646.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1392 edit
2014-09-27 03:09:53 -04:00
foreman 23461971a5 P4 to Git Change 1081826 by lmoriche@lmoriche_opencl_dev on 2014/09/26 18:40:37
ECR #304775 - Replace amd::Atomic with std::atomic

	Pre-checkin: http://ocltc.amd.com:8111/viewModification.html?modId=40547&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/concurrent.hpp#5 edit
2014-09-26 19:02:58 -04:00
foreman ae5911684c P4 to Git Change 1081383 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/26 03:00:11
EPR #010002 - Change OpenCL version number from 1644 to 1645.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1391 edit
2014-09-26 03:04:59 -04:00
foreman 93e05cdac8 P4 to Git Change 1081252 by bdhanase@bala_workpc_ocl on 2014/09/25 18:40:10
EPR #405824 - Back out changelist 1079967.  It causes regressions in other apus.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#464 edit
2014-09-25 18:46:24 -04:00
foreman a510b4480b P4 to Git Change 1081137 by chui@chui_cnchuiw7 on 2014/09/25 15:49:26
EPR #399601 - Back out changelist 1080047 to have CZ report as 2.0 device.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#285 edit
2014-09-25 16:29:26 -04:00
foreman d13ba8f18c P4 to Git Change 1080972 by emankov@em-hsa-amd on 2014/09/25 12:41:03
ECR #333753 - HSA RT: avoiding superfluous recompilations on ORCA RT/HSA path (part 2)

	+ support of -fno-bin-llvmir & -fno-bin-hsail options: do not check compiler options for recompilation decision.
	  As a result if the binary contains ISA, BRIG & HSAIL and the above options are specified when compiling from binary, then compilation options are not compared, recompilation doesn't occur. This makes possible to compile from binary with different set of options, for example: -just-kernel.

	P.S. Brig & HSAIL should be in binary in order to initialize & execute kernel (even if ISA is presented).

	Testing: pre check-in, compiler, api & basic ocl conformance 2.0 tests

	Reviewers: German Andryeyev, Artem Tamazov

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#178 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#56 edit
2014-09-25 13:01:27 -04:00
foreman 98d18cf816 P4 to Git Change 1080750 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/25 03:00:11
EPR #010002 - Change OpenCL version number from 1643 to 1644.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1390 edit
2014-09-25 03:14:12 -04:00
foreman 92f1356f92 P4 to Git Change 1080293 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/24 03:01:34
EPR #010002 - Change OpenCL version number from 1642 to 1643.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1389 edit
2014-09-24 03:12:33 -04:00
foreman 7d55aee58a P4 to Git Change 1080047 by chui@chui_cnchuiw7 on 2014/09/23 16:11:20
EPR #399601 - Back out changelist 1076725 to have CZ NOT report as 2.0 device. To be cherry picked to mainline and then unback out afterwards.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#284 edit
2014-09-23 16:25:16 -04:00
foreman 81b9faadba P4 to Git Change 1080034 by jatang@jatang-ocl-lnx2 on 2014/09/23 15:47:25
EPR #406216 - Revert CL#1076975 for Linux for now due to ASIC hang.

	Keep the change for Windows.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#283 edit
2014-09-23 16:03:00 -04:00
foreman 9fe49c3516 P4 to Git Change 1079971 by emankov@em-hsa-amd on 2014/09/23 13:05:09
ECR #333753 - Compiler Lib, ocltst: printf metadata related changes

	+ fix pointer copying of printf metadata in compiler Lib, annotation
	+ printf testing is added to OCLRTGetInfo (ocltst complib)

	tests: pre check-in, ocltst -m oclcomplib

	Reviewers: Artem Tamazov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/clSourceShaders.h#6 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclrtGetInfo.cpp#15 edit
2014-09-23 13:16:11 -04:00
foreman a16bef5482 P4 to Git Change 1079967 by bdhanase@bala_workpc_ocl on 2014/09/23 12:59:41
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.

	Reviewed by: German

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#463 edit
2014-09-23 13:13:57 -04:00
foreman 16f8ca9aae P4 to Git Change 1079952 by yaxunl@yaxunl_stg_win50 on 2014/09/23 12:31:16
ECR #377625 - Workaround for Blender performance issue. Lower available VGPRs to improve waves per CU.

	Added BuildOptsAppend to OCL app profile.
	Read BuildOptsAppend and append to build options.
	Added specific wave optimization option for Blender.

Affected files ...

... //depot/stg/opencl/drivers/opencl/appprofiles/oclappprofile.xml#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/SI/scCompileSI.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#116 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#170 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#230 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuappprofile.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuappprofile.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#63 edit
2014-09-23 12:44:50 -04:00
foreman 5ef908c5e7 P4 to Git Change 1079692 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/23 03:00:11
EPR #010002 - Change OpenCL version number from 1641 to 1642.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1388 edit
2014-09-23 03:05:33 -04:00
foreman 5c6eb9d62e P4 to Git Change 1079573 by bdhanase@bala_workpc_ocl on 2014/09/22 18:26:26
EPR #405824 - set apusystem_ to 1 for CZ

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#282 edit
2014-09-22 18:33:46 -04:00
foreman 3e550e63ef P4 to Git Change 1079546 by bdhanase@bala_workpc_ocl on 2014/09/22 17:41:33
EPR #405824 - set apusystem_ to 1 for CZ

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#281 edit
2014-09-22 17:47:58 -04:00
foreman a9f1a1f7da P4 to Git Change 1079525 by bwicakso@opencl-hsa-stg-bwicakso on 2014/09/22 16:53:56
ECR #333755 - Disable image support on granite

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.cpp#86 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsasettings.cpp#35 edit
2014-09-22 17:11:17 -04:00
foreman d50fa706e3 P4 to Git Change 1079216 by emankov@em-hsa-amd on 2014/09/22 08:18:24
ECR #333753 - Compiler Lib/RT: Metadata related code refactor, annotation, minor fixes & additional checks

	+ refactor if_aclQueryInfo() in order to simplify code and to avoid direct usage of aclMetadata struct members types
	+ annotation on why we need to use deserializeCLMetadata on "serialized" (to NULL) pointers
	+ erroneously forgotten RT_KERNEL_NAME was added to aclQueryType enum
	+ OCLRTGetInfo, CLEnumCheck tests from ocltst oclcomplib was updated to use RT_KERNEL_NAME
	+ testing of printf is added to OCLRTGetInfo
	+ minor fixes and additional checks

	tests: pre check-in, ocltst -m oclcomplib

	Reviewers: Artem Tamazov, Brian Sumner, German Andryeyev

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclEnums.h#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclStructs.h#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#265 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/clSourceShaders.h#5 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclrtGetInfo.cpp#14 edit
2014-09-22 08:24:39 -04:00
foreman 9f99843ca0 P4 to Git Change 1079052 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/21 03:00:12
EPR #010002 - Change OpenCL version number from 1640 to 1641.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1387 edit
2014-09-21 03:06:13 -04:00
foreman 5df649cb7c P4 to Git Change 1079030 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/20 03:00:11
EPR #010002 - Change OpenCL version number from 1639 to 1640.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1386 edit
2014-09-20 03:03:54 -04:00