P4 to Git Change 1786426 by gandryey@gera-win10 on 2019/05/22 16:54:24

SWDEV-79445 - OCL generic changes and code clean-up
	- Fix a crash when SDMA is disabled

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#137 edit
이 커밋은 다음에 포함됨:
foreman가 2019-05-22 17:36:57 -04:00를 커밋했습니다
1 부모 064f5d2c01
커밋 bee817ba6c
1 파일이 변경됨
+5
+5
파일 보기
@@ -927,6 +927,11 @@ bool Device::create(Pal::IDevice* device) {
palSettings->disableResourceProcessingManager = true;
palSettings->numScratchWavesPerCu = settings().numScratchWavesPerCu_;
if (PAL_DISABLE_SDMA) {
// Make sure CP DMA is used only, since compute path won't work in PAL with OCL
palSettings->cpDmaCmdCopyMemoryMaxBytes = 0xFFFFFFFF;
}
// Commit the new settings for the device
result = iDev()->CommitSettingsAndInit();