Wykres commitów

3311 Commity

Autor SHA1 Wiadomość Data
foreman 09fb6c961b P4 to Git Change 1077336 by emankov@em-hsa-amd on 2014/09/16 11:13:20
ECR #333753 - Compiler Lib/RT: Fix RT_DEVICE_ENQUEUE & RT_KERNEL_INDEX querying

	tests: pre check-in, compiler ocl conformance tests

	Reviewer: German Andryeyev, Vinay Madhusudan

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#263 edit
2014-09-16 11:54:47 -04:00
foreman 9c02c73c2f P4 to Git Change 1077270 by emankov@em-hsa-amd on 2014/09/16 09:26:09
ECR #333753 - Compiler Lib: Bug fix in string options comparison

	Tests: smoke, precheck-in

	Reviewer: Brian Sumner, Artem Tamazov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#149 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#176 edit
2014-09-16 09:39:53 -04:00
foreman 44b425a7a5 P4 to Git Change 1077181 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/16 03:00:11
EPR #010002 - Change OpenCL version number from 1635 to 1636.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1382 edit
2014-09-16 03:09:12 -04:00
foreman fc2687df3a P4 to Git Change 1076975 by jgolds@jgolds_MSDNfractal5_opencl_stg on 2014/09/15 13:22:38
ECR #304775 - Update resource cache behavior

	Currently, the resource cache is fixed at 64MB regardless of available video memory size. Changed the logic to use max(1/8th video memory, 64MB). This is still overrideable with the env. var. GPU_RESOURCE_CACHE_SIZE.

	Improvements with changes: 18% decrease in video chat face detect time on 95w Kaveri (no change in PCMark8 score as we already achieved 30fps), 14% improvement on 19w Kaveri (this does result in an improvement in PCMark8 since the APU is slower).

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#279 edit
2014-09-15 13:28:54 -04:00
foreman fe0dedc497 P4 to Git Change 1076784 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/15 03:00:16
EPR #010002 - Change OpenCL version number from 1634 to 1635.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1381 edit
2014-09-15 03:12:34 -04:00
foreman 93b88902dc P4 to Git Change 1076725 by bdhanase@bala_workpc_ocl on 2014/09/14 23:52:04
EPR #399601 - Report CZ as a 2.0 device

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#278 edit
2014-09-14 23:58:52 -04:00
foreman 585664f084 P4 to Git Change 1076634 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/13 03:00:12
EPR #010002 - Change OpenCL version number from 1633 to 1634.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1380 edit
2014-09-13 03:08:06 -04:00
foreman f33c12010a P4 to Git Change 1076600 by gandryey@gera-dev-w7 on 2014/09/12 18:30:59
ECR #304775 - Correct OPENCL_VERSION key check for staging

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#461 edit
2014-09-12 18:36:05 -04:00
foreman 42f4b2af97 P4 to Git Change 1076493 by yaxunl@yaxunl_stg_win50 on 2014/09/12 14:45:24
ECR #377625 - AMDIL Function support: Calculate total private memory usage by a kernel including memory used by called functions.

	This cannot be done by IPA since stack size is known only after register allocation due to potential register spill, but MachineFunctionAnalysis cannot persist after CGSCC pass with current LLVM version.

	This change adds private memory usage metadata for non-kernel functions. The total private memory usage by a kernel is calculated when AMDIL is split for different kernels. BIF will contain total private memory size.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/amdilUtils.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/amdilUtils.hpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILKernelManager.cpp#451 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILKernelManager.h#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#175 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#54 edit
2014-09-12 15:02:32 -04:00
foreman fea6100aa9 P4 to Git Change 1076356 by smekhano@rampitec-HSA on 2014/09/12 09:35:57
ECR #333753 - HSA HLC: remove code changing the default filetype which is set by an external tool such as llc
	Effectively llc will produce text hsail file by default as a standard llc behaviour. Use -filetype=obj to obtain brig.
	Note, test_driver.pl is already patched to preserve old behaviour.

	Testing: smoke, smoke_clang, precheckin
	Reviewed by Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILTargetMachine.cpp#33 edit
2014-09-12 09:42:39 -04:00
foreman 6fddbe6449 P4 to Git Change 1076270 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/12 03:00:13
EPR #010002 - Change OpenCL version number from 1632 to 1633.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1379 edit
2014-09-12 03:09:18 -04:00
foreman edb288692d P4 to Git Change 1076147 by rili@rili_opencl_stg on 2014/09/11 17:44:11
EPR #405753 - Fixed incorrect value of slicePitch returned from clEnqueueMapimage for 1Darray.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#111 edit
2014-09-11 18:10:22 -04:00
foreman c4c488b53f P4 to Git Change 1075901 by gandryey@gera-dev-w7 on 2014/09/11 11:15:25
ECR #304775 - Make sure runtime detects USWC memory for subbuffers

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#110 edit
2014-09-11 11:32:24 -04:00
foreman 93ee6bb034 P4 to Git Change 1075755 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/11 03:00:11
EPR #010002 - Change OpenCL version number from 1631 to 1632.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1378 edit
2014-09-11 03:25:34 -04:00
foreman d5f7502ca8 P4 to Git Change 1075489 by marsenau@marsenau_ma on 2014/09/10 15:05:23
EPR #405194 - Change unroll threshold to LLVM default to partially work around Linpack performance problem.

	Prior to CL 1058428, which increased the unroll threshold to 200, this was only 100 which is lower than the LLVM default. Linpack's new ISA has increased register usage, but decreasing the unroll threshold to the previous level does not reduce the register count to its previous level. The increased register usage is probably a new SC problem, so this should probably be increased again in the future. There is no change in register usage with 100 vs. 150 on Linpack.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#113 edit
2014-09-10 15:52:30 -04:00
foreman c02dacedb2 P4 to Git Change 1075485 by marsenau@marsenau_ma on 2014/09/10 15:00:38
ECR #304775 - Remove _ in hsail_64 triple enum name. It isn't consistent with itself, or most other targets. The string form is already "hsail64", but the target name is sometimes "hsail-64". Does not remove the - in "hsail-64" for the target name since users could be depending on that, although that should also be fixed.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#110 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/ADT/Triple.h#36 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDLLVMContextHook.h#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/MC/MCObjectFileInfo.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Support/Triple.cpp#47 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/TargetInfo/HSAILTargetInfo.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/SPIR/AMDSPIRLoader.cpp#82 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/Scalar/AMDLowerAtomics.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/Utils/AMDUtils.cpp#2 edit
2014-09-10 15:30:51 -04:00
foreman f517eefd51 P4 to Git Change 1075455 by shxiao@profilerworksp on 2014/09/10 14:12:27
EPR #403493 - Block index error for CI and VI, OCL code change

	Problem description: The OCL implementation requires HSA to used different block index values for CI and VI. However, the same index value is used for the same counter block in both CI and VI, which in turn caused a segmentation fault.

	Root cause: HSA implementation does not know this situation before hand.

	Solution: Fix to use different counter block index in CI from that in VI

	Functional area: HSA perf counter implementation...

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsacounters.cpp#4 edit
2014-09-10 15:04:08 -04:00
foreman d35be99f01 P4 to Git Change 1075322 by smekhano@rampitec-HSA on 2014/09/10 11:07:04
ECR #333756 - HSA Finalizer: added runtime option to force buffer instructions for global access
	This can be used under ORCA RT.

	Testing: smoke, smoke_clang, precheckin, clbas dgemm
	Reviewed by Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/SI/scStateSI.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#112 edit
2014-09-10 11:25:14 -04:00
foreman 612ed6149b P4 to Git Change 1075183 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/10 03:00:11
EPR #010002 - Change OpenCL version number from 1630 to 1631.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1377 edit
2014-09-10 03:13:37 -04:00
foreman 4f6f6aadc0 P4 to Git Change 1075101 by yaxunl@yaxunl_stg_win50 on 2014/09/09 21:48:45
ECR #304775 - Modify Makefiles to let TC SC_PRM use the same SC component for AMDIL and HSAIL path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#91 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/aclLoaders.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_9/aclLoaders.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/Makefile#43 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/scCompileBase.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/build/Makefile.complib#72 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/complibdefs#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/llvmdefs#35 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#142 edit
2014-09-09 21:57:54 -04:00
foreman 9c6c074122 P4 to Git Change 1075041 by gandryey@gera-dev-w7 on 2014/09/09 18:36:42
ECR #304775 - Device enqueue
	- Update the template header

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuschedcl.cpp#29 edit
2014-09-09 19:12:37 -04:00
foreman f2c0eaf67d P4 to Git Change 1074863 by xcui@merged_opencl_jxcwin on 2014/09/09 13:34:10
EPR #397491 - only using OpenCL 1.2 onr multiple GPUs on mainline by default.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#460 edit
2014-09-09 14:05:07 -04:00
foreman 8751996be9 P4 to Git Change 1074626 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/09 03:00:12
EPR #010002 - Change OpenCL version number from 1629 to 1630.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1376 edit
2014-09-09 03:11:00 -04:00
foreman 8f5b43ffd1 P4 to Git Change 1074473 by rili@rili_opencl_stg on 2014/09/08 16:30:03
EPR #400016 - Keep the path of temp folder if the app is WIndows app

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#39 edit
2014-09-08 16:44:37 -04:00
foreman c777c3e198 P4 to Git Change 1074167 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/06 03:00:11
EPR #010002 - Change OpenCL version number from 1628 to 1629.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1375 edit
2014-09-06 03:11:04 -04:00
foreman b9e695d254 P4 to Git Change 1074077 by jatang@jatang-ocl-lnx1 on 2014/09/05 16:58:30
EPR #405458 - clinfo segfaults when ENABLE_CAL_SHUTDOWN=1.

	For the global variables of:

	std::map <std::string, int> OptionNameMap[2];
	std::map <std::string, int> NoneSeparatorOptionMap[2];
	std::map <std::string, int> FOptionMap;
	std::map <std::string, int> MOptionMap;

	We don't need to call the clear() method explicitly, since the std::map destructor will clean things up (valgrind mem-check doesn't report any leak related to these global variables after this change). Besides, on Linux amd::option::teardown() is called after the global variables' destructors are called, and it will cause segfault.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#29 edit
2014-09-05 20:58:50 -04:00
foreman 97c9f5611c P4 to Git Change 1073720 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/05 03:00:12
EPR #010002 - Change OpenCL version number from 1627 to 1628.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1374 edit
2014-09-05 05:01:16 -04:00
foreman 43cb9c9fc1 P4 to Git Change 1073180 by nhaustov@nhaustov_hsa on 2014/09/04 03:54:52
ECR #333756 - Enable HSAIL 0.95+ images in Orca Runtime, HLC and Finalizer.

	Testing: pre-checkin, image tests on Granite and Obsidian fail as expected.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/HSAIL/hsail-fin/HSAILCodeGen.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/CodeGen/CodeGen.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/BRIGAsmPrinter.cpp#78 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelDAGToDAG.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILImages.td#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILPropImageOps.cpp#4 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILTargetMachine.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#213 edit
2014-09-04 04:10:00 -04:00
foreman 126e8c33e1 P4 to Git Change 1073164 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/04 03:00:11
EPR #010002 - Change OpenCL version number from 1626 to 1627.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1373 edit
2014-09-04 03:07:54 -04:00
foreman 7bd8bf4f9c P4 to Git Change 1072691 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/03 03:00:11
EPR #010002 - Change OpenCL version number from 1625 to 1626.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1372 edit
2014-09-03 03:14:26 -04:00
foreman ef1f9267eb P4 to Git Change 1072642 by skudchad@skudchad_test_win_opencl2 on 2014/09/03 00:25:43
EPR #398128 - Windows 2015, WDDM2.0, New Residency Model
	- Modify MarkUsedInCmdBuf in IOL to make sure that MakeResident is called for OpenCL (Part 2)

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#99 edit
2014-09-03 00:34:34 -04:00
foreman 2738b30287 P4 to Git Change 1072528 by gandryey@gera-dev-w7 on 2014/09/02 17:00:16
ECR #304775 - Add batching to the device enqueue for possible asynchronous execution
	- Increase the max device queue size to 512KB. That will allow to pass conformance tests that enqueue more jobs than the queue size.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#459 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusched.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuschedcl.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#333 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.h#39 edit
2014-09-02 17:15:39 -04:00
foreman b2cfd32629 P4 to Git Change 1071902 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/08/31 03:00:11
EPR #010002 - Change OpenCL version number from 1624 to 1625.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1371 edit
2014-08-31 03:07:11 -04:00
foreman 467ec09d69 P4 to Git Change 1071875 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/08/30 03:00:12
EPR #010002 - Change OpenCL version number from 1623 to 1624.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1370 edit
2014-08-30 03:09:05 -04:00
foreman bc8b0dbc9c P4 to Git Change 1071796 by xcui@merged_opencl_jxcwin on 2014/08/29 17:10:04
EPR #404341 - disable OPenCL 2.0 for corssfire and multipe devices temporaraly, this is the OPENCL  changes.
	code review:
	http://ocltc.amd.com/reviews/r/5639/

	precheckin testing results:
	http://ocltc.amd.com:8111/viewModification.html?modId=38513&personal=true&init=1&tab=vcsModificationBuilds

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#458 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#132 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#277 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/include/cal/cal.h#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#98 edit
2014-08-29 17:26:08 -04:00
foreman 87e6a3fa02 P4 to Git Change 1071782 by gandryey@gera-dev-w7 on 2014/08/29 16:43:04
ECR #304775 - Combine BUSY and DONE processing in the scheduler

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuschedcl.cpp#27 edit
2014-08-29 16:48:31 -04:00
foreman 6f7a3b20f8 P4 to Git Change 1071485 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/08/29 03:00:11
EPR #010002 - Change OpenCL version number from 1622 to 1623.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1369 edit
2014-08-29 03:11:10 -04:00
foreman 96a59a73b8 P4 to Git Change 1071369 by gandryey@gera-dev-w7 on 2014/08/28 18:09:49
ECR #304775 - Add a pointer to the profiling_capture_event_info values.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusched.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuschedcl.cpp#26 edit
2014-08-28 18:45:10 -04:00
foreman d13eeb7ea8 P4 to Git Change 1071332 by rili@rili_opencl_stg on 2014/08/28 17:28:16
EPR #405038 - Expose extension "cl_khr_depth_images" for OpenCL 2.0

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpusettings.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#229 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#276 edit
2014-08-28 17:48:53 -04:00
foreman 17edecc562 P4 to Git Change 1071013 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/08/28 03:00:11
EPR #010002 - Change OpenCL version number from 1621 to 1622.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1368 edit
2014-08-28 03:10:03 -04:00
foreman 7f55691ebc P4 to Git Change 1070977 by ssahasra@ssahasra_opencl_windows on 2014/08/28 01:10:11
ECR #333753 - unify online/offline linkers

	The code for "FixUpModule" from the online linker is now moved to
	a common file under llvm/lib. This replaces the copy present in
	llvm/tools/llvm-link, thus unifying the two linkers.

	Reviewed by Stanislav Mekhanoshin, Yaxun Liu (Sam)

	Passes smoke, smoke_clang and precheckin.
	Also passes OpenCL 2.0 conformance tests.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#109 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDFixupKernelModule.h#1 add
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDUtils.h#1 add
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Linker/AMDFixupKernelModule.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/Utils/AMDUtils.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/llvm-link/AMDFixUpModule.cpp#12 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/llvm-link/llvm-link.cpp#48 edit
2014-08-28 01:17:39 -04:00
foreman ed54e11355 P4 to Git Change 1070744 by gandryey@gera-ubuntu14 on 2014/08/27 13:47:50
ECR #304775 - Replace # character \x23 code, because GCC could remove #define compeletly

Affected files ...

... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDynamicBLines.cpp#2 edit
2014-08-27 14:21:43 -04:00
foreman c018bed751 P4 to Git Change 1070089 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/08/26 03:00:12
EPR #010002 - Change OpenCL version number from 1619 to 1620.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1366 edit
2014-08-26 03:13:33 -04:00
foreman 5efe63df44 P4 to Git Change 1069927 by skudchad@skudchad_test_win_opencl2 on 2014/08/25 14:51:55
ECR #304775 - Optimization for rectangular copies(Part2). Due to HW restriction of 14bits for src and dst pitch, its advantageous to choose optimal bpp. Higher the bpp the larger the byte pitch. This indirectly helps to reduce the number of packets for buffer copy(line by line vs a single sub_win raw packet)

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#109 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#191 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.hpp#76 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.h#38 edit
2014-08-25 15:09:01 -04:00
foreman 1b3776aabe P4 to Git Change 1069924 by weizhang@msdnweizhang-opencl on 2014/08/25 14:50:15
ECR #397491 - Enable platform atomics and fine grain buffer in mainline.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#457 edit
2014-08-25 15:01:25 -04:00
foreman 61fa04cf2b P4 to Git Change 1069510 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/08/23 03:00:11
EPR #010002 - Change OpenCL version number from 1618 to 1619.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1365 edit
2014-08-23 03:10:03 -04:00
foreman 7cc2a2d6e3 P4 to Git Change 1069392 by gandryey@gera-ubuntu14 on 2014/08/22 15:58:21
EPR #404714 - [CQE OCL][2.0][DTB]Opencl1.2 WF Conf. Math test failedon Pitcairn and Oland due to CL#1065597
	- FIx for TC regression after CL#1069020. Move the lock directly to the gsl flush() calls.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#332 edit
2014-08-22 16:06:32 -04:00
foreman 85d86251c1 P4 to Git Change 1069294 by bsumner@bsumner-lin-opencl on 2014/08/22 10:56:33
ECR #304775 - fix bug 10248 where patching the local mem pointer hadn't been previously accounted for

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_kernel.h#22 edit
... //depot/stg/opencl/drivers/opencl/library/x86/common/src/misc/workitem.cl#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpucommand.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpucommand.hpp#36 edit
2014-08-22 11:05:20 -04:00
foreman 762e51bb71 P4 to Git Change 1069279 by emankov@em-hsa-amd on 2014/08/22 10:25:58
ECR #333753 - Compiler Lib: improve & refactor HSAIL text routines

	+ HSAIL text is always being inserted into BIF now in one place of Codegen phase
	+ AMDIL & HSAIL paths are unified at Codegen phase
	+ Error handling is improved

	Testing: make smoke_clang, pre check-in

	Reviewers: Brian Sumner, Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#47 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.hpp#10 edit
2014-08-22 10:39:25 -04:00
foreman 3f7a110561 P4 to Git Change 1069168 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/08/22 03:01:00
EPR #010002 - Change OpenCL version number from 1617 to 1618.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1364 edit
2014-08-22 03:11:05 -04:00