P4 to Git Change 1605085 by skudchad@skudchad_test2_win_opencl on 2018/09/12 17:44:09
SWDEV-145570 - [HIP] - Enable largest possible allocation on HIP
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15803/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#56 edit
[ROCm/clr commit: c35c82f394]
This commit is contained in:
@@ -285,7 +285,7 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
|
||||
supportDepthsRGB_ = true;
|
||||
}
|
||||
if (use64BitPtr_) {
|
||||
if (GPU_ENABLE_LARGE_ALLOCATION && wscaps.workStationBoard) {
|
||||
if (IS_HIP || (GPU_ENABLE_LARGE_ALLOCATION && wscaps.workStationBoard)) {
|
||||
maxAllocSize_ = 64ULL * Gi;
|
||||
} else {
|
||||
maxAllocSize_ = 4048 * Mi;
|
||||
|
||||
Reference in New Issue
Block a user