P4 to Git Change 1776019 by gandryey@gera-w8 on 2019/04/29 14:13:29

SWDEV-79445 - OCL generic changes and code clean-up
	- Remove GPU_DEVICE_NAME support

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#605 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#131 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#125 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#305 edit
Bu işleme şunda yer alıyor:
foreman committed 2019-04-29 14:30:36 -04:00
1 ebeveyn 1e33e8be4d
işleme 5f99d6ed66
4 files changed
+6 -20

No files matched your search

+2 -5
Dosyayı Görüntüle
@@ -560,11 +560,8 @@ bool Device::init() {
}
}
if (!useDeviceList && (flagIsDefault(GPU_DEVICE_NAME) || GPU_DEVICE_NAME == 0
|| GPU_DEVICE_NAME[0] == '\0' || !strcmp(GPU_DEVICE_NAME, roc_device->info_.name_))) {
roc_device.release()->registerDevice();
} else if (useDeviceList && selectedDevices[ordinal++]) {
roc_device.release()->registerDevice();
if (!useDeviceList || selectedDevices[ordinal++]) {
roc_device.release()->registerDevice();
}
}