SWDEV-408650 - Report CL_DEVICE_HALF_FP_CONFIG query
If cl_khr_fp16 extension is enabled, then OCL runtime should report CL_DEVICE_HALF_FP_CONFIG.
Change-Id: I7c4ac48387f80bc704a475c57e5b52a462090d1b
[ROCm/clr commit: ad2c1e899a]
Este cometimento está contido em:
cometido por
German Andryeyev
ascendente
247c8ca332
cometimento
b55398774b
@@ -1430,6 +1430,10 @@ bool Device::populateOCLDeviceConstants() {
|
||||
info_.singleFPConfig_ |= CL_FP_DENORM;
|
||||
}
|
||||
|
||||
if (settings().checkExtension(ClKhrFp16)) {
|
||||
info_.halfFPConfig_ = info_.singleFPConfig_;
|
||||
}
|
||||
|
||||
info_.preferredPlatformAtomicAlignment_ = 0;
|
||||
info_.preferredGlobalAtomicAlignment_ = 0;
|
||||
info_.preferredLocalAtomicAlignment_ = 0;
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador