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
이 커밋은 다음에 포함됨:
1 부모
1e33e8be4d
커밋
5f99d6ed66
4 파일이 변경됨
+6
-20
검색과 일치하는 파일 없음
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
새 이슈에서 참조
사용자 차단