diff --git a/projects/clr/rocclr/runtime/device/device.hpp b/projects/clr/rocclr/runtime/device/device.hpp index 7c7edecd0d..5f58f27d02 100644 --- a/projects/clr/rocclr/runtime/device/device.hpp +++ b/projects/clr/rocclr/runtime/device/device.hpp @@ -112,7 +112,6 @@ enum OclExtensions { ClKhrMipMapImageWrites, ClKhrIlProgram, ClAMDLiquidFlash, - ClAmdFp16, ClExtTotal }; @@ -155,7 +154,6 @@ OclExtensionsString[] = { "cl_khr_mipmap_image_writes ", "", (IS_MAINLINE || IS_LINUX) ? "" : "cl_amd_liquid_flash ", - "cl_amd_fp16 ", NULL }; diff --git a/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp b/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp index a3e362dcf6..0fe447530f 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp @@ -200,12 +200,7 @@ Settings::create( // Keep this false even though we have support // singleFpDenorm_ = true; viPlus_ = true; - if (GPU_FORCE_FP16) { - enableExtension(ClKhrFp16); - } - else { - enableExtension(ClAmdFp16); - } + enableExtension(ClKhrFp16); // Fall through to CI ... case CAL_TARGET_KALINDI: case CAL_TARGET_SPECTRE: diff --git a/projects/clr/rocclr/runtime/utils/flags.hpp b/projects/clr/rocclr/runtime/utils/flags.hpp index e183f1775a..674a11ac3f 100644 --- a/projects/clr/rocclr/runtime/utils/flags.hpp +++ b/projects/clr/rocclr/runtime/utils/flags.hpp @@ -169,8 +169,6 @@ release(bool, DISABLE_DEFERRED_ALLOC, false, \ "Disables deferred memory allocation on device") \ release(int, AMD_GPU_FORCE_SINGLE_FP_DENORM, -1, \ "Force denorm for single precision: -1 - don't force, 0 - disable, 1 - enable") \ -release(bool, GPU_FORCE_FP16, false, \ - "Force CL_KHR_FP16 extension") \ debug(bool, OCL_FORCE_CPU_SVM, false, \ "force svm support for CPU") \ release(uint, OCL_SET_SVM_SIZE, 4096, \