SWDEV-2 - Change OpenCL version number from 2875 to 2876.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2623 edit
[ROCm/clr commit: d4a2b396ef]
Define HIP_COMPILER and HIP_RUNTIME in hip-config.cmake to
facilitate other packages identify hip-clang and HIP/VDI
runtime.
[ROCm/clr commit: a781d2e017]
SWDEV-2 - Change OpenCL version number from 2874 to 2875.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2622 edit
[ROCm/clr commit: 0fb499bb71]
SWDEV-145570 - Check host_context when matching GPU device.
- In CL#1766264, `host_context` is introduced for mGPU support. Need to
match that context specially when trying to match GPU device context.
The following tests passed:
$ python test_dataloader.py TestDictDataLoader.test_pin_memory
.
----------------------------------------------------------------------
Ran 1 test in 0.004s
OK
$ python test_dataloader.py TestDataLoader.test_sequential_pin_memory
.
----------------------------------------------------------------------
Ran 1 test in 0.063s
OK
$ python test_dataloader.py TestDataLoader.test_shuffle_pin_memory
.
----------------------------------------------------------------------
Ran 1 test in 0.174s
OK
$ python test_dataloader.py TestStringDataLoader.test_shuffle_pin_memory
.
----------------------------------------------------------------------
Ran 1 test in 0.104s
OK
$ python test_torch.py TestTorch.test_pin_memory
.
----------------------------------------------------------------------
Ran 1 test in 0.124s
OK
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#52 edit
[ROCm/clr commit: 9b36b245c9]
+ Fix the error in cmake: clang 8.0.0 supports CUDA 10.0, not 10.1; only trunk clang 9.0.0 supports CUDA 10.1.
+ Update Readme:
1. clang's bug 36384 is gone, so latest stable release for Linux is clang 8.0.0, which supports CUDA up to 10.0;
2. update dependencies, testing and building notes.
[ROCm/clr commit: 79e6bd8426]
Due to a HCC bug in rocm-head, the test fails to compile. Disabling the test until the issue is resolved.
Change-Id: Ib4e7baf0b9c2cb5f5dbe38e6dd2bab894d28886a
[ROCm/clr commit: 27013c9af6]
SWDEV-2 - Change OpenCL version number from 2873 to 2874.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2621 edit
[ROCm/clr commit: 68a962509b]
SWDEV-144570 - Fix pointer attribute query.
- For memory not registered with runtime, return
`hipErrorInvalidValue`. That's the behavior expected to check whether
a host buffer is pinned.
- Return `hipErrorInvalidDevice` in case a registered memory object
cannot find its matching device.
RB: http://ocltc.amd.com/reviews/r/17094/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#51 edit
[ROCm/clr commit: f695910290]
SWDEV-145570 - [HIP] Use a context with all devices in system for host register
hipHostRegister and hipMemcpy 0x10 and 0x20 fail in mGPU systems because
we only register the memory on the current device. But in HIP, the registering
needs to happen on all devices.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#50 edit
[ROCm/clr commit: 7a58581c81]
SWDEV-2 - Change OpenCL version number from 2872 to 2873.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2620 edit
[ROCm/clr commit: 6702260647]
SWDEV-145570 - Disable subwindow copy temporarily to see if TC random hangs go away
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#30 edit
[ROCm/clr commit: 253ae76c1a]
SWDEV-2 - Change OpenCL version number from 2871 to 2872.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2619 edit
[ROCm/clr commit: 54e8916492]
SWDEV-132899 - [OCL] set lcWavefrontSize64_ on ROCm for all ASICs except gfx10+ so that we Link wavefrontsize64 correctly
ReviewBoardURL = http://ocltc.amd.com/reviews/r/17081/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#43 edit
[ROCm/clr commit: dc0fc2d882]
SWDEV-2 - Change OpenCL version number from 2870 to 2871.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2618 edit
[ROCm/clr commit: c7f3c70d01]
SWDEV-183848 - Update OpenCL perfcounter blocks to match the block lists used by GPUPerfAPI (which is in turn used by RCP and CodeXL)
- The PAL block index for the PA_SC block was incorrect in all hw generations (in PAL, GpuBlock::SC has ordinal 4, not 3)
- In GFX9, the MC and SRBM blocks are not supported
- In GFX10, the following changes are made:
-- There are 8 CB instances per SE
-- There are 8 DB instances per SE
-- There are 2 PA_SU instances per SE
-- There are 4 PS_SC instances per SE
-- There are 4 RMI instances per SE
-- There are 2 GL1A instances per SE
-- There are 2 GL1C instances per SE
-- There are 8 GL1CG instances per SE
-- There are 4 global GL2A instances
-- There are 16 global GL2A instances
-- There are 4 global CHC instances
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#19 edit
[ROCm/clr commit: b751b6cf19]
SWDEV-2 - Change OpenCL version number from 2869 to 2870.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2617 edit
[ROCm/clr commit: 35bef95807]
SWDEV-2 - Change OpenCL version number from 2868 to 2869.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2616 edit
[ROCm/clr commit: 3a050479de]
__hipRegisterFunction is called during by .init functions during program initialization.
It calls hipModuleGetFunction to locate kernel symbol in code objects. hipModuleGetFunction
assumes current device when locating kernel symbols. This works for HCC but not for hip-clang,
since hip-clang needs to locate kernel symbols for different devices without switching
between devices.
This patch introduces a new hsa agent parameter to ihipModuleGetFunction, which allows
__hipRegisterFunction to choose the correct hsa agent when locating kernel symbols. By
default it uses this_agent(), therefore this patch has no impact on HCC.
[ROCm/clr commit: 8f5c812a68]
SWDEV-2 - Change OpenCL version number from 2867 to 2868.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2615 edit
[ROCm/clr commit: 41c4d730bf]
SWDEV-2 - Change OpenCL version number from 2866 to 2867.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2614 edit
[ROCm/clr commit: 0981972e19]
SWDEV-2 - Change OpenCL version number from 2865 to 2866.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2613 edit
[ROCm/clr commit: 4ef1c3e2df]
* Make hipModuleGetGlobal be in HIP runtime so it can be discovered at runtime
In HIP PR #929, quite a few HIP public APIs were made as inline functions with
hidden visibility. It was necessary to support applications with shared
libraries with GPU kernels launched via hipLaunchKernelGGL(), after HIP runtime
is initialized.
In empirical tests, the implementation has been proved to be a bit too
excessive, especially for hipModuleGetGlobal(). The function is used by another
type of client applications which relies on the existence of this function
within HIP runtime so global symbols from HSA code objects loaded dynamically
at runtime can be retrieved programmtically.
This commit moves hipModuleGetGlobal() back to src/hip_module.cpp, and makes it
visible and not inline, to fulfill requirements for applications
aforementioned. It does not change the behavior of applications depending on
hipLaunchKernelGGL().
* Add HIP_INIT_API into the implementation of hipModuleGetGlobal
Address review comments.
* Fix failing HIP unit tests
[ROCm/clr commit: 04915cea2f]