P4 to Git Change 1546804 by skudchad@skudchad_test2_win_opencl on 2018/04/26 14:28:38
SWDEV-145570 - [HIP] - Enable SVM mode if BUILD_HIP is defined. ReviewBoardURL = http://ocltc.amd.com/reviews/r/14711/diff/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#87 edit
Этот коммит содержится в:
@@ -1096,9 +1096,13 @@ bool Device::init() {
|
||||
#ifdef ATI_BITS_32
|
||||
info.flags.force32BitVaSpace = true;
|
||||
info.flags.enableSvmMode = false;
|
||||
#else
|
||||
#if defined(BUILD_HIP)
|
||||
info.flags.enableSvmMode = true;
|
||||
#else
|
||||
info.flags.enableSvmMode = !IS_LINUX;
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
info.pSettingsPath = "OCL";
|
||||
info.maxSvmSize = static_cast<Pal::gpusize>(OCL_SET_SVM_SIZE * Mi);
|
||||
|
||||
Ссылка в новой задаче
Block a user