Grafik Komit

64512 Melakukan

Penulis SHA1 Pesan Tanggal
foreman 8d023afdf3 P4 to Git Change 1098949 by emankov@em-hsa-amd on 2014/11/20 02:16:39
ECR #333753 - Compiler Lib/aoc2/devloader: move devloader functionality into aoc2

	[Purpose] To get rid of obsolete runtimenew dependency in compiler

	1.      Devloader functionality moved into aoc2;
	2.      Devloader is removed from the tree & make system;
	3.      Related changes in test_driver.pl;
	4.      Functions alignedMalloc & alignedFree are moved to libUtils.h;
	5.      Function aclHsaLoader is renamed to _aclHsaLoader to indicate that it is not a Compiler Lib API's function.

	[Testing] make smoke, pre check-in

	[Reviewers] Nikolay Haustov, Brian Sumner

Affected files ...

... //depot/stg/opencl/drivers/opencl/Makefile#48 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.def.in#10 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map.in#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.def.in#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.map.in#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/brig_loader.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/scClientAPI.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/loader/devloader/Makefile#8 delete
... //depot/stg/opencl/drivers/opencl/compiler/loader/devloader/build/Makefile#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/loader/devloader/build/Makefile.devloader#11 delete
... //depot/stg/opencl/drivers/opencl/compiler/loader/devloader/devloader.cpp#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/build/Makefile.aoc2#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#185 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#5 edit


[ROCm/clr commit: 6244599f99]
2014-11-20 02:27:54 -05:00
foreman 6244599f99 P4 to Git Change 1098949 by emankov@em-hsa-amd on 2014/11/20 02:16:39
ECR #333753 - Compiler Lib/aoc2/devloader: move devloader functionality into aoc2

	[Purpose] To get rid of obsolete runtimenew dependency in compiler

	1.      Devloader functionality moved into aoc2;
	2.      Devloader is removed from the tree & make system;
	3.      Related changes in test_driver.pl;
	4.      Functions alignedMalloc & alignedFree are moved to libUtils.h;
	5.      Function aclHsaLoader is renamed to _aclHsaLoader to indicate that it is not a Compiler Lib API's function.

	[Testing] make smoke, pre check-in

	[Reviewers] Nikolay Haustov, Brian Sumner

Affected files ...

... //depot/stg/opencl/drivers/opencl/Makefile#48 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.def.in#10 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map.in#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.def.in#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.map.in#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/brig_loader.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/scClientAPI.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/loader/devloader/Makefile#8 delete
... //depot/stg/opencl/drivers/opencl/compiler/loader/devloader/build/Makefile#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/loader/devloader/build/Makefile.devloader#11 delete
... //depot/stg/opencl/drivers/opencl/compiler/loader/devloader/devloader.cpp#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/build/Makefile.aoc2#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#185 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#5 edit
2014-11-20 02:27:54 -05:00
foreman 7e8ccfc3c5 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


[ROCm/clr commit: 57a45f9066]
2014-11-19 18:38:13 -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 d75064b500 P4 to Git Change 1098569 by mbareghe@mbareghe_staging_win30 on 2014/11/19 10:23:56
EPR #409840 - [CQE OCL][LNX][QR] OpenCL SPIR Conf test "Compile_and_link" failed in all Asics due to CL#1098110 - Set the IR type to SPIR only for single SPIR modules.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#184 edit


[ROCm/clr commit: f324bf5f80]
2014-11-19 10:38:39 -05:00
foreman f324bf5f80 P4 to Git Change 1098569 by mbareghe@mbareghe_staging_win30 on 2014/11/19 10:23:56
EPR #409840 - [CQE OCL][LNX][QR] OpenCL SPIR Conf test "Compile_and_link" failed in all Asics due to CL#1098110 - Set the IR type to SPIR only for single SPIR modules.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#184 edit
2014-11-19 10:38:39 -05:00
foreman d599b91524 P4 to Git Change 1098567 by rili@rili_opencl_stg on 2014/11/19 10:20:42
EPR #407215 - re-submit CL#1098846
	                         Added checking for VM

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#483 edit


[ROCm/clr commit: 42627826ff]
2014-11-19 10:30:26 -05:00
foreman 42627826ff P4 to Git Change 1098567 by rili@rili_opencl_stg on 2014/11/19 10:20:42
EPR #407215 - re-submit CL#1098846
	                         Added checking for VM

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#483 edit
2014-11-19 10:30:26 -05:00
foreman 5db3dece74 P4 to Git Change 1098439 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/19 03:00:12
EPR #010002 - Change OpenCL version number from 1686 to 1687.

Affected files ...

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


[ROCm/clr commit: 5573f4f56b]
2014-11-19 03:34:04 -05:00
foreman 5573f4f56b P4 to Git Change 1098439 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/19 03:00:12
EPR #010002 - Change OpenCL version number from 1686 to 1687.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1433 edit
2014-11-19 03:34:04 -05:00
foreman a786643b56 P4 to Git Change 1098110 by mbareghe@mbareghe_staging_win30 on 2014/11/18 13:21:17
EPR #409798 - clCompileProgram and clLinkProgram regression for SPIR - set the correct IR type while extracting from binary (aclSPIR, aclLLVMIR)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#183 edit


[ROCm/clr commit: d604c03916]
2014-11-18 13:28:05 -05:00
foreman d604c03916 P4 to Git Change 1098110 by mbareghe@mbareghe_staging_win30 on 2014/11/18 13:21:17
EPR #409798 - clCompileProgram and clLinkProgram regression for SPIR - set the correct IR type while extracting from binary (aclSPIR, aclLLVMIR)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#183 edit
2014-11-18 13:28:05 -05:00
foreman a412e8e9ac P4 to Git Change 1097951 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/18 03:00:12
EPR #010002 - Change OpenCL version number from 1685 to 1686.

Affected files ...

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


[ROCm/clr commit: 1b0c2439f2]
2014-11-18 03:15:14 -05:00
foreman 1b0c2439f2 P4 to Git Change 1097951 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/18 03:00:12
EPR #010002 - Change OpenCL version number from 1685 to 1686.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1432 edit
2014-11-18 03:15:14 -05:00
foreman f1b2db9a85 P4 to Git Change 1097741 by efinger@efinger_BDCW7-EFINGER on 2014/11/17 15:47:10
EPR #092474 - Fix OpenCL build

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuscsi.cpp#26 edit


[ROCm/clr commit: b12970cbe2]
2014-11-17 15:56:59 -05:00
foreman b12970cbe2 P4 to Git Change 1097741 by efinger@efinger_BDCW7-EFINGER on 2014/11/17 15:47:10
EPR #092474 - Fix OpenCL build

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuscsi.cpp#26 edit
2014-11-17 15:56:59 -05:00
foreman 51722b42f7 P4 to Git Change 1097349 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/15 03:00:12
EPR #010002 - Change OpenCL version number from 1684 to 1685.

Affected files ...

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


[ROCm/clr commit: fca0dee30a]
2014-11-16 15:54:39 -05:00
foreman fca0dee30a P4 to Git Change 1097349 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/15 03:00:12
EPR #010002 - Change OpenCL version number from 1684 to 1685.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1431 edit
2014-11-16 15:54:39 -05:00
foreman 172c34d207 P4 to Git Change 1097207 by mbareghe@mbareghe_staging_win30 on 2014/11/14 14:11:59
ECR #304775 - Replace Trivial Relational Functions

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#117 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/SPIR/AMDSPIRLoader.cpp#88 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/llvm-link/llvm-link.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/library/common/src/commonRelationals.cl#13 edit
... //depot/stg/opencl/drivers/opencl/library/gpu/gen/build/Makefile.gen#7 edit


[ROCm/clr commit: 60e766397d]
2014-11-14 14:22:12 -05:00
foreman 60e766397d P4 to Git Change 1097207 by mbareghe@mbareghe_staging_win30 on 2014/11/14 14:11:59
ECR #304775 - Replace Trivial Relational Functions

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#117 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/SPIR/AMDSPIRLoader.cpp#88 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/llvm-link/llvm-link.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/library/common/src/commonRelationals.cl#13 edit
... //depot/stg/opencl/drivers/opencl/library/gpu/gen/build/Makefile.gen#7 edit
2014-11-14 14:22:12 -05:00
foreman f7d489a445 P4 to Git Change 1097200 by gandryey@gera-dev-w7 on 2014/11/14 13:59:46
ECR #304775 - Optimize oclBandwidthTest from nVidia SDK
	- Cache pinned memory, since the benchmark sends the same transfer in a single batch. Thus we could avoid pin/unpin
	- Swap SDMA engine allocation order. Blit manager allocates a queue on device, thus the first app queue was getting the paging second SDMA.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#112 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.hpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#339 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#121 edit


[ROCm/clr commit: dc8a3205ce]
2014-11-14 14:07:55 -05:00
foreman dc8a3205ce P4 to Git Change 1097200 by gandryey@gera-dev-w7 on 2014/11/14 13:59:46
ECR #304775 - Optimize oclBandwidthTest from nVidia SDK
	- Cache pinned memory, since the benchmark sends the same transfer in a single batch. Thus we could avoid pin/unpin
	- Swap SDMA engine allocation order. Blit manager allocates a queue on device, thus the first app queue was getting the paging second SDMA.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#112 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.hpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#339 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#121 edit
2014-11-14 14:07:55 -05:00
foreman f80e78e32a P4 to Git Change 1097122 by gandryey@gera-dev-w7 on 2014/11/14 11:06:31
ECR #304775 - Rename GPU_MAX_ALLOC_PERCENT to GPU_SINGLE_ALLOC_PERCENT

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#482 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#219 edit


[ROCm/clr commit: 0fc8ceaa73]
2014-11-14 11:30:20 -05:00
foreman 0fc8ceaa73 P4 to Git Change 1097122 by gandryey@gera-dev-w7 on 2014/11/14 11:06:31
ECR #304775 - Rename GPU_MAX_ALLOC_PERCENT to GPU_SINGLE_ALLOC_PERCENT

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#482 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#219 edit
2014-11-14 11:30:20 -05:00
foreman d7995f9960 P4 to Git Change 1097001 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/14 03:00:12
EPR #010002 - Change OpenCL version number from 1683 to 1684.

Affected files ...

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


[ROCm/clr commit: ab2a9ee5fc]
2014-11-14 03:15:51 -05:00
foreman ab2a9ee5fc P4 to Git Change 1097001 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/14 03:00:12
EPR #010002 - Change OpenCL version number from 1683 to 1684.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1430 edit
2014-11-14 03:15:51 -05:00
foreman 0826cf70be P4 to Git Change 1096863 by rili@rili_opencl_stg on 2014/11/13 16:43:47
EPR #407215 - Revert CL#1096846

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#481 edit


[ROCm/clr commit: 83a6efb085]
2014-11-13 17:23:29 -05:00
foreman 83a6efb085 P4 to Git Change 1096863 by rili@rili_opencl_stg on 2014/11/13 16:43:47
EPR #407215 - Revert CL#1096846

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#481 edit
2014-11-13 17:23:29 -05:00
foreman e73ae9c166 P4 to Git Change 1096846 by rili@rili_opencl_stg on 2014/11/13 16:23:44
EPR #407215 - reset host memory pointer of a image view based on original image
	                         ReviewBoard #6301

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#480 edit


[ROCm/clr commit: b3f320ce7d]
2014-11-13 16:56:11 -05:00
foreman b3f320ce7d P4 to Git Change 1096846 by rili@rili_opencl_stg on 2014/11/13 16:23:44
EPR #407215 - reset host memory pointer of a image view based on original image
	                         ReviewBoard #6301

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#480 edit
2014-11-13 16:56:11 -05:00
foreman 3bd8a66fad P4 to Git Change 1096552 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/13 03:00:12
EPR #010002 - Change OpenCL version number from 1682 to 1683.

Affected files ...

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


[ROCm/clr commit: 3f1af9d6c4]
2014-11-13 03:12:25 -05:00
foreman 3f1af9d6c4 P4 to Git Change 1096552 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/13 03:00:12
EPR #010002 - Change OpenCL version number from 1682 to 1683.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1429 edit
2014-11-13 03:12:25 -05:00
foreman 4074d9668f P4 to Git Change 1096144 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/12 03:00:11
EPR #010002 - Change OpenCL version number from 1681 to 1682.

Affected files ...

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


[ROCm/clr commit: 5658b6a1b4]
2014-11-12 03:12:31 -05:00
foreman 5658b6a1b4 P4 to Git Change 1096144 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/12 03:00:11
EPR #010002 - Change OpenCL version number from 1681 to 1682.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1428 edit
2014-11-12 03:12:31 -05:00
foreman 91b247014f P4 to Git Change 1095935 by bwicakso@opencl-hsa-stg-bwicakso on 2014/11/11 16:00:10
ECR #333755 - Part 2- Update to foundation spec 1.0 20141019:
	- hsa_dispatch_packet_t now becomes hsa_kernel_dispatch_packet_t
	- all bit mask in a struct are removed and replaced by enums that indicates the bit position and width.

	Test: TC precheckin

	Review: Hari, Fan, Shucai, German, Yunjun.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#268 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#103 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusched.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#338 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.hpp#12 edit


[ROCm/clr commit: c7988f7209]
2014-11-11 16:27:13 -05:00
foreman c7988f7209 P4 to Git Change 1095935 by bwicakso@opencl-hsa-stg-bwicakso on 2014/11/11 16:00:10
ECR #333755 - Part 2- Update to foundation spec 1.0 20141019:
	- hsa_dispatch_packet_t now becomes hsa_kernel_dispatch_packet_t
	- all bit mask in a struct are removed and replaced by enums that indicates the bit position and width.

	Test: TC precheckin

	Review: Hari, Fan, Shucai, German, Yunjun.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#268 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#103 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusched.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#338 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.hpp#12 edit
2014-11-11 16:27:13 -05:00
foreman a3cd8fcbb3 P4 to Git Change 1095644 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/11 03:00:13
EPR #010002 - Change OpenCL version number from 1680 to 1681.

Affected files ...

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


[ROCm/clr commit: 381e955dbf]
2014-11-11 03:11:00 -05:00
foreman 381e955dbf P4 to Git Change 1095644 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/11 03:00:13
EPR #010002 - Change OpenCL version number from 1680 to 1681.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1427 edit
2014-11-11 03:11:00 -05:00
foreman 3d866ee5df P4 to Git Change 1095445 by emankov@em-hsa-amd on 2014/11/10 13:48:06
ECR #333753 - hsa_foundation RT/Compiler Lib: recompilation algorithm rework

	1. Recompilation algorithm rework in order to avoid superfluous recompilations.
	2. 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 existence 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.

	3. Fix in Compiler Lib for correct ACL_INVALID_ARG detection (for wrong/unsupported compilations).

	[Side Effects] performance improvement, memory consumption reduction

	[ToDo] Do not finalize program if ISA is already provided in BIF and options are unchanged.

	[Testing] pre check-in, ocltst complib, ocl conformance 2.0 compiler & api

	[Reviewers] German Andryeyev, Brian Sumner

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsaprogram.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsaprogram.hpp#3 edit


[ROCm/clr commit: 9c4a22118e]
2014-11-10 13:55:17 -05:00
foreman 9c4a22118e P4 to Git Change 1095445 by emankov@em-hsa-amd on 2014/11/10 13:48:06
ECR #333753 - hsa_foundation RT/Compiler Lib: recompilation algorithm rework

	1. Recompilation algorithm rework in order to avoid superfluous recompilations.
	2. 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 existence 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.

	3. Fix in Compiler Lib for correct ACL_INVALID_ARG detection (for wrong/unsupported compilations).

	[Side Effects] performance improvement, memory consumption reduction

	[ToDo] Do not finalize program if ISA is already provided in BIF and options are unchanged.

	[Testing] pre check-in, ocltst complib, ocl conformance 2.0 compiler & api

	[Reviewers] German Andryeyev, Brian Sumner

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsaprogram.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsaprogram.hpp#3 edit
2014-11-10 13:55:17 -05:00
foreman b678aa1eb3 P4 to Git Change 1095169 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/08 03:00:12
EPR #010002 - Change OpenCL version number from 1679 to 1680.

Affected files ...

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


[ROCm/clr commit: f858ed6336]
2014-11-08 03:08:12 -05:00
foreman f858ed6336 P4 to Git Change 1095169 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/08 03:00:12
EPR #010002 - Change OpenCL version number from 1679 to 1680.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1426 edit
2014-11-08 03:08:12 -05:00
foreman c04dd4d6dc 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


[ROCm/clr commit: efbedb25be]
2014-11-07 18:20:08 -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 f02e1e3ed8 P4 to Git Change 1095076 by rili@rili_opencl_stg on 2014/11/07 16:25:17
EPR #408185 - Use pinned memory if directaccess is true and remoteAlloc is used.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#478 edit


[ROCm/clr commit: c24b46e708]
2014-11-07 16:37:32 -05:00
foreman c24b46e708 P4 to Git Change 1095076 by rili@rili_opencl_stg on 2014/11/07 16:25:17
EPR #408185 - Use pinned memory if directaccess is true and remoteAlloc is used.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#478 edit
2014-11-07 16:37:32 -05:00
foreman 9c323d76cc P4 to Git Change 1095034 by yaxunl@yaxunl_stg_win50 on 2014/11/07 15:15:14
EPR #405372 - [CQE DTB][valgrind][OCL2.0]: MemLeaks are observed with OCLDynamic in oclruntime module of ocltst.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#182 edit


[ROCm/clr commit: 5fd5a428bb]
2014-11-07 15:55:16 -05:00
foreman 5fd5a428bb P4 to Git Change 1095034 by yaxunl@yaxunl_stg_win50 on 2014/11/07 15:15:14
EPR #405372 - [CQE DTB][valgrind][OCL2.0]: MemLeaks are observed with OCLDynamic in oclruntime module of ocltst.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#182 edit
2014-11-07 15:55:16 -05:00
foreman b7684a12ce P4 to Git Change 1095018 by bdhanase@bala_workpc_ocl on 2014/11/07 14:55:31
EPR #407875 - Fix remote memory size in runtime
	Reviewed by: German

	http://ocltc.amd.com/reviews/r/6248/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#477 edit


[ROCm/clr commit: 668af431f6]
2014-11-07 15:51:14 -05:00
foreman 668af431f6 P4 to Git Change 1095018 by bdhanase@bala_workpc_ocl on 2014/11/07 14:55:31
EPR #407875 - Fix remote memory size in runtime
	Reviewed by: German

	http://ocltc.amd.com/reviews/r/6248/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#477 edit
2014-11-07 15:51:14 -05:00