Revert "fix: Add missing fp64 extensions in caps initialization"

This reverts commit 9a486dd5a1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2024-07-08 05:46:41 +02:00
committed by Compute-Runtime-Automation
parent 720bf5fc7c
commit b1bc4f4cad
2 changed files with 1 additions and 46 deletions

View File

@@ -65,7 +65,6 @@ void ClDevice::setupFp64Flags() {
deviceInfo.doubleFpConfig = defaultFpFlags | CL_FP_SOFT_FLOAT;
deviceInfo.nativeVectorWidthDouble = 1;
deviceInfo.preferredVectorWidthDouble = 1;
deviceExtensions += "cl_khr_fp64 ";
}
} else {
deviceInfo.doubleFpConfig = 0;
@@ -431,13 +430,6 @@ void ClDevice::initializeCaps() {
initializeOsSpecificCaps();
getOpenclCFeaturesList(hwInfo, deviceInfo.openclCFeatures, getDevice().getCompilerProductHelper(), releaseHelper);
if (hwInfo.capabilityTable.ftrSupportsFP64Emulation &&
getDevice().getExecutionEnvironment()->isFP64EmulationEnabled()) {
cl_name_version openClCFeature;
openClCFeature.version = CL_MAKE_VERSION(3, 0, 0);
strcpy_s(openClCFeature.name, CL_NAME_VERSION_MAX_NAME_SIZE, "__opencl_c_fp64");
deviceInfo.openclCFeatures.push_back(openClCFeature);
}
}
void ClDevice::initializeExtensionsWithVersion() {