P4 to Git Change 1217843 by gandryey@gera-w8 on 2015/12/04 16:33:36
SWDEV-79445 - Enable CL_AMD_FP16 extension and allow to force CL_KHR_FP16
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#264 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#337 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#247 edit
[ROCm/clr commit: 05ac0307b7]
This commit is contained in:
@@ -200,6 +200,12 @@ Settings::create(
|
||||
// Keep this false even though we have support
|
||||
// singleFpDenorm_ = true;
|
||||
viPlus_ = true;
|
||||
if (GPU_FORCE_FP16) {
|
||||
enableExtension(ClKhrFp16);
|
||||
}
|
||||
else {
|
||||
enableExtension(ClAmdFp16);
|
||||
}
|
||||
// Fall through to CI ...
|
||||
case CAL_TARGET_KALINDI:
|
||||
case CAL_TARGET_SPECTRE:
|
||||
|
||||
Reference in New Issue
Block a user