Commit Graph

19 Commits

Author SHA1 Message Date
foreman 70aabc5325 P4 to Git Change 1150348 by rayxiao@alit_opencl_rayxiao on 2015/05/13 10:49:22
EPR #396242 - Solution to cpu device alignment bug.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/edg/src/amd_ocl_attribute.c#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/edg/src/cmd_line.c#86 edit
... //depot/stg/opencl/drivers/opencl/compiler/edg/src/il.c#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpucommand.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpucommand.hpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpukernel.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpumapping.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpumapping.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuprogram.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuprogram.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#231 edit
... //depot/stg/opencl/drivers/opencl/tools/runocl/options.c#11 edit
2015-05-13 12:01:50 -04:00
foreman b607f5194c P4 to Git Change 1142726 by emankov@em-hsa-amd on 2015/04/21 07:12:16
ECR #333753 - Compiler Lib/ORCA RT: JIT refactoring

	Purpose: Make JIT work with different LLVMs - LLVM 3.6 pre-merge task.

	Synopsis: After splitting of Compiler Lib, JIT appeared to be apart from Compiler Lib's infrastructure and without any wrapping, hence working only with statically linked LLVM from amdocl library (HSAIL), which is unacceptable in the light of 2 LLVMs after upcoming LLVM 3.6 merge. CPU should work on LLVM 3.2.

	Finally JIT folder is totally removed from the Compiler Lib sources and make system as unneeded laterally from the Compiler Lib’s infrastructure solution.

	Testing: pre check-in, smoke, ocl_conformance 1.2 CPU (selectively)

	Reviewers: Stanislav Mekhanoshin, Brian Sumner, Jan Sjodin, Artem Tamazov, Daniil Fukalov

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#109 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/Makefile#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/aclLoaders.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/Disassembler.cpp#1 move/add
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/Disassembler.h#1 move/add
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/build/Makefile.common#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/cpu/x86_be.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/build/Makefile.complib#80 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/acl.h#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclFunctors.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclStructs.h#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclTypes.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/jit/Makefile#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/jit/include/jit.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/jit/src/Disassembler.cpp#4 move/delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/jit/src/Disassembler.h#2 move/delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/jit/src/Makefile#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/jit/src/build/Makefile#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/jit/src/build/Makefile.src#5 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/jit/src/jit.cpp#15 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/jit/src/jit.hpp#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/linux/include/llvm/Config/config.h#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/linux/include/llvm/Config/config.h#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpubinary.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuprogram.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuprogram.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLAssumptionCheck.cpp#41 edit
2015-04-21 07:20:43 -04:00
foreman 4b1d87ea9b P4 to Git Change 1140099 by lmoriche@lmoriche_opencl_dev on 2015/04/13 11:35:36
ECR #304775 - Use Clang if CPU_OPENCL_VERSION>=200

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#272 edit
2015-04-13 11:54:22 -04:00
foreman 45fd651d2f P4 to Git Change 1138941 by emankov@em-hsa-amd on 2015/04/09 08:28:04
ECR #333753 - ORCA RT: aclCompilerInit usage fix

	Passing pointers on CRT memory management functions to dynamically loaded library is unsafe and may lead to memory corruption. But actually the pointers aren't actually passed.
	They are cut off by the struct size: sizeof(aclCompilerOptions_0_8) and hence never being called.

	P.S.
	If it was aclCompilerOptions_0_8_1 the pointers would be taken into account and a heap corruption would occur. So the change intended to liquidate possible misunderstanding of malloc & free functions usage, and doesn't change the behaviour of aclCompilerInit function at all.

	Testing: pre check-in

	Reviewers: German Andreev, Stanislav Mekhanoshin

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#271 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#507 edit
2015-04-09 08:41:37 -04:00
foreman 7248349dd5 P4 to Git Change 1128505 by smekhano@stas-solstice-HSA on 2015/03/08 14:17:51
ECR #333753 - Part of the changes to allow use of llvm 3.6
	These changes required with llvm 3.6 but do not break compilation with llvm 3.2.

	Testing: precheckin, smoke
	Reviewed by Brian Sumner

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.def.in#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.map.in#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/build/Makefile.common#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/spir.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/cpu/build/Makefile.cpu#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/MDParser/AMDILMDTypes.h#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/build/Makefile.gpu#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc/HSAIL/hsail-tools/HSAILAsm/HSAILAsm.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc/HSAIL/hsail-tools/htdefs#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/jit/src/build/Makefile.src#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/jit/src/jit.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/promotions/oclutils/top.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuprogram.cpp#63 edit
2015-03-08 14:31:29 -04:00
foreman 4a7a1e7598 P4 to Git Change 1127589 by lmoriche@lmoriche_opencl_dev on 2015/03/04 18:08:48
ECR #304775 - Split the legacy compiler library (OpenCL C/C++ 1.x->EDG->LLVM32->AMDIL/x86) and trunk compiler library (OpenCL C 2.x->CLANG->LLVM TOT->HSAIL/x86). The legacy compiler library (amdocl12cl.dll) will be dynamically loaded when building OpenCL 1.x programs, the trunk compiler library will be embedded in the OpenCL runtime.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#100 edit
... //depot/stg/opencl/drivers/opencl/compiler/Makefile#52 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/build/Makefile#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/build/Makefile.clc#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/src/build/Makefile#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/src/build/Makefile.clc#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/edg/build/Makefile#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/edg/build/Makefile.edg#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/Makefile#31 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/aclLoaders.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/build/Makefile.common#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/Makefile#45 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/build/Makefile.gpu#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/metadata.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/build/Makefile.complib#77 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/complibdefs#39 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/jit/src/Disassembler.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/jit/src/build/Makefile.src#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDIL.h#110 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDIL.td#20 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILAlgorithms.tpp#19 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILAsmBackend.cpp#31 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILAsmBackend.h#24 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILAsmPrinter.cpp#60 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILAsmPrinter.h#7 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILBarrierDetect.cpp#75 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILBase.td#69 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILCFGStructurizer.cpp#193 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILCIIOExpansion.cpp#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILCIIOExpansion.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILCIPointerManager.cpp#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILCIPointerManager.h#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILCallingConv.td#31 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILCompilerErrors.cpp#7 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILCompilerErrors.h#27 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILCompilerWarnings.cpp#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILCompilerWarnings.h#19 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILConversions.td#30 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILCreateKernelStub.cpp#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILDeviceInfo.h#10 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILEBBPass.cpp#7 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILEGIOExpansion.cpp#101 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILEnumeratedTypes.td#55 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILFixupKinds.h#11 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILFormats.td#77 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILFrameLowering.cpp#20 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILFrameLowering.h#21 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILIOExpansion.cpp#100 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILIOExpansion.h#51 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILISelDAGToDAG.cpp#96 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILISelLowering.cpp#407 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILISelLowering.h#78 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILInliner.cpp#59 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILInstPrinter.cpp#25 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILInstPrinter.h#16 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILInstrInfo.cpp#118 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILInstrInfo.h#37 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILInstrInfo.td#73 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILInstrPatterns.td#60 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILInstructions.td#190 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILIntrinsicInfo.cpp#37 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILIntrinsicInfo.h#16 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILIntrinsics.td#103 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILKernel.h#22 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILKernelManager.cpp#454 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILKernelManager.h#52 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILLLVMApple.h#14 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILLLVMPC.h#18 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILLiteralManager.cpp#34 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILMCAsmInfo.cpp#62 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILMCAsmInfo.h#20 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILMCCodeEmitter.cpp#22 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILMachineDCE.cpp#7 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILMachineDCE.h#7 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILMachineEBB.cpp#9 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILMachineEBB.h#7 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILMachineFunctionInfo.cpp#76 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILMachineFunctionInfo.h#50 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILMachinePeephole.cpp#57 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILMachineValue.cpp#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILMachineValue.h#7 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILMem32.td#32 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILMem64.td#32 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILModuleInfo.cpp#59 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILModuleInfo.h#35 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILMultiClass.td#90 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILNodes.td#47 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILOperands.td#30 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILPatterns.td#41 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILPeepholeOptimizer.cpp#166 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILPointerManager.cpp#230 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILPointerManager.h#32 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILPointerManagerImpl.h#31 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILPrintfConvert.cpp#93 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILProfiles.td#36 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILRegisterInfo.cpp#88 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILRegisterInfo.h#35 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILRegisterInfo.td#72 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILRegisterUseValidate.cpp#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILRegisterUsesINScalar.td#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILRegisterUsesINV2.td#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILRegisterUsesINV4.td#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILRegisterUsesScalar.td#13 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILRegisterUsesV2.td#13 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILRegisterUsesV4.td#13 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILRenumberRegister.cpp#8 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILSIIOExpansion.cpp#53 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILSIIOExpansion.h#19 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILSIPointerManager.cpp#37 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILSIPointerManager.h#16 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILSubtarget.cpp#208 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILSubtarget.h#39 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILSwizzleEncoder.cpp#68 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILSwizzleEncoder.h#27 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILTargetMachine.cpp#165 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILTargetMachine.h#26 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILTokenDesc.td#14 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILUtilityFunctions.cpp#128 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILUtilityFunctions.h#71 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILVersion.td#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AddrSpaces.txt#8 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/Android.mk#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/Apple/AMDIL.td#11 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/Apple/AMDILVersion.td#12 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/CMakeLists.txt#15 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/Doxyfile#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/GPUMetadataAbi.pdf#8 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/Internal/AMDILInternal.h#8 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/Internal/AMDILInternalDeviceFlags.h#13 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/Internal/AMDILKVDevice.h#7 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/Internal/AMDILVIInstrInfo.td#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/Internal/AMDILVIInstructions.td#12 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/Internal/AMDILVIIntrinsics.td#5 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/Internal/CMakeLists.txt#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/Internal/InternalProcessors.td#22 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/Internal/LLVMBuild.txt#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/LICENSE.TXT#5 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/LLVMBuild.txt#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/MCTargetDesc/AMDILELFObjectWriter.cpp#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/MCTargetDesc/AMDILELFObjectWriter.h#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/MCTargetDesc/CMakeLists.txt#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/MCTargetDesc/LLVMBuild.txt#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/Processors.td#9 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/TD-Class-Flow-new.xmi#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/TD-Class-Flow.xmi#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/TargetInfo/AMDILTargetInfo.cpp#25 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/TargetInfo/CMakeLists.txt#10 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/TargetInfo/LLVMBuild.txt#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/build/Makefile.amdil#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/generateRegisters.pl#8 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/notes#5 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/Makefile#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/llvmdefs#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/llvmlibs#36 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Analysis/AMDExportKernelNature.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Linker/AMDFixupKernelModule.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Linker/clpVectorExpansion.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/library/build/Makefile#5 edit
... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#42 edit
... //depot/stg/opencl/drivers/opencl/library/gpu/7xx/build/Makefile.7xx#15 edit
... //depot/stg/opencl/drivers/opencl/library/gpu/CI/build/Makefile.CI#4 edit
... //depot/stg/opencl/drivers/opencl/library/gpu/SI/build/Makefile.SI#8 edit
... //depot/stg/opencl/drivers/opencl/library/gpu/common/build/Makefile.common#27 edit
... //depot/stg/opencl/drivers/opencl/library/gpu/common/src/subgroup/subany.cl#3 delete
... //depot/stg/opencl/drivers/opencl/library/gpu/common/src/subgroup/subbar.cl#3 delete
... //depot/stg/opencl/drivers/opencl/library/gpu/common/src/subgroup/subbcast.cl#4 delete
... //depot/stg/opencl/drivers/opencl/library/gpu/common/src/subgroup/subget.cl#4 delete
... //depot/stg/opencl/drivers/opencl/library/gpu/common/src/subgroup/subreduce.cl#3 delete
... //depot/stg/opencl/drivers/opencl/library/gpu/common/src/subgroup/subscan.cl#3 delete
... //depot/stg/opencl/drivers/opencl/library/gpu/gen/build/Makefile.gen#8 edit
... //depot/stg/opencl/drivers/opencl/library/x86/Makefile#7 edit
... //depot/stg/opencl/drivers/opencl/library/x86/avx/build/Makefile.avx#20 edit
... //depot/stg/opencl/drivers/opencl/library/x86/common/build/Makefile.common#36 edit
... //depot/stg/opencl/drivers/opencl/library/x86/common/src/amdrt/build/Makefile.amdrt#22 edit
... //depot/stg/opencl/drivers/opencl/library/x86/fma4/build/Makefile.fma4#13 edit
... //depot/stg/opencl/drivers/opencl/library/x86/gen/build/Makefile.gen#21 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#153 edit
... //depot/stg/opencl/drivers/opencl/openclrules#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#270 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/build/Makefile.gpu#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#498 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/build/Makefile.binary#16 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/compiler/OCLStructOperations.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/build/Makefile.complib#33 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/build/Makefile.spir#8 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/testdefs#26 edit
2015-03-05 03:27:00 -05:00
foreman 024acc392e P4 to Git Change 1102693 by jsjodin@jsjodin_linux_avx_hsa on 2014/12/04 17:11:26
ECR #304775 - Change the way SIGFPE is handled.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpucommand.hpp#38 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os_posix.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/thread/thread.hpp#14 edit
2014-12-04 17:19:31 -05:00
foreman 6d464be252 P4 to Git Change 1101352 by gandryey@gera-dev-w7 on 2014/11/28 18:03:18
ECR #304775 - Make optimization for read map of USWC memory
	- If runtime detects USWC map with read operation, then it will switch to indirect map. This should improve map-read  performance on APU(s)  when USWC memory is used instead of frame buffer

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#269 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.hpp#89 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#172 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#234 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#486 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#134 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#112 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.hpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#340 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.cpp#88 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.hpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsamemory.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsamemory.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsavirtual.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.cpp#26 edit
2014-11-28 18:11:36 -05:00
foreman 57a45f9066 P4 to Git Change 1098843 by mbareghe@mbareghe_staging_win30 on 2014/11/19 18:08:14
EPR #409798 - clCompileProgram and clLinkProgram regression for SPIR - set the correct IR type while extracting from binary (aclSPIR, aclLLVMIR) for single SPIR module for CPU.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuprogram.cpp#62 edit
2014-11-19 18:38:13 -05:00
foreman efbedb25be P4 to Git Change 1095130 by xcui@merged_opencl_jxcwin on 2014/11/07 18:09:55
EPR #408459 - changed the implementation of svmAlloc, so that the first device can create amd::Memory object, and the rest of devices only added gpu memory to it. This is part of changes for mgpu support for svmalloc
	code review:
	http://ocltc.amd.com/reviews/r/6245/
	precheckin testing results:
	http://ocltc.amd.com:8111/viewModification.html?modId=43136&personal=true&buildTypeId=&tab=vcsModificationTests

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.hpp#88 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#233 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#479 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#133 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.cpp#87 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.hpp#44 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#34 edit
2014-11-07 18:20:08 -05:00
foreman b124582a38 P4 to Git Change 1094478 by xcui@merged_opencl_jxcwin on 2014/11/06 14:40:09
EPR #408459 - added an env variable OCL_FORCE_CPU_SVM in the runtime, so that the svm feature for CPU can be enabled manually even for non OpenCL 2.0 support for CPU device.
	code review:
	http://ocltc.amd.com/reviews/r/6190/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#268 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#218 edit
2014-11-06 15:51:20 -05:00
foreman 37a837dc8f P4 to Git Change 1094476 by xcui@merged_opencl_jxcwin on 2014/11/06 14:39:20
EPR #406328 - removed the customSVMallocator from runtime, and also changed the name of customSvmAllocDevice to svmAllocDevice, because we don't use custom svm allocator for devices.
	precheckin testing:
	http://ocltc.amd.com:8111/viewModification.html?modId=43040&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true
	code review:
	http://ocltc.amd.com/reviews/r/6222/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpusettings.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#171 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#232 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#293 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsasettings.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.hpp#23 edit
2014-11-06 15:47:27 -05:00
foreman 491149bcb8 P4 to Git Change 1092375 by lmoriche@lmoriche_opencl_osx on 2014/10/30 16:43:31
ECR #304775 - Remove unused ring.hpp

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpucommand.hpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/ring.hpp#2 delete
2014-10-30 16:56:36 -04:00
foreman fe61054635 P4 to Git Change 1092043 by xcui@merged_opencl_jxcwin on 2014/10/29 17:04:56
EPR #397491 - changed the CPU SVM capability availablility only for OpenCL 2.0, not for 1.2.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#267 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpusettings.cpp#28 edit
2014-10-29 17:16:07 -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 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 75e2393a8f P4 to Git Change 1066051 by gandryey@gera-dev-w7 on 2014/08/13 18:18:00
EPR #404357 - [OCL 2.0][CPU] CPU should not report OCL 2.0 version in CLINFO
	- Report OCL1.2 by default on CPU

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#266 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpusettings.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#212 edit
2014-08-13 18:23:14 -04:00
foreman b9d45ad9c5 P4 to Git Change 1062579 by jgolds@jgolds_MSDNfractal5_opencl2 on 2014/08/04 14:01:10
ECR #304775 - Allow disabling of the CPU device when CPU_MAX_COMPUTE_UNITS is 0.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#265 edit
2014-08-04 14:08:25 -04:00
foreman 3694ab2ce8 initial commit 2014-07-04 16:17:05 -04:00