Commit Graph

68445 Commits

Author SHA1 Message Date
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 00c0c277f5 P4 to Git Change 1142644 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/21 03:00:12
EPR #010002 - Change OpenCL version number from 1782 to 1783.

Affected files ...

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


[ROCm/clr commit: a69c6e8be5]
2015-04-21 03:21:58 -04:00
foreman a69c6e8be5 P4 to Git Change 1142644 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/21 03:00:12
EPR #010002 - Change OpenCL version number from 1782 to 1783.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1529 edit
2015-04-21 03:21:58 -04:00
Ding, Wei (xN/A) TX 0f6deb9cf9 ECR #333755 - Restructure code to make timing function as close as possible to the one of OpenCL SDK samples.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1142515]
2015-04-20 16:58:41 -05:00
Ding, Wei (xN/A) TX f92fcaccf4 ECR #333755 - Restructure code to make timing function as close as possible to the one of OpenCL SDK samples.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1142515]


[ROCm/ROCR-Runtime commit: 0f6deb9cf9]
2015-04-20 16:58:41 -05:00
foreman 63e133ae68 P4 to Git Change 1142114 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/18 03:00:11
EPR #010002 - Change OpenCL version number from 1781 to 1782.

Affected files ...

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


[ROCm/clr commit: 74ec967de2]
2015-04-18 03:12:40 -04:00
foreman 74ec967de2 P4 to Git Change 1142114 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/18 03:00:11
EPR #010002 - Change OpenCL version number from 1781 to 1782.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1528 edit
2015-04-18 03:12:40 -04:00
Ding, Wei (xN/A) TX 13fbcac8d0 ECR #333755 - Add code for timing setup, kernel execution, and total time.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1141931]
2015-04-17 12:12:16 -05:00
Ding, Wei (xN/A) TX 8dbb07b858 ECR #333755 - Add code for timing setup, kernel execution, and total time.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1141931]


[ROCm/ROCR-Runtime commit: 13fbcac8d0]
2015-04-17 12:12:16 -05:00
foreman ef1de9294a P4 to Git Change 1141872 by yaxunl@yaxunl_stg_win50 on 2015/04/17 10:17:05
ECR #354633 - SPIR: Making SPIR loading work for HSAIL path.
	Fixed arch type when creating elf for SPIR.
	Fixed query of elf for contained IR.
	Fixed copying elf binary containing SPIR for HSAIL path.
	Added translation of kernel name in SPIR loader for HSAIL path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclEnums.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Linker/AMDFixupKernelModule.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/SPIR/AMDSPIRLoader.cpp#91 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/SPIR/AMDSPIRLoader.h#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#177 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#192 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#42 edit


[ROCm/clr commit: d39ccbbfec]
2015-04-17 10:24:36 -04:00
foreman d39ccbbfec P4 to Git Change 1141872 by yaxunl@yaxunl_stg_win50 on 2015/04/17 10:17:05
ECR #354633 - SPIR: Making SPIR loading work for HSAIL path.
	Fixed arch type when creating elf for SPIR.
	Fixed query of elf for contained IR.
	Fixed copying elf binary containing SPIR for HSAIL path.
	Added translation of kernel name in SPIR loader for HSAIL path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclEnums.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Linker/AMDFixupKernelModule.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/SPIR/AMDSPIRLoader.cpp#91 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/SPIR/AMDSPIRLoader.h#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#177 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#192 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#42 edit
2015-04-17 10:24:36 -04:00
foreman 0fde73d8d4 P4 to Git Change 1141751 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/17 03:00:12
EPR #010002 - Change OpenCL version number from 1780 to 1781.

Affected files ...

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


[ROCm/clr commit: 71a3d49e32]
2015-04-17 03:12:20 -04:00
foreman 71a3d49e32 P4 to Git Change 1141751 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/17 03:00:12
EPR #010002 - Change OpenCL version number from 1780 to 1781.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1527 edit
2015-04-17 03:12:20 -04:00
foreman 924b113ef2 P4 to Git Change 1141523 by lmoriche@lmoriche_opencl_dev on 2015/04/16 13:38:20
EPR #010005 - SVN update 2015-04-16 (r30764)

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/OpenCL.rc#16 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.c#7 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.c#26 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.h#21 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_linux.c#8 integrate


[ROCm/clr commit: c090e91b9f]
2015-04-16 14:14:18 -04:00
foreman c090e91b9f P4 to Git Change 1141523 by lmoriche@lmoriche_opencl_dev on 2015/04/16 13:38:20
EPR #010005 - SVN update 2015-04-16 (r30764)

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/OpenCL.rc#16 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.c#7 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.c#26 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.h#21 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_linux.c#8 integrate
2015-04-16 14:14:18 -04:00
foreman 55e2469af8 P4 to Git Change 1141321 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/16 03:00:14
EPR #010002 - Change OpenCL version number from 1779 to 1780.

Affected files ...

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


[ROCm/clr commit: e523b4cc1a]
2015-04-16 03:30:01 -04:00
foreman e523b4cc1a P4 to Git Change 1141321 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/16 03:00:14
EPR #010002 - Change OpenCL version number from 1779 to 1780.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1526 edit
2015-04-16 03:30:01 -04:00
foreman b819733861 P4 to Git Change 1140936 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/15 03:00:13
EPR #010002 - Change OpenCL version number from 1778 to 1779.

Affected files ...

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


[ROCm/clr commit: 964c612626]
2015-04-15 03:11:25 -04:00
foreman 964c612626 P4 to Git Change 1140936 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/15 03:00:13
EPR #010002 - Change OpenCL version number from 1778 to 1779.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1525 edit
2015-04-15 03:11:25 -04:00
foreman bbecc73ab7 P4 to Git Change 1140692 by gandryey@gera-w8 on 2015/04/14 15:32:03
ECR #304775 - Remove OCL_STRESS_BINARY_IMAGE

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#229 edit


[ROCm/clr commit: d7506a33d2]
2015-04-14 15:46:47 -04:00
foreman d7506a33d2 P4 to Git Change 1140692 by gandryey@gera-w8 on 2015/04/14 15:32:03
ECR #304775 - Remove OCL_STRESS_BINARY_IMAGE

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#229 edit
2015-04-14 15:46:47 -04:00
foreman 6ad95ed51d P4 to Git Change 1140692 by gandryey@gera-w8 on 2015/04/14 15:32:03
ECR #304775 - Remove OCL_STRESS_BINARY_IMAGE

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#229 edit


[ROCm/clr commit: b9f5823be0]
2015-04-14 15:46:47 -04:00
foreman b9f5823be0 P4 to Git Change 1140692 by gandryey@gera-w8 on 2015/04/14 15:32:03
ECR #304775 - Remove OCL_STRESS_BINARY_IMAGE

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#229 edit
2015-04-14 15:46:47 -04:00
foreman 7b48252995 P4 to Git Change 1140647 by yaxunl@yaxunl_stg_win50 on 2015/04/14 14:38:32
ECR #304775 - Add option to turn on/off SCOption_LIVENESS_BASED_INSTRUCTION_SCHEDULING.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/scState.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#123 edit


[ROCm/clr commit: e81739b759]
2015-04-14 14:53:58 -04:00
foreman e81739b759 P4 to Git Change 1140647 by yaxunl@yaxunl_stg_win50 on 2015/04/14 14:38:32
ECR #304775 - Add option to turn on/off SCOption_LIVENESS_BASED_INSTRUCTION_SCHEDULING.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/scState.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#123 edit
2015-04-14 14:53:58 -04:00
foreman ac456538be P4 to Git Change 1140418 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/14 03:00:28
EPR #010002 - Change OpenCL version number from 1777 to 1778.

Affected files ...

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


[ROCm/clr commit: 31bc55d7e7]
2015-04-14 03:14:19 -04:00
foreman 31bc55d7e7 P4 to Git Change 1140418 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/14 03:00:28
EPR #010002 - Change OpenCL version number from 1777 to 1778.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1524 edit
2015-04-14 03:14:19 -04:00
foreman a96fdd7c1f P4 to Git Change 1140158 by gandryey@gera-w8 on 2015/04/13 14:47:04
ECR #304775 - Add capability to provide just free memory for CL_DEVICE_GLOBAL_FREE_MEMORY_AMD
	- if the app provided space just for one value, then return total free memory only

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#57 edit


[ROCm/clr commit: 8fabccae76]
2015-04-13 14:57:09 -04:00
foreman 8fabccae76 P4 to Git Change 1140158 by gandryey@gera-w8 on 2015/04/13 14:47:04
ECR #304775 - Add capability to provide just free memory for CL_DEVICE_GLOBAL_FREE_MEMORY_AMD
	- if the app provided space just for one value, then return total free memory only

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#57 edit
2015-04-13 14:57:09 -04:00
foreman 735a44ca4a 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


[ROCm/clr commit: 4b1d87ea9b]
2015-04-13 11:54:22 -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 a9a6839c4e P4 to Git Change 1139868 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/11 03:00:14
EPR #010002 - Change OpenCL version number from 1776 to 1777.

Affected files ...

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


[ROCm/clr commit: efe6af9915]
2015-04-11 08:29:18 -04:00
foreman efe6af9915 P4 to Git Change 1139868 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/11 03:00:14
EPR #010002 - Change OpenCL version number from 1776 to 1777.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1523 edit
2015-04-11 08:29:18 -04:00
foreman 993206277c P4 to Git Change 1139843 by yaxunl@yaxunl_stg_win50 on 2015/04/10 21:13:05
ECR #304775 - Fix bug for loading SPIR 2.0 binary.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#176 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#191 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#58 edit


[ROCm/clr commit: 098284de7e]
2015-04-11 08:10:38 -04:00
foreman 098284de7e P4 to Git Change 1139843 by yaxunl@yaxunl_stg_win50 on 2015/04/10 21:13:05
ECR #304775 - Fix bug for loading SPIR 2.0 binary.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#176 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#191 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#58 edit
2015-04-11 08:10:38 -04:00
foreman 649351f1b9 P4 to Git Change 1139572 by rayxiao@alit_opencl_rayxiao on 2015/04/10 10:49:41
EPR #399415 - Update: expose aclInsertKernelStatistics as API entry

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/acl.h#8 edit


[ROCm/clr commit: 3a57f4fa7f]
2015-04-10 11:05:32 -04:00
foreman 3a57f4fa7f P4 to Git Change 1139572 by rayxiao@alit_opencl_rayxiao on 2015/04/10 10:49:41
EPR #399415 - Update: expose aclInsertKernelStatistics as API entry

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/acl.h#8 edit
2015-04-10 11:05:32 -04:00
Xihan Zhang 5ed05c99b3 Add execution property in register memory for gfx801.
Signed-off-by: Xihan Zhang <xihan.zhang@amd.com>
2015-04-10 22:26:44 +08:00
Xihan Zhang abf7770d46 Add execution property in register memory for gfx801.
Signed-off-by: Xihan Zhang <xihan.zhang@amd.com>


[ROCm/ROCR-Runtime commit: 5ed05c99b3]
2015-04-10 22:26:44 +08:00
foreman 0cb96091c2 P4 to Git Change 1139417 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/10 03:00:12
EPR #010002 - Change OpenCL version number from 1775 to 1776.

Affected files ...

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


[ROCm/clr commit: 96dbe1df79]
2015-04-10 03:27:59 -04:00
foreman 96dbe1df79 P4 to Git Change 1139417 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/10 03:00:12
EPR #010002 - Change OpenCL version number from 1775 to 1776.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1522 edit
2015-04-10 03:27:59 -04:00
foreman 5b3823d47b P4 to Git Change 1139180 by wchau@wchau_WINDOWS7_OCL on 2015/04/09 15:42:22
ECR #399840 - OpenCL Runtime HW Debug support development - resolve the TDR issues on Kaveri.

	1. update the resource descriptors in the runtime trap handler to match those in the HSA HW debug implementation
	2. force to use SDMA for device memory map function, which is called when using clHwDbgSetGlobalMemoryAMD() and clEnqueueMapImage() functions, for HW debug

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#214 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gputrap.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#358 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#115 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#47 edit


[ROCm/clr commit: 28a35ae54d]
2015-04-09 17:45:47 -04:00
foreman 28a35ae54d P4 to Git Change 1139180 by wchau@wchau_WINDOWS7_OCL on 2015/04/09 15:42:22
ECR #399840 - OpenCL Runtime HW Debug support development - resolve the TDR issues on Kaveri.

	1. update the resource descriptors in the runtime trap handler to match those in the HSA HW debug implementation
	2. force to use SDMA for device memory map function, which is called when using clHwDbgSetGlobalMemoryAMD() and clEnqueueMapImage() functions, for HW debug

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#214 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gputrap.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#358 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#115 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#47 edit
2015-04-09 17:45:47 -04:00
foreman b2edec127e P4 to Git Change 1139001 by jatang@jatang-ocl-lnx3 on 2015/04/09 11:50:11
EPR #412821 - Disable ThreadTrace for SI for now.

	There's hang on some SI (Verde). So only enable ThreadTrace for CI+ for now.

Affected files ...

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


[ROCm/clr commit: 91849cb26d]
2015-04-09 12:00:40 -04:00
foreman 91849cb26d P4 to Git Change 1139001 by jatang@jatang-ocl-lnx3 on 2015/04/09 11:50:11
EPR #412821 - Disable ThreadTrace for SI for now.

	There's hang on some SI (Verde). So only enable ThreadTrace for CI+ for now.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#308 edit
2015-04-09 12:00:40 -04:00
foreman e52ffcf972 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


[ROCm/clr commit: 45fd651d2f]
2015-04-09 08:41:37 -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 5175ee6b31 P4 to Git Change 1138870 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/09 03:00:25
EPR #010002 - Change OpenCL version number from 1774 to 1775.

Affected files ...

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


[ROCm/clr commit: fbfb129ae9]
2015-04-09 03:22:27 -04:00
foreman fbfb129ae9 P4 to Git Change 1138870 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/04/09 03:00:25
EPR #010002 - Change OpenCL version number from 1774 to 1775.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1521 edit
2015-04-09 03:22:27 -04:00
Ding, Wei (xN/A) TX 73a921b926 ECR #333755 - Merging HSA samples from prm to stg to conform the 1.0F
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1138673]
2015-04-08 14:46:33 -05:00