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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
EPR #405357 - [CQE DTB][valgrind][OCL2.0]:MemLeaks are observed with MonteCarloAsian sample.
Need to delete amdrtFunctions when it is no longer used.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#116 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDLLVMContextHook.h#23 edit
[ROCm/clr commit: 1837e47b4a]
EPR #010002 - Change OpenCL version number from 1678 to 1679.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1425 edit
[ROCm/clr commit: fd6befba86]
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
[ROCm/clr commit: b124582a38]
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
[ROCm/clr commit: 37a837dc8f]
EPR #010002 - Change OpenCL version number from 1677 to 1678.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1424 edit
[ROCm/clr commit: b759eb2979]
EPR #408506 - Extended the reported global memory size(CL_DEVICE_GLOBAL_FREE_MEMORY_AMD) to include a portion of remote memory for APU
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#476 edit
[ROCm/clr commit: dd6074f047]
EPR #010002 - Change OpenCL version number from 1676 to 1677.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1423 edit
[ROCm/clr commit: bed7c232ad]
EPR #010002 - Change OpenCL version number from 1675 to 1676.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1422 edit
[ROCm/clr commit: 091e4f8e9a]
EPR #010002 - Change OpenCL version number from 1674 to 1675.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1421 edit
[ROCm/clr commit: be55d02ceb]
EPR #010002 - Change OpenCL version number from 1673 to 1674.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1420 edit
[ROCm/clr commit: 976611bbb6]
EPR #010002 - Change OpenCL version number from 1672 to 1673.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1419 edit
[ROCm/clr commit: 166bf3bcb4]
ECR #304775 - Add a check for NULL dev pointer.
- Subbuffer was created, but never used. Thus dev memory could be NULL and lastWriter_ was passed from the parent object on create
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#112 edit
[ROCm/clr commit: 140913a53c]
EPR #010002 - Change OpenCL version number from 1671 to 1672.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1418 edit
[ROCm/clr commit: 0e0a737cb7]
EPR #406328 - modified the opencl runtime so that SVM allocation is done for every SVM capable devices, not just one device. This is the part of changes for SVM multiple device support.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.hpp#22 edit
[ROCm/clr commit: 8cac43ef6c]
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
[ROCm/clr commit: fe61054635]
EPR #010002 - Change OpenCL version number from 1670 to 1671.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1417 edit
[ROCm/clr commit: b3a41138c9]
EPR #010002 - Change OpenCL version number from 1669 to 1670.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1416 edit
[ROCm/clr commit: eeb3b78b29]
EPR #010002 - Change OpenCL version number from 1668 to 1669.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1415 edit
[ROCm/clr commit: b5addb1038]
EPR #010002 - Change OpenCL version number from 1667 to 1668.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1414 edit
[ROCm/clr commit: df8347472e]
EPR #010002 - Change OpenCL version number from 1666 to 1667.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1413 edit
[ROCm/clr commit: 35b929b3e3]