2. passed initial tests on different sets of
HIP_VISIBLE_DEVICES: (0),(1),(0,1),(1,2),(2,3),(1,2,3),(2,3,4),(1,5,2,3)
and achieved expected choice of GPU devices at the runtime.
3. Passed HIP test suite.
[ROCm/clr commit: c1da0f1e12]
SWDEV-2 - Change OpenCL version number from 2036 to 2037.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1783 edit
[ROCm/clr commit: d1b2399af8]
SWDEV-2 - Change OpenCL version number from 2035 to 2036.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1782 edit
[ROCm/clr commit: a097a6e2ed]
SWDEV-2 - Change OpenCL version number from 2034 to 2035.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1781 edit
[ROCm/clr commit: 4ae7b701de]
- add API to add / remove user-pointers from the tracker.
- test for thread-safety with MultiThreadtest_2 - rapid
insertions/removal.
- add mutex to provide thread-safety.
- rename tracker interface to "memtracker_..." for consistency.
- add am_memtracker_reset, connect to hipDeviceReset.
-
[ROCm/clr commit: 7216727fba]
Tracks device where memory is allocated, pinned-host or device, and
more.
Uses memory-range-based lookups - so pointers that exist anywhere in
the range of hostPtr + size will find the associated AmPointerInfo.
The insertions and lookups use a self-balancing binary tree and
should support O(logN) lookup speed.
[ROCm/clr commit: 721508cc2f]
SWDEV-2 - Change OpenCL version number from 2033 to 2034.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1780 edit
[ROCm/clr commit: 0b9a71219a]
Device property MaxSharedMemoryPerMultiprocessor set equal to totalGlobalMem (HIP path).
Reason: MaxSharedMemoryPerMultiprocessor should be as the same as group memory size. Group memory will not be paged out, so, the physical memory size = total shared memory size = group region size. NVCC path remains untouched: CUDA's device property MaxSharedMemoryPerMultiprocessor is reported.
hipify is updated as well.
[ROCm/clr commit: 460b501cbb]
Reason: maxThreadsPerMultiProcessor should be as the same as group memory size. Group memory will not be paged out, so, the physical memory size = total shared memory size = group region size.
NVCC path remains untouched: CUDA's device property maxThreadsPerMultiProcessor is reported.
[ROCm/clr commit: 1025341300]
SWDEV-78299 - [Brahma] Setting max single allocation size by comparing cardMemAvailableBytes with cardExtMemAvailableBytes on Brahma.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#540 edit
[ROCm/clr commit: 31c030ff18]
SWDEV-2 - Change OpenCL version number from 2032 to 2033.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1779 edit
[ROCm/clr commit: 837ab19841]