P4 to Git Change 1409664 by skudchad@skudchad_test_win_opencl2 on 2017/05/15 13:43:01
SWDEV-121337 - [Gfx10][SW Emulation] - Support for SW emulation path for Compute - Makefile changes for passing DTIF build flag - Disable SVM support when emulating. ReviewBoardURL = http://ocltc.amd.com/reviews/r/12755/diff/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile.pal#10 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#46 edit
Ta zmiana jest zawarta w:
%! (template.HTML=
foreman)złożyło 2017-05-15 13:48:39 -04:00
1 rodzic
7a2a73f05a
złożenie
1d5baa6862
Plik 1 zmieniony
+2
@@ -1019,11 +1019,13 @@ bool Device::init() {
|
||||
platformObj = new char[size];
|
||||
Pal::PlatformCreateInfo info = {};
|
||||
info.flags.disableGpuTimeout = true;
|
||||
#if !defined(PAL_BUILD_DTIF)
|
||||
#ifdef ATI_BITS_32
|
||||
info.flags.force32BitVaSpace = true;
|
||||
info.flags.enableSvmMode = false;
|
||||
#else
|
||||
info.flags.enableSvmMode = true;
|
||||
#endif
|
||||
#endif
|
||||
info.pSettingsPath = "OCL";
|
||||
info.maxSvmSize = static_cast<Pal::gpusize>(OCL_SET_SVM_SIZE * Mi);
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika